error: #error "TLS support is required." while building glibc-initial-2.4 on x86_64 #error


Christopher Lang <christopher.lang@...>
 

I tried to start a fully renewed oe build system today with bitbake 1.6 and up
to date oe checkout. I am using minimal distro/machine files.
While building bootstrap-image/glibc-initial-2.4 on an x86_64 (AMD X2) machine
for TARGET_ARCH = "i586" I get the following error:

|
/home/chris/tmp/OpenEmbedded/build/tmp/work/glibc-initial-2.4-r10/build-i586-oe-linux/Versions.v.iT
| In file included from include/tls.h:6,
| from <stdin>:1:
| nptl/sysdeps/i386/tls.h:65:3: error: #error "TLS support is required."
| make[1]: ***
[/home/chris/tmp/OpenEmbedded/build/tmp/work/glibc-initial-2.4-r10/build-i586-oe-linux/Versions.v.i]
Fehler 1
| make[1]: Leaving directory
`/home/chris/tmp/OpenEmbedded/build/tmp/work/glibc-initial-2.4-r10/glibc-2.4'
| make: *** [sysdeps/gnu/errlist.c] Fehler 2
NOTE: Task
failed: /home/chris/tmp/OpenEmbedded/build/tmp/work/glibc-initial-2.4-r10/temp/log.do_configure.5203
NOTE: package glibc-initial-2.4-r10: task do_configure: failed
ERROR: TaskFailed event exception, aborting
NOTE: package glibc-initial-2.4: failed
ERROR: Build of bootstrap-image failed


I think it is related to the configure script which cannot test TLS support on
the x86_64 host properly:

| checking for i386 TLS support... no


The full error output is on

http://pastebin.ca/162754


any hint on how to resolve that problem is appreciated.

many thanks

Chris


OE Build Configuration:
BB_VERSION = "1.6.0"
OE_REVISION = "6be0c561dac329e3cd7624dfd7f1133f9af8ae63"
TARGET_ARCH = "i586"
TARGET_OS = "linux"
MACHINE = "i586-OE-MACHINE"
DISTRO = "i586-OE-DISTRO"
DISTRO_VERSION = "1.0"
TARGET_FPU = ""


Jamie Lenehan
 

On Wed, Sep 06, 2006 at 11:24:32PM +0200, Christopher Lang wrote:

I tried to start a fully renewed oe build system today with bitbake 1.6 and up
to date oe checkout. I am using minimal distro/machine files.
While building bootstrap-image/glibc-initial-2.4 on an x86_64 (AMD X2) machine
for TARGET_ARCH = "i586" I get the following error:
You need to use make 3.81 to build glibc 2.4 for x86 targets on x86_64.

I've added make 3.81 to OE (by copying all the 3.80 releated make
files to 3.81 versions - no changes necessary) and then do a "bitbake
make-native" prior to building rather than update the host version of
make.

--
Jamie Lenehan <lenehan@...>


Koen Kooi <koen@...>
 

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jamie Lenehan schreef:
On Wed, Sep 06, 2006 at 11:24:32PM +0200, Christopher Lang wrote:
I tried to start a fully renewed oe build system today with bitbake 1.6 and up
to date oe checkout. I am using minimal distro/machine files.
While building bootstrap-image/glibc-initial-2.4 on an x86_64 (AMD X2) machine
for TARGET_ARCH = "i586" I get the following error:
You need to use make 3.81 to build glibc 2.4 for x86 targets on x86_64.

I've added make 3.81 to OE (by copying all the 3.80 releated make
files to 3.81 versions - no changes necessary) and then do a "bitbake
make-native" prior to building rather than update the host version of
make.
Are there any nasty side-effects of update to 3.81? If not, could you commit it?

regards,

Koen

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFFAn+UMkyGM64RGpERAhY9AJwJwaK3y+6e7uS3zoAZLv54lFNRvgCgslGZ
pOtvGXFNV/JOxnAwFHQwKyI=
=QrH5
-----END PGP SIGNATURE-----


Jamie Lenehan
 

On Sat, Sep 09, 2006 at 10:47:16AM +0200, Koen Kooi wrote:
[...]
I've added make 3.81 to OE (by copying all the 3.80 releated make
files to 3.81 versions - no changes necessary) and then do a "bitbake
make-native" prior to building rather than update the host version of
make.
Are there any nasty side-effects of update to 3.81? If not, could you commit it?
Not that I've seen. I've been doing builds for i486 (WRAP boards) and
i586 (EPIA) with make 3.81 without any problems, although I don't
build any UI stuff. I believe some newer distros are also shipping
make 3.81 as the default.

In this case make-native isn't actually built unless you explicitly
ask for it and make would be used on the target not by OE.

So I don't see any issues with pushing this version. I'll do that
now.

--
Jamie Lenehan <lenehan@...>