[Bug 893359] clang fails to compile helloworld on ARM
http://bugzilla.opensuse.org/show_bug.cgi?id=893359 --- Comment #8 from Josua Mayer <josua.m@t-online.de> --- Interesting: The bug has been resolved for suse 13.1, but jumped on top of me with 13.2 again: clang version 3.5.0 (tags/RELEASE_350/final 216961) Target: armv7l-unknown-linux-gnueabihf Thread model: posix Found candidate GCC installation: /usr/bin/../lib/gcc/armv7hl-suse-linux-gnueabi/4.8 Found candidate GCC installation: /usr/lib/gcc/armv7hl-suse-linux-gnueabi/4.8 "/usr/bin/clang-3.5" -cc1 -triple armv7-unknown-linux-gnueabihf -emit-obj -mrelax-all -disable-free -disable-llvm-verifier -main-file-name helloworld.c -mrelocation-model static -mdisable-fp-elim -fmath-errno -masm-verbose -mconstructor-aliases -target-cpu cortex-a8 -target-abi aapcs-linux -mfloat-abi hard -v -dwarf-column-info -resource-dir /usr/bin/../lib/clang/3.5.0 -internal-isystem /usr/local/include -internal- isystem /usr/bin/../lib/clang/3.5.0/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -fdebug-compilation-dir /root -ferror-limit 19 -fmessage-length 80 -mstackrealign -fno-signe d-char -fobjc-runtime=gcc -fdiagnostics-show-option -o /tmp/helloworld-7e464a.o -x c helloworld.c clang -cc1 version 3.5.0 based upon LLVM 3.5.0svn default target armv7l-unknown-linux-gnueabihf ignoring nonexistent directory "/include" #include "..." search starts here: #include <...> search starts here: /usr/local/include /usr/bin/../lib/clang/3.5.0/include /usr/include End of search list. "/usr/bin/ld" -z relro -X --hash-style=gnu --hash-style=both --build-id --enable-new-dtags --eh-frame-hdr -m armelf_linux_eabi -dynamic-linker /lib/ld-linux-armhf.so.3 -o helloworld /usr/bin/../lib/crt1.o /usr /bin/../lib/crti.o crtbegin.o -L/usr/bin/../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/bin/../lib -L/lib -L/usr/lib /tmp/helloworld-7e464a.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_ s --no-as-needed crtend.o /usr/bin/../lib/crtn.o /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-3.5: error: linker command failed with exit code 1 (use -v to see invocation) -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com