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]

Re: bootstrap gcc still not thread-smart -- the details


  perhaps a good place to isolate the problem is to show how the build
deviates noticeably from crosstool when trying to build for NPTL.

  with crosstool building with linuxthreads, the bootstrap gcc
configuration says nothing about "__thread" support, and the
subsequent glibc step explicitly has these options "--without-tls
--without-__thread".

  if i try to duplicate that but add the option
"--enable-add-ons=nptl" to the glibc config step, i get:

---
...
running configure fragment for sysdeps/sh/elf
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.
---

  as i read this, it's telling me that the *bootstrap* gcc needs to be
configured with "--with-__thread", is it not?  which represents a
noticeable deviation from the standard crosstool build.

  so should i try again after adding "--with-__thread" to the
bootstrap configure?  should i also add it to the glibc configure?
clearly, there are going to be some noticeable changes to the
crosstool build process just based on adding NPTL.

rday

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


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