gcc ch5 problem
junk_mail at iol.ie
Tue Dec 13 05:47:29 PST 2005
Recently, Somebody Somewhere wrote these words
> I have started into a uClibc version of hlfs on a
> partition I wiped some windoze junk off. I nosedived in chapter 5
> on the second build of gcc.
> I am building the latest download of the SVN book, with a lfs-6.0
> base system. Versions: gcc-3.4.1; kernel-188.8.131.52; glibc-2.3.4;
Never mind this one - I'm starting over, or trying to. This is
from uclibc headers
hlfs:/mnt/hlfs/sources/uClibc-0.9.28$ make KERNEL_SOURCE=/tools headers
make: Entering directory `/mnt/hlfs/sources/uClibc-0.9.28/extra/config'
gcc -O2 -Wall -I. -c conf.c -o conf.o
cc1: error: unrecognized command line option "-fstack-protector-all"
make: *** [conf.o] Error 1
make: Leaving directory
make: *** [include/bits/uClibc_config.h] Error 2
A little investigation reveals no CFLAGS, and that any .c file at
all I try to compile with that system (LFS-6.0) craps out on the
same error - even one I have successfully compiled before without
Now I can compile the package using a compiler from an older
system (I have LFS-5.0 & LFS-6.0 here). How can I sort the
compiler that has picked up that extra "-fstack-protector-all" as
BTW, I feel sure the error I made was to fail to take in the 'env'
line from gcc at the configure stage in chapter 5.
More information about the hlfs-dev