[LLVMbugs] [Bug 446] NEW: gccld -native fails to create fpcmp, tblgen executables

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Tue Sep 28 14:00:52 PDT 2004


           Summary: gccld -native fails to create fpcmp, tblgen executables
           Product: tools
           Version: trunk
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gccld
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: brukman+bugs at uiuc.edu

When configuring LLVM with

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

the build is broken because fpcmp and tblgen are not linked.
The error at the end of attempting to link fpcmp, for example:

ld: cannot find -lsupport
collect2: ld returned 1 exit status

This means that gccld is passing off support library to the native linker
without specifying its path (-L if it's a dynamic lib) or not linking bytecode
support library itself, and not passing -lsupport to the native linker.

------- 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