Hi Waldemar,

On Sat, 2014-09-06 at 12:19 +0200, Waldemar Brodkorb wrote:
> 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?

Unfortunately this is a known issue with ARC toolchain.
For now I may only propose to disable this test for ARC while toolchain
is not fixed.

BTW "tst-tls12" also causes the same problem.

Please let me know if you want me to send a patch that disables
mentioned tests for ARC.

I'll try to get a response from our binutils people and hopefully patch
that fixes a root cause in binutils will be available soon.

Regards,
Alexey
_______________________________________________
uClibc mailing list
uClibc@uclibc.org
http://lists.busybox.net/mailman/listinfo/uclibc

Reply via email to