public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/28231] New: building process failed after disabling fixincludes
@ 2006-07-03 9:52 texlexsex at gmail dot com
2006-07-03 15:01 ` [Bug bootstrap/28231] " pinskia at gcc dot gnu dot org
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: texlexsex at gmail dot com @ 2006-07-03 9:52 UTC (permalink / raw)
To: gcc-bugs
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug bootstrap/28231] building process failed after disabling fixincludes
2006-07-03 9:52 [Bug bootstrap/28231] New: building process failed after disabling fixincludes texlexsex at gmail dot com
@ 2006-07-03 15:01 ` pinskia at gcc dot gnu dot org
2006-07-04 2:21 ` texlexsex at gmail dot com
2008-12-28 21:27 ` pinskia at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-07-03 15:01 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from pinskia at gcc dot gnu dot org 2006-07-03 15:01 -------
Why do you want to fully disable fixincludes on x86-linux?
Some versions of the glibc headers really need to be fixed.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|building process failed |building process failed
|after disabling fixincludes |after disabling fixincludes
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28231
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug bootstrap/28231] building process failed after disabling fixincludes
2006-07-03 9:52 [Bug bootstrap/28231] New: building process failed after disabling fixincludes texlexsex at gmail dot com
2006-07-03 15:01 ` [Bug bootstrap/28231] " pinskia at gcc dot gnu dot org
@ 2006-07-04 2:21 ` texlexsex at gmail dot com
2008-12-28 21:27 ` pinskia at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: texlexsex at gmail dot com @ 2006-07-04 2:21 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from texlexsex at gmail dot com 2006-07-04 02:21 -------
(In reply to comment #1)
> Why do you want to fully disable fixincludes on x86-linux?
> Some versions of the glibc headers really need to be fixed.
>
i'm building a linux system from scratch, i'm using different version of glibc
and gcc other than the host system use,
old glibc headers might find its way into the new system during running of
fixincludes,
so i want to disable fixincludes, as the lfs-book suggested.
the immediate reason is that gcc compile fails with problem about limits.h
and/or systemlimits.h stuff.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28231
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug bootstrap/28231] building process failed after disabling fixincludes
2006-07-03 9:52 [Bug bootstrap/28231] New: building process failed after disabling fixincludes texlexsex at gmail dot com
2006-07-03 15:01 ` [Bug bootstrap/28231] " pinskia at gcc dot gnu dot org
2006-07-04 2:21 ` texlexsex at gmail dot com
@ 2008-12-28 21:27 ` pinskia at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-12-28 21:27 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from pinskia at gcc dot gnu dot org 2008-12-28 21:24 -------
You can rerun fixincludes after install glibc.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28231
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-12-28 21:27 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-03 9:52 [Bug bootstrap/28231] New: building process failed after disabling fixincludes texlexsex at gmail dot com
2006-07-03 15:01 ` [Bug bootstrap/28231] " pinskia at gcc dot gnu dot org
2006-07-04 2:21 ` texlexsex at gmail dot com
2008-12-28 21:27 ` pinskia at gcc dot gnu dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).