public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
* eglibc issue with TLS
@ 2010-03-31 15:28 Sasha Sirotkin
  2010-03-31 16:08 ` Yann E. MORIN
  2010-03-31 21:54 ` Yann E. MORIN
  0 siblings, 2 replies; 5+ messages in thread
From: Sasha Sirotkin @ 2010-03-31 15:28 UTC (permalink / raw)
  To: crossgcc

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-04-01  7:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-31 15:28 eglibc issue with TLS Sasha Sirotkin
2010-03-31 16:08 ` Yann E. MORIN
2010-03-31 18:01   ` Alexander (Sasha) Sirotkin
2010-03-31 21:54 ` Yann E. MORIN
2010-04-01  7:48   ` Sasha Sirotkin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).