This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

eglibc issue with TLS


When I try to compile crosstool-ng with eglibc and nptl I get the following error message:

[ALL ] In file included from ../include/tls.h:6,
[ALL ] from ../include/link.h:45,
[ALL ] from ../include/dlfcn.h:3,
[ALL ] from ../sysdeps/generic/ldsodefs.h:32,
[ALL ] from ../eglibc-ports-2_10/sysdeps/arm/ldsodefs.h:39,
[ALL ] from ../sysdeps/unix/sysv/linux/ldsodefs.h:25,
[ALL ] from <stdin>:2:
[ERROR] ../eglibc-ports-2_10/sysdeps/arm/nptl/tls.h:48:3: error: #error "TLS support is required."
[ALL ] In file included from ../include/tls.h:6,
[ALL ] from ../eglibc-ports-2_10/sysdeps/unix/sysv/linux/arm/sysdep.h:31,
[ALL ] from ../eglibc-ports-2_10/sysdeps/unix/sysv/linux/arm/eabi/sysdep.h:26,
[ALL ] from <stdin>:1:
[ERROR] ../eglibc-ports-2_10/sysdeps/arm/nptl/tls.h:48:3: error: #error "TLS support is required."
[ALL ] In file included from ../eglibc-ports-2_10/sysdeps/arm/nptl/tls.h:57,
[ALL ] from ../include/tls.h:6,
[ALL ] from ../include/link.h:45,
[ALL ] from ../include/dlfcn.h:3,
[ALL ] from ../sysdeps/generic/ldsodefs.h:32,
[ALL ] from ../eglibc-ports-2_10/sysdeps/arm/ldsodefs.h:39,
[ALL ] from ../sysdeps/unix/sysv/linux/ldsodefs.h:25,
[ALL ] from <stdin>:2:
[ERROR] ../eglibc-ports-2_10/sysdeps/unix/sysv/linux/arm/eabi/sysdep.h:31:3: error: #error Kernel headers are too old
[ALL ] In file included from <stdin>:1:
[ERROR] ../eglibc-ports-2_10/sysdeps/unix/sysv/linux/arm/eabi/sysdep.h:31:3: error: #error Kernel headers are too old
[ERROR] make[3]: *** [/unpackaged/crosstool-ng-1.6.1/targets/arm-unknown-linux-gnueabi/build/build-libc-startfiles/rtld-global-offsets.h] Error 1
[ALL ] make[3]: *** Waiting for unfinished jobs....
[ERROR] make[3]: *** [/unpackaged/crosstool-ng-1.6.1/targets/arm-unknown-linux-gnueabi/build/build-libc-startfiles/tcb-offsets.h] Error 1
[ALL ] make[3]: Leaving directory `/unpackaged/crosstool-ng-1.6.1/targets/src/eglibc-2_10/csu'
[ERROR] make[2]: *** [csu/subdir_lib] Error 2
[ALL ] make[2]: Leaving directory `/unpackaged/crosstool-ng-1.6.1/targets/src/eglibc-2_10'
[ERROR] make[1]: *** [csu/subdir_lib] Error 2
[ALL ] make[1]: Leaving directory `/unpackaged/crosstool-ng-1.6.1/targets/arm-unknown-linux-gnueabi/build/build-libc-startfiles'
[ERROR] Build failed in step 'Installing C library headers / start files'
[ERROR] Error happened in '/unpackaged/crosstool-ng-1.6.1/scripts/functions' in function 'CT_DoExecLog' (line unknown, sorry)
[ERROR] called from '/unpackaged/crosstool-ng-1.6.1/scripts/build/libc/eglibc.sh' at line # 233 in function 'do_libc_start_files'
[ERROR] called from '/unpackaged/crosstool-ng-1.6.1/scripts/crosstool-NG.sh' at line # 562 in function 'main'
[ERROR] Look at '/unpackaged/x-tools/arm-unknown-linux-gnueabi/build.log' for more info on this error.
[ERROR] (elapsed: 17:39.26)
make: *** [build] Error 2



-- For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]