ch5+glibc builds fine on rh null, gcc errors out

Greg Schafer 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:
> /static/lib/gcc-lib/i686-pc-linux-gnu/3.2/include/stdio.h:563:30: 
> bits/sys_errlist.h: No such file or directory
> make[1]: *** [cplus-dem.o] Error 1
> make[1]: 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.

Greg
-------------- 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`; \
 	SHELL='$(SHELL)' ;\
 	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 mailing list