[prev in list] [next in list] [prev in thread] [next in thread] 

List:       llvm-bugs
Subject:    [LLVMbugs] [Bug 667] NEW: gccld complains (and halts) when it
From:       bugzilla-daemon () cs ! uiuc ! edu
Date:       2005-11-17 16:02:05
Message-ID: 200511171602.KAA26857 () zion ! cs ! uiuc ! edu
[Download RAW message or body]

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@nondot.org
        ReportedBy: kremenek@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.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic