[okl4-developer] Building the toolchain, problem with TLS support and kernel heade rs

Xavier.LANGELLIER at fr.thalesgroup.com Xavier.LANGELLIER at fr.thalesgroup.com
Tue Mar 10 20:22:09 EST 2009


Hi,

I'am trying to build the toolchain needed to complete the Hello World tutorial and I am having troubles with glibc.
It complains about TLS support required and kernel headers too old.
Have you any idea about these problems?

compilation trace:
          { sysdirs='glibc-ports-2.7/sysdeps/arm/elf glibc-ports-2.7/sysdeps/unix/sysv/linux/arm/eabi/nptl glibc-ports-2.7/sysdeps/unix/sysv/linux/arm/eabi g
libc-ports-2.7/sysdeps/unix/sysv/linux/arm/nptl glibc-ports-2.7/sysdeps/unix/sysv/linux/arm nptl/sysdeps/unix/sysv/linux nptl/sysdeps/pthread sysdeps/pthread
 glibc-ports-2.7/sysdeps/unix/sysv/linux sysdeps/unix/sysv/linux sysdeps/gnu sysdeps/unix/common sysdeps/unix/mman sysdeps/unix/inet nptl/sysdeps/unix/sysv g
libc-ports-2.7/sysdeps/unix/sysv sysdeps/unix/sysv glibc-ports-2.7/sysdeps/unix/arm nptl/sysdeps/unix glibc-ports-2.7/sysdeps/unix sysdeps/unix sysdeps/posix
 glibc-ports-2.7/sysdeps/arm/eabi glibc-ports-2.7/sysdeps/arm/fpu glibc-ports-2.7/sysdeps/arm/nptl glibc-ports-2.7/sysdeps/arm sysdeps/wordsize-32 sysdeps/ie
ee754/flt-32 sysdeps/ieee754/dbl-64 sysdeps/ieee754 sysdeps/generic/elf sysdeps/generic' \
            asm_CPP='gcc -c  -Iinclude  -I/home/xavier/OKL4/crosstool-0.43/build/arm-unknown-linux-gnueabi/gcc-4.2.4-glibc-2.7/build-glibc-headers -Iglibc-po
rts-2.7/sysdeps/arm/elf -Iglibc-ports-2.7/sysdeps/unix/sysv/linux/arm/eabi/nptl -Iglibc-ports-2.7/sysdeps/unix/sysv/linux/arm/eabi -Iglibc-ports-2.7/sysdeps/
unix/sysv/linux/arm/nptl -Iglibc-ports-2.7/sysdeps/unix/sysv/linux/arm -Inptl/sysdeps/unix/sysv/linux -Inptl/sysdeps/pthread -Isysdeps/pthread -Iglibc-ports-
2.7/sysdeps/unix/sysv/linux -Isysdeps/unix/sysv/linux -Isysdeps/gnu -Isysdeps/unix/common -Isysdeps/unix/mman -Isysdeps/unix/inet -Inptl/sysdeps/unix/sysv -I
glibc-ports-2.7/sysdeps/unix/sysv -Isysdeps/unix/sysv -Iglibc-ports-2.7/sysdeps/unix/arm -Inptl/sysdeps/unix -Iglibc-ports-2.7/sysdeps/unix -Isysdeps/unix -I
sysdeps/posix -Iglibc-ports-2.7/sysdeps/arm/eabi -Iglibc-ports-2.7/sysdeps/arm/fpu -Iglibc-ports-2.7/sysdeps/arm/nptl -Iglibc-ports-2.7/sysdeps/arm -Isysdeps
/wordsize-32 -Isysdeps/ieee754/flt-32 -Isysdeps/ieee754/dbl-64 -Isysdeps/ieee754 -Isysdeps/generic/elf -Isysdeps/generic -Inptl -Iglibc-ports-2.7   -Ilibio -I. -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.2.4/include -isystem /home/xavier/OKL4/result_top/gcc-4.2.4-glibc-2.7/arm-unknown-linux-gnueabi/arm-unknown-linux-gnueabi/include -D_LIBC_REENTRANT -include include/libc-symbols.h       -DASSEMBLER   -Wa,--noexecstack  -E -x assembler-with-cpp' \
            /bin/sh sysdeps/unix/make-syscalls.sh $dir || exit 1; }; \
          test $dir = sysdeps/unix && break; \
        done > /home/xavier/OKL4/crosstool-0.43/build/arm-unknown-linux-gnueabi/gcc-4.2.4-glibc-2.7/build-glibc-headers/sysd-syscallsT
Dans le fichier inclus à partir de include/tls.h:6,
          à partir de glibc-ports-2.7/sysdeps/unix/sysv/linux/arm/eabi/sysdep.h:28,
          à partir de <stdin>:1:
glibc-ports-2.7/sysdeps/arm/nptl/tls.h:48:3: erreur: #error "TLS support is required."
Dans le fichier inclus à partir de <stdin>:1:
glibc-ports-2.7/sysdeps/unix/sysv/linux/arm/eabi/sysdep.h:31:3: erreur: #error Kernel headers are too old
Dans le fichier inclus à partir de include/tls.h:6,
          à partir de glibc-ports-2.7/sysdeps/unix/sysv/linux/arm/eabi/sysdep.h:28,
          à partir de <stdin>:1:
glibc-ports-2.7/sysdeps/arm/nptl/tls.h:48:3: erreur: #error "TLS support is required."
Dans le fichier inclus à partir de <stdin>:1:
glibc-ports-2.7/sysdeps/unix/sysv/linux/arm/eabi/sysdep.h:31:3: erreur: #error Kernel headers are too old
Dans le fichier inclus à partir de include/tls.h:6,
          à partir de glibc-ports-2.7/sysdeps/unix/sysv/linux/arm/eabi/sysdep.h:28,
          à partir de <stdin>:1:
glibc-ports-2.7/sysdeps/arm/nptl/tls.h:48:3: erreur: #error "TLS support is required."

Thanks

Xavier Langellier



More information about the Developer mailing list