EmbLogic's Blog

error: “TLS support is required” regarding tool chain

while compiling glibc- 2.12.1 i faced following error…

from <stdin>:1:
/root/chain/build/glibc/glibc-ports-2.12.1/sysdeps/arm/nptl/tls.h:48:3: error: #error “TLS support is required.”
/usr/bin/install -c -m 644 elf.h /opt/arm/sysroot/usr/include/elf.h
/usr/bin/install -c -m 644 ../bits/elfclass.h /opt/arm/sysroot/usr/include/bits/elfclass.h
/usr/bin/install -c -m 644 link.h /opt/arm/sysroot/usr/include/link.h
/usr/bin/install -c -m 644 /root/chain/build/glibc/glibc-ports-2.12.1/sysdeps/arm/bits/link.h /opt/arm/sysroot/usr/include/bits/link.h
make[2]: Leaving directory `/root/chain/source/glibc-2.12.1/elf’
make[1]: Target `install-headers’ not remade because of errors.
make[1]: Leaving directory `/root/chain/source/glibc-2.12.1′
make: *** [install-headers] Error 2

thnx

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>