Affecting me with 2.9-11 (32 bit), too:

clang version 2.9 (tags/RELEASE_29/final)
Target: i386-pc-linux-gnu
Thread model: posix
 "/usr/bin/ld" --eh-frame-hdr -m elf_i386 -dynamic-linker /lib/ld-linux.so.2 -o 
test crt1.o crti.o /usr/lib/gcc/i686-linux-gnu/4.6.1/crtbegin.o 
-L/usr/lib/i386-linux-gnu -L/usr/lib/gcc/i686-linux-gnu/4.6.1 
-L/usr/lib/gcc/i686-linux-gnu/4.6.1/../../.. -L/usr/lib/i386-linux-gnu/ test.o 
-Bsymbolic-functions -lwx_gtk2u_richtext-2.8 -lwx_gtk2u_aui-2.8 
-lwx_gtk2u_xrc-2.8 -lwx_gtk2u_qa-2.8 -lwx_gtk2u_html-2.8 -lwx_gtk2u_adv-2.8 
-lwx_gtk2u_core-2.8 -lwx_baseu_xml-2.8 -lwx_baseu_net-2.8 -lwx_baseu-2.8 
-lasound -lgcc --as-needed -lgcc_s --no-as-needed -lpthread -lc -lgcc 
--as-needed -lgcc_s --no-as-needed /usr/lib/gcc/i686-linux-gnu/4.6.1/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
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [test] Error 1

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/792146

Title:
  clang can’t link any programs: cannot find crtbegin.o, -lgcc, -lgcc_s

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/clang/+bug/792146/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to