This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/28231] New: building process failed after disabling fixincludes
- From: "texlexsex at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Jul 2006 09:52:41 -0000
- Subject: [Bug bootstrap/28231] New: building process failed after disabling fixincludes
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
possible reason maybe:
syslimits.h depends on fixincludes, but include/limits.h always include
syslimit.h , regardless wether or not fixincludes is enabled
----- error message -----
./xgcc -B./ -B/usr/local/i686-pc-linux-gnu/bin/ -isystem
/usr/local/i686-pc-linux-gnu/include -isystem
/usr/local/i686-pc-linux-gnu/sys-include -L/src/build/gcc-build/gcc/../ld -O2
-O2 -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition -isystem ./include -I. -I.
-I../../gcc-4.1.1/gcc -I../../gcc-4.1.1/gcc/. -I../../gcc-4.1.1/gcc/../include
-I../../gcc-4.1.1/gcc/../libcpp/include -g0 -finhibit-size-directive
-fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss
-fno-unit-at-a-time -fno-omit-frame-pointer \
-c ../../gcc-4.1.1/gcc/crtstuff.c -DCRT_BEGIN \
-o crtbegin.o
In file included from ../../gcc-4.1.1/gcc/tsystem.h:108,
from ../../gcc-4.1.1/gcc/crtstuff.c:68:
./include/limits.h:11:23: error: syslimits.h: No such file or directory
make[2]: *** [crtbegin.o] Error 1
make[2]: Leaving directory `/src/build/gcc-build/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/src/build/gcc-build/gcc'
make: *** [bootstrap] Error 2
----- disabling fixincludes -----
diff -ru gcc-4.1.1/gcc/configure ../build/gcc-4.1.1/gcc/configure
--- gcc-4.1.1/gcc/configure 2006-02-15 00:50:45.000000000 +0800
+++ ../build/gcc-4.1.1/gcc/configure 2006-06-30 17:41:21.000000000 +0800
@@ -12763,7 +12763,9 @@
# These are the normal (build=host) settings:
CC_FOR_BUILD='$(CC)'
BUILD_CFLAGS='$(ALL_CFLAGS)'
-STMP_FIXINC=stmp-fixinc
+# disable fixincludes
+#STMP_FIXINC=stmp-fixinc
+STMP_FIXINC=
# Possibly disable fixproto, on a per-target basis.
case ${use_fixproto} in
--
Summary: building process failed after disabling fixincludes
Product: gcc
Version: 4.1.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: bootstrap
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: texlexsex at gmail dot com
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28231