[LLVMbugs] [Bug 667] NEW: gccld complains (and halts) when it encounters multiple specifications of "-Wl, -native"

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Thu Nov 17 08:02:05 PST 2005


http://llvm.cs.uiuc.edu/bugs/show_bug.cgi?id=667

           Summary: gccld complains (and halts) when it encounters multiple
                    specifications of "-Wl,-native"
           Product: tools
           Version: 1.6
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: P2
         Component: gccld
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: kremenek at cs.stanford.edu


Compilation of the latest version of ImageMagick using LLVM yields the following
error message at link time:

/bin/sh ./libtool --silent --tag=CC --mode=link llvm-gcc  -g -O2 -Wall -pthread
 -Wl,-native -L/usr/X11R6/lib -lfreetype -lz -o utilities/animate -Wl,-native
-L/usr/X11R6/lib -lfreetype -lz utilities/animate.o magick/libMagick.la 
gccld: for the -native option: : may only occur zero or one times!
make: *** [utilities/animate] Error 1


./configure was run as follows:

CC=llvm-gcc CXX=llvm-g++ LDFLAGS="-Wl,-native" ./configure 

It does not seem to be a "feature" for gccld to stop executing when
"-Wl,-native" is encountered multiple times.  Unless this truly is the desired
behavior, I feel it should just print out a warning and continue (since it has
plenty of reason to believe that "-Wl,-native" is the desired option).



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




More information about the llvm-bugs mailing list