This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


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: trouble building glibc-2.3.2/gcc-3.4.0/sparc64 with cvs binutils


On Mon, May 03, 2004 at 08:08:49AM -0500, M.H.VanLeeuwen wrote:
> Dan Kegel wrote:
> > 
> > M.H.VanLeeuwen wrote:
> > >>Can you try glibc from CVS? I couldn't find how it could wind up in
> > >>dl-reloc.o.
> > >
> > > Any particular thread option necessary for glibc CVS?
> > >
> > > here is the configure for sparc64 using binutils-cvs, gcc-cvs & glibc-cvs
> > >
> > > checking size of long double... 16
> > > running configure fragment for sysdeps/sparc/sparc64/elf
> > > checking for sparc64 ld WDISP22 handling... broken
> > > running configure fragment for libidn/sysdeps/unix
> > > running configure fragment for nptl/sysdeps/pthread
> > > configure: error: compiler support for __thread is required
> 
> Mike mentioned __thread for gcc, not finding it in gcc configure option,
> I removing --without-__thread from glibc options in crosstools.sh.
> 
> That got me to a glibc configure error about unwind not being supported.
> 
> configure:156: error: forced unwind support is required

sparc64 binutils don't support TLS (yet).
I have yet to find spare 3 days or how long would it take to write.
So NPTL cannot work on sparc64 and LinuxThreads should be always built
--without-__thread on sparc64.

	Jakub


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