ch5+glibc builds fine on rh null, gcc errors out
gschafer at zip.com.au
Fri Sep 20 16:58:35 PDT 2002
On Fri, Sep 20, 2002 at 06:48:34PM -0500, Nathan Ladd wrote:
> In file included from ../../gcc-3.2/libiberty/cplus-dem.c:41:
> bits/sys_errlist.h: No such file or directory
> make: *** [cplus-dem.o] Error 1
> make: Leaving directory `/usr/src/lfs/gcc-build/libiberty'
> make: *** [all-libiberty] Error 2
> I checked the /static/include/bits directory (sys_errlist is at
> /usr/include/bits in my host distro) and sure enough it wasn't there. I
> think whatever package produces this file in ch5 silently errored (at least
> I hope it errored silently--I would feel really dumb if I found out I
> didn't notice an obvious error and went along my way).
> Anyways, sorry for the long post, I just wanted to be verbose.
Apply the attached patch to Ch 5 gcc. It will disable the "fixincludes"
process which is what is actually causing the problem here.
-------------- next part --------------
diff -uNr gcc-3.2.orig/gcc/Makefile.in gcc-3.2/gcc/Makefile.in
--- gcc-3.2.orig/gcc/Makefile.in 2002-05-24 03:57:21.000000000 +1000
+++ gcc-3.2/gcc/Makefile.in 2002-09-20 14:06:19.000000000 +1000
@@ -2153,7 +2153,6 @@
(TARGET_MACHINE='$(target)'; srcdir=`cd $(srcdir); pwd`; \
export TARGET_MACHINE srcdir SHELL ; \
- $(SHELL) ./fixinc.sh `pwd`/include $(SYSTEM_HEADER_DIR) $(OTHER_FIXINCLUDES_DIRS); \
rm -f include/syslimits.h; \
if [ -f include/limits.h ]; then \
mv include/limits.h include/syslimits.h; \
More information about the lfs-dev