Here is the fix! (was Re: LFS build method flawed?)

Billy O'Connor billy at
Mon Jul 8 22:19:11 PDT 2002

gschafer at (Greg Schafer) writes:

> Here is the fix (urm, a workaround actually):-
>  - amend the gcc instructions (for both chapters 5 & 6) by adding the
>    line starting with echo... as per below
>    ../gcc-3.1/configure --prefix=/static --enable-languages=c \
>       --disable-nls --disable-shared --enable-threads=posix &&
>    echo "#define HAVE_GAS_HIDDEN 1" >> gcc/auto-host.h &&
>    make BOOT_LDFLAGS=-static bootstrap &&
>  - if we go this path then the patch is not required.
> I've tested all this but it needs confirmation from others so
> could some good folk please test?

root:/usr/src/glibc-build/dlfcn# cat tstcxaatexit.out
This is bar
This is fluffy
finishing now

Tested with cvs-20020630-1405.
Host gcc:    2.95.3
Host glibc:  2.2.5

Billy O'Connor
Unsubscribe: send email to listar at
and put 'unsubscribe lfs-dev' in the subject header of the message

More information about the lfs-dev mailing list