[LLVMdev] gfortran link failure in current llvm svn
Bill Wendling
isanbard at gmail.com
Thu Oct 30 17:38:30 PDT 2008
On Thu, Oct 30, 2008 at 5:23 PM, Jack Howarth <howarth at bromo.msbb.uc.edu> wrote:
> Chris and Bill,
> I have tested the proposed patch from...
>
> http://lists.cs.uiuc.edu/pipermail/llvmdev/2008-August/016490.html
>
> under i686-apple-darwin9 and it solves the problems building gfortran
> from llvm svn. The resulting compiler works fine so can we get that
> patch in before 2.4 is release?
I applied it to mainline.
> ps We do have one oddity left in llvm-gfortran from current llvm
> svn. I find everytime I compile something with llvm-gfortran that
> I get a series of warning messages...
>
> 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
> f951: warning: command line option "-Wno-format-extra-args" is valid for C/C++/ObjC/ObjC++ but not for Fortran
> f951: warning: command line option "-Wno-format-zero-length" is valid for C/C++/ObjC/ObjC++ but not for Fortran
> f951: warning: command line option "-Wno-nonnull" is valid for C/C++/ObjC/ObjC++ but not for Fortran
>
> Is this something we can suppress easily for the 2.4 release?
>
Ick! Those are enabled in the config/i386/darwin.h file. I don't know
how to turn them off for Fortran et al. Anyone else know?
-bw
More information about the llvm-dev
mailing list