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] |
On Wed, Mar 31, 2010 at 6:57 PM, Yann E. MORIN <yann.morin.1998@anciens.enib.fr> wrote: > > Sasha, All, > > On Wednesday 31 March 2010 172806 Sasha Sirotkin wrote: > > 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 > ? ? ? ? ? ? ? ?^^^^^^^^^^^^^^^^^^^^^^^^^^ > I think this is quite relevant... > > For NPTL on ARM, EABI is required, and EABI requires is 2.6.16. EABI is enabled and I'm working with kernel 2.6.32.7... so I'm a bit puzzled about kernel headers being too old message. > > What's your .config? Do you use specific kernel headers? I did not change the kernel settings, so my .config is whatever the script uses. > > Also, i would suggest that you start off an existing sample that are bundled > with crosstool-NG, and are known to (at least!) build properly: Is there a sample for eglibc ? > ?# ct-ng list-samples > ?[--SNIP--] > ?arm-unknown-linux-gnueabi > ?arm-unknown-linux-uclibcgnueabi > ?[--SNIP--] > ?# ct-ng arm-unknown-linux-gnueabi > ?# ct-ng menuconfig ? (review the configuration and paths) > ?# ct-ng build > > Regards, > Yann E. MORIN. > > -- > .-----------------.--------------------.------------------.--------------------. > | ?Yann E. MORIN ?| Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | > | +0/33 662376056 | Software ?Designer | \ / CAMPAIGN ? ? | ? ^ ? ? ? ? ? ? ? ?| > | --==< O_o >==-- '------------.-------: ?X ?AGAINST ? ? ?| ?/e\ ?There is no ?| > | http://ymorin.is-a-geek.org/ | (*_*) | / \ HTML MAIL ? ?| ?""" ?conspiracy. ?| > '------------------------------'-------'------------------'--------------------' -- 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] |