Ok, so I reverted to type and resorted to simple sed hacks to bludgeon
my way forward. This enabled the second pass of gcc to compile and
install into /tools:

sed -i '/::gets/d' libstdc++-v3/include/c_global/cstdio

After that, coreutils, diffutils, gettext, gzip, tar and m4 all needed
variations (some of them have the gnu-lib files in a different folder)
of:

sed -i '/gets is a security hole/d' lib/stdio.in.h

In chroot it was the same story. gcc needed:

sed -i '/::gets/d' libstdc++-v3/include/c_global/cstdio

and some more things (bison, inetutils, libpipeline, man-db, etc)
needed their broken gnu-lib fixed. Fun fun fun.

Andy
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to