Re: gcc 4.5 and TLS

2010-04-20 Thread fthain
On Tue, 20 Apr 2010, Thorsten Glaser wrote: > fth...@telegraphics.com.au dixit: > > >Anyway, since these are native builds, steps 3+ need to happen running > >under a kernel with TLS support (which could be built with a plain > >etch-m68k tool chain last time I tried it). You also need the ker

Re: gcc 4.5 and TLS

2010-04-20 Thread Thorsten Glaser
fth...@telegraphics.com.au dixit: >One possible solution for a native build is, in sequence, > >1. binutils >2. gcc >3. libc >4. gcc >5. libc > >...installing each package as it is built, before building the next one. That was approximately how I planned it. (Why is it that gcc needs, at build t

Re: gcc 4.5 and TLS

2010-04-20 Thread fthain
On Tue, 20 Apr 2010, I wrote: > and you need [glibc with NPTL] before you can build gcc with TLS. Well, this isn't quite right. I'm told that you can get __thread support from gcc 4.5 without having to have NPTL support in your libc. Problem is, that compiler will have fixed includes, libgcc,