[LLVMbugs] [Bug 4887] New: [2.6] test/Driver/hello.c fails

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Fri Sep 4 09:55:25 PDT 2009


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

           Summary: [2.6] test/Driver/hello.c fails
           Product: new-bugs
           Version: 2.6
          Platform: Other
        OS/Version: OpenBSD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: jsg at openbsd.org
                CC: llvmbugs at cs.uiuc.edu


"/usr/users/jsg/src/llvm-2.6/Release/bin/clang-cc" -triple
x86_64-unknown-openbsd4.6 -S -disable-free -main-file-name hello.c
--relocation-model static --di
sable-fp-elim --unwind-tables=1 --mcpu=x86-64 --fmath-errno=1
-fdiagnostics-show-option -o /tmp/cc-gRHCxp.s -x c
/usr/users/jsg/src/llvm-2.6/tools/clang/test
/Driver/hello.c
 "/usr/bin/as" -o /tmp/cc-ODqStn.o /tmp/cc-gRHCxp.s
 "/usr/bin/ld" -e __start --eh-frame-hdr -Bdynamic -dynamic-linker
/usr/libexec/ld.so -o
/usr/users/jsg/src/llvm-2.6/tools/clang/test/Output/Driver/hello.c.t
mp /usr/lib/crt0.o /usr/lib/crtbegin.o
-L/usr/lib/gcc-lib/x86_64-unknown-openbsd4.6/3.3.5 /tmp/cc-ODqStn.o -lgcc -lc
-lgcc /usr/lib/crtend.o
/usr/bin/ld: cannot find -lgcc
clang: error: linker command failed with exit code 1 (use -v to see invocation)

The path
/usr/lib/gcc-lib/x86_64-unknown-openbsd4.6/3.3.5 is wrong and does not exist
/usr/lib/gcc-lib/amd64-unknown-openbsd4.6/3.3.5 exists and should be used


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