Re: Bk6.6Ch6.9 glibc `__stack_chk_guard' work around.

2010-04-06 Thread Szabolcs Gyalókay
Hi All, > > It would seem that your Makefile is significantly different from mine. > > That would indicate to me that there is something wrong with your > > Chapter 5 build as once you get into chroot, the builds really should be > > the same. > > Maybe you are right, but if you do, the failure i

Re: Bk6.6Ch6.9 glibc `__stack_chk_guard' work around.

2010-03-31 Thread Chris Staub
On 03/31/2010 04:33 PM, Bruce Dubbs wrote: > Szabolcs Gyalókay wrote: >> >> gcc res_hconf.c -c -std=gnu99 -fgnu89-inline -O2 -Wall -Winline >> -Wwrite-strings -fmerge-all-constants -g -Wstrict-prototypes > >> -DIS_IN_nscd=1 -D_FORTIFY_SOURCE=2 >> -fpie >> -fstack-protector >> -DNOT_IN_libc=1 > >> -

Re: Bk6.6Ch6.9 glibc `__stack_chk_guard' work around.

2010-03-31 Thread Chris Staub
On 03/31/2010 04:22 PM, Chris Staub wrote: > On 03/31/2010 04:06 PM, Szabolcs Gyalókay wrote: >> Hi All, >> >> >> OK, then libssp is not supposed to be linked, then why isn't somebody >> asking the obvious question? >> >> In the original post Pete wrote: >> >> It seems that libssp is suppose t

Re: Bk6.6Ch6.9 glibc `__stack_chk_guard' work around.

2010-03-31 Thread Szabolcs Gyalókay
Hi All, > > I think you have to start entertaining the possibility that something is > > wrong with the book. > > Not likely when many other people have built it and have not had the > same problem. The only other possibility I can think of is a possible > problem with some certain hosts, but tha

Re: Bk6.6Ch6.9 glibc `__stack_chk_guard' work around.

2010-03-31 Thread Bruce Dubbs
Szabolcs Gyalókay wrote: > > gcc res_hconf.c -c -std=gnu99 -fgnu89-inline -O2 -Wall -Winline > -Wwrite-strings -fmerge-all-constants -g -Wstrict-prototypes > -DIS_IN_nscd=1 -D_FORTIFY_SOURCE=2 > -fpie > -fstack-protector > -DNOT_IN_libc=1 > -o /sources/glibc-build/nscd/res_hconf.o -MD -M

Re: Bk6.6Ch6.9 glibc `__stack_chk_guard' work around.

2010-03-31 Thread Chris Staub
On 03/31/2010 04:06 PM, Szabolcs Gyalókay wrote: > Hi All, > > > OK, then libssp is not supposed to be linked, then why isn't somebody > asking the obvious question? > > In the original post Pete wrote: > > It seems that libssp is suppose to be pulled in by > the gcc option '-fstack-protect

Re: Bk6.6Ch6.9 glibc `__stack_chk_guard' work around.

2010-03-31 Thread Szabolcs Gyalókay
Hi All, > The reason libssp is not found is simply because it's not *supposed* to > be. GCC has not yet been installed in Chapter 6, into /usr, so the only > libssp present at the time Glibc is being built is in /tools. However, > since Glibc is supposed to go into /usr, it will not link to anyt

Re: Bk6.6Ch6.9 glibc `__stack_chk_guard' work around.

2010-03-30 Thread Chris Staub
On 03/30/2010 12:05 AM, x2...@lycos.com wrote: > > Hi, > > This is the work around i'm using. > > I don't know if it will help on x86_64. > > Assuming your compilation stopped at the line 'linking' > object files to produce 'nscd': > >Paste up the 'linking'

Re: Bk6.6Ch6.9 glibc `__stack_chk_guard' work around.

2010-03-29 Thread x2164
- Original Message - From: Bruce Dubbs To: LFS Support List Sent: Tue, 30 Mar 2010 00:25:37 -0400 (EDT) Subject: Re: Bk6.6Ch6.9 glibc `__stack_chk_guard' work around. x2...@lycos.com wrote: > Hi, > > This is the work ar

Re: Bk6.6Ch6.9 glibc `__stack_chk_guard' work around.

2010-03-29 Thread Bruce Dubbs
x2...@lycos.com wrote: > Hi, > > This is the work around i'm using. > > I don't know if it will help on x86_64. > > Assuming your compilation stopped at the line 'linking' > object files to produce 'nscd': > > Paste up the 'linking' line that failed but >