Re: glibc-2.8-20080929 build fails in Chapter 5

2008-10-15 Thread Jeremy Huntwork
Greg Schafer wrote: > Definitely triggered by the addition of `--disabled-shared' to GCC Pass 1. > If you're going to use that switch then must also use `--disable-libssp'. Aha... But, wait, why only now? I wasn't seeing this issue with glibc 2.7 and gcc-4.2.3. What is currently in the jh branch

Re: glibc-2.8-20080929 build fails in Chapter 5

2008-10-15 Thread Bruce Dubbs
Greg Schafer wrote: > Bruce Dubbs wrote: > >> LFS SVN-20081015 >> >> I tried jhalfs and a manual build but glibc fails for me in exactly the same >> place: >> >> /mnt/lfs/sources/gcc-build/i686-pc-linux-gnu/libssp/../../../gcc-4.3.2/libssp/ssp.c:175: >> >> multiple definition of `__stack_chk_fa

Re: glibc-2.8-20080929 build fails in Chapter 5

2008-10-15 Thread Greg Schafer
> Em Wednesday 15 October 2008 16:42:37 Robert Connolly escreveu: >> When GCC 4.1 released libssp, Glibc copied all of libssp in to Glibc, for >> better performance. Sorry, but that's rubbish. Glibc has *support* for ssp. Big difference. Regards Greg -- http://www.diy-linux.org/ -- http://l

Re: glibc-2.8-20080929 build fails in Chapter 5

2008-10-15 Thread Greg Schafer
Bruce Dubbs wrote: > LFS SVN-20081015 > > I tried jhalfs and a manual build but glibc fails for me in exactly the same > place: > > /mnt/lfs/sources/gcc-build/i686-pc-linux-gnu/libssp/../../../gcc-4.3.2/libssp/ssp.c:175: > > multiple definition of `__stack_chk_fail_local' > /mnt/lfs/sources/g

Re: glibc-2.8-20080929 build fails in Chapter 5

2008-10-15 Thread Matthew Burgess
On Wed, 15 Oct 2008 15:50:19 -0500, Bruce Dubbs <[EMAIL PROTECTED]> wrote: > One note about jhalfs: In 067-glibc (Chapter 6), it prints out > >malloc: using debugging hooks > > in the middle of the build and gives a 2nd progress line. It appears > harmless. Just to put your mind even more

Re: glibc-2.8-20080929 build fails in Chapter 5

2008-10-15 Thread Bruce Dubbs
Jeremy Huntwork wrote: > I don't know what happens with the rest of the build (because I haven't > gotten that far yet in my tests) but if you build gcc pass1 with > --disable-libssp, this message disappears and glibc finishes its build. OK, that worked. I'm now into Chapter 6 and past glibc a

Re: glibc-2.8-20080929 build fails in Chapter 5

2008-10-15 Thread Robert Connolly
On Wednesday October 15 2008 04:21:34 pm Valter Douglas Lisbôa Jr. wrote: > > When GCC 4.1 released libssp, Glibc copied all of libssp in to Glibc, for > > better performance. > > Statically? In libc.so. I'm not sure what you mean by statically. > > This happened in Glibc 2.4 or 2.5. If you're ru

Re: glibc-2.8-20080929 build fails in Chapter 5

2008-10-15 Thread Jeremy Huntwork
Robert Connolly wrote: > When GCC 4.1 released libssp, Glibc copied all of libssp in to Glibc, for > better performance. This happened in Glibc 2.4 or 2.5. If you're running a > new Glibc, libssp can not be used because it will conflict with identical > functions in Glibc. Given this, is there

Re: glibc-2.8-20080929 build fails in Chapter 5

2008-10-15 Thread Valter Douglas Lisbôa Jr.
Em Wednesday 15 October 2008 16:42:37 Robert Connolly escreveu: > On Wednesday October 15 2008 03:15:31 pm Valter Douglas Lisbôa Jr. wrote: > > > --disable-libssp can be used again in the chroot when building gcc. > > > Everything in this library is included in Glibc-2.8, and libssp is just > > > a

Re: glibc-2.8-20080929 build fails in Chapter 5

2008-10-15 Thread Dan Nicholson
On Wed, Oct 15, 2008 at 11:58 AM, Robert Connolly <[EMAIL PROTECTED]> wrote: > > --disable-libssp in GCC pass1 is best. Last time I looked at the test in > gcc/configure, it checks "/usr/include/features.h" for the Glibc version. So > you will probably need --disable-libssp in GCC pass2 too, becaus

Re: glibc-2.8-20080929 build fails in Chapter 5

2008-10-15 Thread Robert Connolly
On Wednesday October 15 2008 03:15:31 pm Valter Douglas Lisbôa Jr. wrote: > > --disable-libssp can be used again in the chroot when building gcc. > > Everything in this library is included in Glibc-2.8, and libssp is just a > > waste of space. > > Ok, but if you want this in your final system? I've

