[LLVMbugs] [Bug 11816] New: 32-bit Linux Fedora Core 16 c99 mode: cannot find crt1.o crti.o -lgcc

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Jan 20 15:51:44 PST 2012


http://llvm.org/bugs/show_bug.cgi?id=11816

             Bug #: 11816
           Summary: 32-bit Linux Fedora Core 16 c99 mode: cannot find
                    crt1.o crti.o -lgcc
           Product: clang
           Version: 2.9
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Driver
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: tydeman at tybor.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


In compiling a C99 program with clang 2.9-4 on 32-bit Intel Core2 Duo Linux
(Fedora Core 16), I get problems with the linker:

clang version 2.9 (tags/RELEASE_29/final)
Target: i386-redhat-linux-gnu
Thread model: posix
 "/usr/bin/ld" --eh-frame-hdr -m elf_i386 -dynamic-linker /lib/ld-linux.so.2 -o
a.out crt1.o crti.o crtbegin.o -L -L/../../.. tflt2int.o
/lindata/fpcets/clang/294/c/support.a -lm -lgcc --as-needed -lgcc_s
--no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed crtend.o crtn.o
/usr/bin/ld: cannot find crt1.o: No such file or directory
/usr/bin/ld: cannot find crti.o: No such file or directory
/usr/bin/ld: cannot find crtbegin.o: No such file or directory
/usr/bin/ld: cannot find -lgcc
/usr/bin/ld: cannot find -lgcc_s
clang: error: linker command failed with exit code 1 (use -v to see invocation)

I have no such problem with Fedora Core 15 (but it has clang 2.8-14)

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list