[LLVMbugs] [Bug 16838] Clang returns 0 even though ld asserts

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Aug 13 06:35:43 PDT 2013


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

Stephen Kelly <steveire at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #2 from Stephen Kelly <steveire at gmail.com> ---
stephen at hal:~/dev/src/playground/cmake/build{master}$
"/home/stephen/rpi/gcc-4.7-linaro-rpi-gnueabihf/lib/gcc/arm-linux-gnueabihf/4.7.2/../../../../arm-linux-gnueabihf/bin/ld"
--sysroot=/home/stephen/rpi/rasp-pi-rootfs -z relro -X --hash-style=gnu
--build-id --eh-frame-hdr -m armelf_linux_eabi -shared -dynamic-linker
/lib/ld-linux-armhf.so.3 -o libfoo.so
/home/stephen/rpi/rasp-pi-rootfs/usr/lib/arm-linux-gnueabihf/crti.o
/home/stephen/rpi/gcc-4.7-linaro-rpi-gnueabihf/lib/gcc/arm-linux-gnueabihf/4.7.2/crtbeginS.o
-L/home/stephen/rpi/gcc-4.7-linaro-rpi-gnueabihf/lib/gcc/arm-linux-gnueabihf/4.7.2
-L/home/stephen/rpi/gcc-4.7-linaro-rpi-gnueabihf/lib/gcc/arm-linux-gnueabihf/4.7.2/../../../../arm-linux-gnueabihf/lib/../lib32
-L/home/stephen/rpi/rasp-pi-rootfs/lib/arm-linux-gnueabihf
-L/home/stephen/rpi/rasp-pi-rootfs/usr/lib/arm-linux-gnueabihf
-L/home/stephen/rpi/gcc-4.7-linaro-rpi-gnueabihf/lib/gcc/arm-linux-gnueabihf/4.7.2/../../../../arm-linux-gnueabihf/lib
-L/home/stephen/rpi/rasp-pi-rootfs/lib
-L/home/stephen/rpi/rasp-pi-rootfs/usr/lib -soname libfoo.so
CMakeFiles/foo.dir/main.cpp.o -lstdc++ -lm -lgcc_s -lc -lgcc_s
/home/stephen/rpi/gcc-4.7-linaro-rpi-gnueabihf/lib/gcc/arm-linux-gnueabihf/4.7.2/crtendS.o
/home/stephen/rpi/rasp-pi-rootfs/usr/lib/arm-linux-gnueabihf/crtn.o
/home/stephen/rpi/gcc-4.7-linaro-rpi-gnueabihf/lib/gcc/arm-linux-gnueabihf/4.7.2/../../../../arm-linux-gnueabihf/bin/ld:
BFD (crosstool-NG linaro-1.13.1-2012.07-20120720 - Linaro GCC 2012.07) 2.22
assertion fail
/opt/dev/src/crosstool-ng/crosstool-ng-linaro-1.13.1-2012.07-20120720/builds/arm-linux-gnueabihf-linux/.build/src/binutils-2.22/bfd/elf32-arm.c:11477
stephen at hal:~/dev/src/playground/cmake/build{master}$ echo $?
0


I've reported https://bugs.launchpad.net/linaro/+bug/1211773

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130813/a24c0f44/attachment.html>


More information about the llvm-bugs mailing list