Re: glibc-2.8-20080929 build fails in Chapter 5

2008-10-15 Thread Valter Douglas Lisbôa Jr.
Em Wednesday 15 October 2008 15:58:10 Robert Connolly escreveu: > On Wednesday October 15 2008 03:39:49 am Bruce Dubbs wrote: > > LFS SVN-20081015 > > > > I tried jhalfs and a manual build but glibc fails for me in exactly the > > same place: > > > > /mnt/lfs/sources/gcc-build/i686-pc-linux-gnu/lib

Re: glibc-2.8-20080929 build fails in Chapter 5

2008-10-15 Thread Robert Connolly
On Wednesday October 15 2008 03:39:49 am Bruce Dubbs wrote: > LFS SVN-20081015 > > I tried jhalfs and a manual build but glibc fails for me in exactly the > same place: > > /mnt/lfs/sources/gcc-build/i686-pc-linux-gnu/libssp/../../../gcc-4.3.2/libs >sp/ssp.c:175: multiple definition of `__stack_chk

Re: glibc-2.8-20080929 build fails in Chapter 5

2008-10-15 Thread DJ Lucas
Bruce Dubbs wrote: > DJ Lucas wrote: > >> Bruce Dubbs wrote: >> >>> LFS SVN-20081015 >>> >>> I tried jhalfs and a manual build but glibc fails for me in exactly the >>> same place: >>> >>> /mnt/lfs/sources/gcc-build/i686-pc-linux-gnu/libssp/../../../gcc-4.3.2/libssp/ssp.c:175: >>> >>>

Re: glibc-2.8-20080929 build fails in Chapter 5

2008-10-15 Thread Jeremy Huntwork
Bruce Dubbs wrote: > Thanks Jeremy. At least it's reproducible. Have you built glibc without the > switch in Chapter 6? Not yet. I got hit with another issue after that, and then got busy again with work. Since you're able to use jhalfs on your host (jhalfs rejects most versions of everything

Re: glibc-2.8-20080929 build fails in Chapter 5

2008-10-15 Thread Bruce Dubbs
Jeremy Huntwork wrote: > Bruce Dubbs wrote: >> LFS SVN-20081015 >> >> I tried jhalfs and a manual build but glibc fails for me in exactly the same >> place: >> >> /mnt/lfs/sources/gcc-build/i686-pc-linux-gnu/libssp/../../../gcc-4.3.2/libssp/ssp.c:175: >> >> multiple definition of `__stack_chk_fa

Re: glibc-2.8-20080929 build fails in Chapter 5

2008-10-15 Thread Jeremy Huntwork
Bruce Dubbs wrote: > LFS SVN-20081015 > > I tried jhalfs and a manual build but glibc fails for me in exactly the same > place: > > /mnt/lfs/sources/gcc-build/i686-pc-linux-gnu/libssp/../../../gcc-4.3.2/libssp/ssp.c:175: > > multiple definition of `__stack_chk_fail_local' > /mnt/lfs/sources/gl

Re: glibc-2.8-20080929 build fails in Chapter 5

2008-10-15 Thread Bruce Dubbs
DJ Lucas wrote: > Bruce Dubbs wrote: >> LFS SVN-20081015 >> >> I tried jhalfs and a manual build but glibc fails for me in exactly the same >> place: >> >> /mnt/lfs/sources/gcc-build/i686-pc-linux-gnu/libssp/../../../gcc-4.3.2/libssp/ssp.c:175: >> >> > What is the host? An older version of L

Re: glibc-2.8-20080929 build fails in Chapter 5

2008-10-15 Thread DJ Lucas
Bruce Dubbs wrote: > LFS SVN-20081015 > > I tried jhalfs and a manual build but glibc fails for me in exactly the same > place: > > /mnt/lfs/sources/gcc-build/i686-pc-linux-gnu/libssp/../../../gcc-4.3.2/libssp/ssp.c:175: > > What is the host? -- DJ Lucas -- This message has been scanned f

Re: glibc-2.8-20080929 build fails in Chapter 5

2008-10-15 Thread DJ Lucas
Bruce Dubbs wrote: > LFS SVN-20081015 > > I tried jhalfs and a manual build but glibc fails for me in exactly the same > place: > > /mnt/lfs/sources/gcc-build/i686-pc-linux-gnu/libssp/../../../gcc-4.3.2/libssp/ssp.c:175: > > multiple definition of `__stack_chk_fail_local' > /mnt/lfs/sources/glib

glibc-2.8-20080929 build fails in Chapter 5

2008-10-15 Thread Bruce Dubbs
LFS SVN-20081015 I tried jhalfs and a manual build but glibc fails for me in exactly the same place: /mnt/lfs/sources/gcc-build/i686-pc-linux-gnu/libssp/../../../gcc-4.3.2/libssp/ssp.c:175: multiple definition of `__stack_chk_fail_local' /mnt/lfs/sources/glibc-build/libc_nonshared.a(stack_chk_