ARC testsuite compile problem

Waldemar Brodkorb wbx at openadk.org
Sat Sep 6 10:19:32 UTC 2014


Hi uClibc hackers,

I try to compile the test suite for ARC with NPTL/TLS enabled.
I get following error:
/home/vmadmin/embedded-test/openadk/toolchain_toolchain-arc_uclibc_arc/usr/bin/arc-openadk-linux-uclibc-gcc
-Wl,-EL -funsigned-char -fno-builtin -fno-asm -msoft-float
-std=gnu99 -mlock -mswape -mA7 -marclinux -Wl,-z,now -Wl,-s
-Wl,-rpath,/home/vmadmin/embedded-test/openadk/toolchain_build_toolchain-arc_uclibc_arc/w-uClibc-0.9.34-git-1/uClibc-0.9.34-git/test/tls
-Wl,--dynamic-linker,/lib//ld-uClibc.so.0 tst-tls-at-ctor.o -o
tst-tls-at-ctor  tst-tlsmod-at-ctor.so
collect2: error: ld terminated with signal 11 [Segmentation fault]

dmesg shows:
[9295686.305104] ld[20207]: segfault at 68 ip 000000000045e676 sp
00007ffff173aa30 error 4 in
arc-openadk-linux-uclibc-ld.bfd[400000+111000]

Any idea what is going wrong here?

Use config is here:
http://www.openadk.org/cgi-bin/gitweb.cgi?p=openadk.git;a=blob;f=target/arc/uclibc.config;h=8f9dddb4dfea9672f62b963f5121e2e1b07c27e1;hb=refs/heads/master

(LITTLE_ENDIAN is activated via sed...)

gcc is from here:
https://github.com/foss-for-synopsys-dwc-arc-processors/gcc/tree/arc-4.8-tls
e9dbcfdba0f42639b3aa9e3b06fe781599eb98fe
binutils from here:
https://github.com/foss-for-synopsys-dwc-arc-processors/binutils-gdb/tree/arc-2.23-tls
afcd0783a37c73e09439737a11e0b3183746a652

Any ideas?

best regards
 Waldemar



More information about the uClibc mailing list