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]

error configuring glibc: "no __thread support"


  still working on NPTL support, got the bootstrap gcc stage to build,
but trying to configure glibc leads to:

...
checking for local label subtraction... yes
checking for __thread... no                 <-- that looks bad
checking for libgd... no
checking for is_selinux_enabled in -lselinux... no
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for long double... yes
checking size of long double... 8
running configure fragment for sysdeps/sh/elf
checking for SH TLS support... yes
running configure fragment for nptl/sysdeps/unix/sysv/linux
running configure fragment for nptl/sysdeps/pthread
configure: error: compiler support for __thread is required
make: *** No rule to make target `lib'.  Stop.
make: *** No rule to make target `install-lib-all'.  Stop.

  now, i have all of the expected glibc configure options:

	--with-tls
	--with-__thread
	--enable-add-ons=nptl

and i've been going over the configure file, to no avail.  it seems
that this error is a result of a problem with the bootstrap gcc built
in the previous step, not with the configuration of glibc itself.

  anyway, if anyone has some advice, i'm all ears.  must head out for
a couple of hours, back later for more testing.

rday

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.org


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