[LLVMdev] gfortran link failure in current llvm svn

Jack Howarth howarth at bromo.msbb.uc.edu
Thu Oct 30 20:12:11 PDT 2008


On Thu, Oct 30, 2008 at 05:38:30PM -0700, Bill Wendling wrote:
> 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

   Actually this does qualify as a regression fix since the gfortran built on darwin
in llvm 2.3 (unless llvm.org is going to claim that no other compilers than c, c++
and objc matter).
          Jack




More information about the llvm-dev mailing list