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:

| 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]: ***
Fehler 1
| make[1]: Leaving directory
| 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

any hint on how to resolve that problem is appreciated.

many thanks


OE Build Configuration:
BB_VERSION = "1.6.0"
OE_REVISION = "6be0c561dac329e3cd7624dfd7f1133f9af8ae63"
TARGET_ARCH = "i586"
TARGET_OS = "linux"

Join to automatically receive all group messages.