>> I'm trying to build llvm-gcc-4.2 on Ubuntu 11.04 (the Natty Narwhal). > > I can build it here on x86-64 natty without any problems.Do you have any /lib64/libc.so* or /usr/lib64/libc.so* ? Are you still setting LIBRARY_PATH or LD_LIBRARY_PATH, as mentioned in: https://bugs.launchpad.net/ubuntu/+source/binutils/+bug/738098 ? Thanks, Jay.
Duncan Sands
2011-May-09 14:49 UTC
[LLVMdev] building llvm-gcc on Ubuntu 11.04 Natty Narwhal
Hi Jay,>>> I'm trying to build llvm-gcc-4.2 on Ubuntu 11.04 (the Natty Narwhal). >> >> I can build it here on x86-64 natty without any problems. > > Do you have any /lib64/libc.so* or /usr/lib64/libc.so* ?no.> Are you still setting LIBRARY_PATH or LD_LIBRARY_PATH, as mentioned in: > > https://bugs.launchpad.net/ubuntu/+source/binutils/+bug/738098Indeed I'd forgotten about this: I have LIBRARY_PATH set to /usr/lib/x86_64-linux-gnu/ If I unset LIBRARY_PATH then llvm-gcc-4.2 still builds. Ciao, Duncan.> > ? > > Thanks, > Jay.
Duncan, Can you try another experiment please? I get: $ ls -l `which ld` lrwxrwxrwx 1 root root 7 2011-05-06 19:26 /usr/bin/ld -> ld.gold $ ld.gold -lc ld.gold: error: cannot find -lc $ ld.bfd -lc ld.bfd: warning: cannot find entry symbol _start; not setting start address What do you get? Thanks! Jay.
Seemingly Similar Threads
- [LLVMdev] building llvm-gcc on Ubuntu 11.04 Natty Narwhal
- [LLVMdev] building llvm-gcc on Ubuntu 11.04 Natty Narwhal
- [LLVMdev] building llvm-gcc on Ubuntu 11.04 Natty Narwhal
- [LLVMdev] building llvm-gcc on Ubuntu 11.04 Natty Narwhal
- [LLVMdev] building llvm-gcc on Ubuntu 11.04 Natty Narwhal