Jack Howarth
2009-Jan-19 01:11 UTC
[LLVMdev] llvm/llvm-gcc-4.2 svn still produces -Wformat/-Wformat-security
The current llvm/llvm-gcc-4.2 svn when built on i686-apple-darwin9 still produces the bogus warnings... f951: warning: command line option "-Wformat" is valid for C/C++/ObjC/ObjC++ but not for Fortran f951: warning: command line option "-Wformat-security" is valid for C/C++/ObjC/ObjC++ but not for Fortran whenc compling any code with gfortran. This causes the gfortran testsuite in gcc-4.2 to fail any test for compilation errors. Can we get this fixed before the llvm 2.5 release? Jack
Bill Wendling
2009-Jan-19 02:07 UTC
[LLVMdev] llvm/llvm-gcc-4.2 svn still produces -Wformat/-Wformat-security
On Jan 18, 2009, at 5:11 PM, Jack Howarth wrote:> The current llvm/llvm-gcc-4.2 svn when built on > i686-apple-darwin9 still produces the bogus warnings... > > f951: warning: command line option "-Wformat" is valid for C/C++/ > ObjC/ObjC++ but not for Fortran > f951: warning: command line option "-Wformat-security" is valid for > C/C++/ObjC/ObjC++ but not for Fortran > > whenc compling any code with gfortran. This causes the gfortran > testsuite > in gcc-4.2 to fail any test for compilation errors. Can we get this > fixed > before the llvm 2.5 release?Hi Jack, Could you craft a patch for this? Not many of us compile gfortran on our boxes. -bw
Anton Korobeynikov
2009-Jan-19 06:42 UTC
[LLVMdev] llvm/llvm-gcc-4.2 svn still produces -Wformat/-Wformat-security
Hello, Bill> Could you craft a patch for this? Not many of us compile gfortran on > our boxes.The intention is to have fortran frontend built by default for LLVM 2.5+ (on darwin). And this apple-local problem seems to be the only show-stopper. -- With best regards, Anton Korobeynikov Faculty of Mathematics and Mechanics, Saint Petersburg State University
Duncan Sands
2009-Jan-19 08:32 UTC
[LLVMdev] llvm/llvm-gcc-4.2 svn still produces -Wformat/-Wformat-security
> Could you craft a patch for this? Not many of us compile gfortran on > our boxes.It's very easy to build (just add fortran to the list of languages), so... why not? This would help catch changes that break non-C languages (these seem to happen at every sync with Apple...). Ciao, Duncan.
Bill Wendling
2009-Jan-19 19:18 UTC
[LLVMdev] llvm/llvm-gcc-4.2 svn still produces -Wformat/-Wformat-security
Hi Jack, Because of the new changes and the fact that we have only 2 days before branching for 2.5, please retest the Fortran front end as soon as you can to see if the problem has been resolved. Thanks! -bw On Sun, Jan 18, 2009 at 5:11 PM, Jack Howarth <howarth at bromo.med.uc.edu> wrote:> The current llvm/llvm-gcc-4.2 svn when built on > i686-apple-darwin9 still produces the bogus warnings... > > f951: warning: command line option "-Wformat" is valid for C/C++/ObjC/ObjC++ but not for Fortran > f951: warning: command line option "-Wformat-security" is valid for C/C++/ObjC/ObjC++ but not for Fortran > > whenc compling any code with gfortran. This causes the gfortran testsuite > in gcc-4.2 to fail any test for compilation errors. Can we get this fixed > before the llvm 2.5 release? > Jack > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >
Nick Lewycky
2009-Jan-19 20:15 UTC
[LLVMdev] llvm/llvm-gcc-4.2 svn still produces -Wformat/-Wformat-security
Bill Wendling wrote:> Hi Jack, > > Because of the new changes and the fact that we have only 2 days > before branching for 2.5, please retest the Fortran front end as soon > as you can to see if the problem has been resolved.Hi Bill. Thanks for working on this! Unfortunately, I'm getting this warning now: $ llvm-g++ helloworld.c cc1plus: warning: -Wformat-security ignored without -Wformat I think you can fix it by applying the same #define trick to -Wformat-security that you did to -Wformat. Nick> Thanks! > -bw > > On Sun, Jan 18, 2009 at 5:11 PM, Jack Howarth <howarth at bromo.med.uc.edu> wrote: >> The current llvm/llvm-gcc-4.2 svn when built on >> i686-apple-darwin9 still produces the bogus warnings... >> >> f951: warning: command line option "-Wformat" is valid for C/C++/ObjC/ObjC++ but not for Fortran >> f951: warning: command line option "-Wformat-security" is valid for C/C++/ObjC/ObjC++ but not for Fortran >> >> whenc compling any code with gfortran. This causes the gfortran testsuite >> in gcc-4.2 to fail any test for compilation errors. Can we get this fixed >> before the llvm 2.5 release? >> Jack >> >> _______________________________________________ >> LLVM Developers mailing list >> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu >> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >> > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >
Maybe Matching Threads
- [LLVMdev] llvm/llvm-gcc-4.2 svn still produces -Wformat/-Wformat-security
- [LLVMdev] gfortran link failure in current llvm svn
- [LLVMdev] gfortran link failure in current llvm svn
- [LLVMdev] gfortran link failure in current llvm svn
- [LLVMdev] gfortran link failure in current llvm svn