This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/17508] New: Bootstrap fails to find system headers: sys/m_types.h, sys/limits.h
- From: "skunk at iskunk dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Sep 2004 19:27:10 -0000
- Subject: [Bug target/17508] New: Bootstrap fails to find system headers: sys/m_types.h, sys/limits.h
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Bootstrap eventually fails with the following:
(FYI: $top_srcdir is /mnt/gnu/src/gcc/current/gcc, $top_builddir is
/mnt/scratch/gcc-3.4.2, and $prefix is /mnt/gnu/arch/aix)
----(begin)----
./xgcc -B./ -B/mnt/gnu/arch/aix/powerpc-ibm-aix4.3.3.0/bin/ -isystem
/mnt/gnu/arch/aix/powerpc-ibm-aix4.3.3.0/include -isystem
/mnt/gnu/arch/aix/powerpc-ibm-aix4.3.3.0/sys-include
-L/mnt/scratch/gcc-3.4.2/gcc/../ld -O2 -DIN_GCC -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem
./include -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I.
-I. -I/mnt/gnu/src/gcc/current/gcc -I/mnt/gnu/src/gcc/current/gcc/.
-I/mnt/gnu/src/gcc/current/gcc/../include -pthread -mcpu=power -DL_ashrdi3 -c
/mnt/gnu/src/gcc/current/gcc/libgcc2.c -o libgcc/pthread/power/_ashrdi3.o
In file included from ./include/stdio.h:377,
from /mnt/gnu/src/gcc/current/gcc/tsystem.h:79,
from /mnt/gnu/src/gcc/current/gcc/libgcc2.c:41:
./include/sys/types.h:414:67: /mnt/gnu/arch/aix/include/sys/m_types.h: Missing
file or filesystem
In file included from /mnt/gnu/src/gcc/current/gcc/tsystem.h:79,
from /mnt/gnu/src/gcc/current/gcc/libgcc2.c:41:
./include/stdio.h:444:90: /mnt/gnu/arch/aix/include/sys/limits.h: Missing file
or filesystem
In file included from /usr/include/sys/context.h:26,
from ./include/sys/signal.h:349,
from ./include/sys/wait.h:62,
from ./include/stdlib.h:233,
from /mnt/gnu/src/gcc/current/gcc/tsystem.h:93,
from /mnt/gnu/src/gcc/current/gcc/libgcc2.c:41:
/usr/include/sys/mstsave.h:56: error: parse error before "label_t"
/usr/include/sys/mstsave.h:89: error: parse error before "as"
/usr/include/sys/mstsave.h:131: error: parse error before '}' token
In file included from ./include/sys/signal.h:349,
from ./include/sys/wait.h:62,
from ./include/stdlib.h:233,
from /mnt/gnu/src/gcc/current/gcc/tsystem.h:93,
from /mnt/gnu/src/gcc/current/gcc/libgcc2.c:41:
/usr/include/sys/context.h:213: error: field `jmp_context' has incomplete type
gmake[3]: *** [libgcc/pthread/power/_ashrdi3.o] Error 1
gmake[3]: Leaving directory `/mnt/scratch/gcc-3.4.2/gcc'
gmake[2]: *** [stmp-multilib] Error 2
gmake[2]: Leaving directory `/mnt/scratch/gcc-3.4.2/gcc'
gmake[1]: *** [stage1_build] Error 2
gmake[1]: Leaving directory `/mnt/scratch/gcc-3.4.2/gcc'
gmake: *** [bootstrap-lean] Error 2
----(end)----
Manually symlinking /usr/include/sys/{limits.h,m_types.h} from ./include/sys
allows the build to proceed.
--
Summary: Bootstrap fails to find system headers: sys/m_types.h,
sys/limits.h
Product: gcc
Version: 3.4.2
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: skunk at iskunk dot org
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: powerpc-ibm-aix4.3.3.0
GCC host triplet: powerpc-ibm-aix4.3.3.0
GCC target triplet: powerpc-ibm-aix4.3.3.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17508