This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug bootstrap/11155] New: gcc's ia64-unwind.c makes gcc bootstrap internal error


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11155

           Summary: gcc's ia64-unwind.c makes gcc bootstrap internal error
           Product: gcc
           Version: 3.3
            Status: UNCONFIRMED
          Severity: blocker
          Priority: P2
         Component: bootstrap
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: francois-xavier.kowalski@hp.com
                CC: gcc-bugs@gcc.gnu.org
 GCC build triplet: ia64-hp-hpux11.23
  GCC host triplet: ia64-hp-hpux11.23
GCC target triplet: ia64-hp-hpux11.23

when building gcc-3.3, the compiler fails when generating the stage3 level.

./xgcc -B./ -B/opt/gcc/ia64-hp-hpux11.23/bin/ -isystem
/opt/gcc/ia64-hp-hpux11.23/include -isystem
/opt/gcc/ia64-hp-hpux11.23/sys-include -O2  -DIN_GCC    -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -isystem ./include   -g
-DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -I. -I.
-I/home/root/src.d/gcc-3.2.3/gcc -I/home/root/src.d/gcc-3.2.3/gcc/.
-I/home/root/src.d/gcc-3.2.3/gcc/config
-I/home/root/src.d/gcc-3.2.3/gcc/../include -milp32 -fexceptions -c
/home/root/src.d/gcc-3.2.3/gcc/config/ia64/unwind-ia64.c -o
libgcc/hpux32/unwind-ia64.o
/home/root/src.d/gcc-3.2.3/gcc/config/ia64/unwind-ia64.c:218: warning: width of
`off' exceeds its type
/home/root/src.d/gcc-3.2.3/gcc/config/ia64/unwind-ia64.c:242:1: warning: "MIN"
redefined
In file included from /usr/include/limits.h:423,
                 from include/limits.h:132,
                 from include/syslimits.h:7,
                 from include/limits.h:11,
                 from /home/root/src.d/gcc-3.2.3/gcc/tsystem.h:84,
                 from /home/root/src.d/gcc-3.2.3/gcc/config/ia64/unwind-ia64.c:35:
/usr/include/sys/param.h:432:1: warning: this is the location of the previous
definition
/home/root/src.d/gcc-3.2.3/gcc/config/ia64/unwind-ia64.c: In function
`alloc_reg_state':
/home/root/src.d/gcc-3.2.3/gcc/config/ia64/unwind-ia64.c:259: Internal compiler
error in ?, at expr.c:2771
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[3]: *** [libgcc/hpux32/unwind-ia64.o] Error 1
make[3]: Leaving directory
`/home/root/build.d/gcc-3.2.3_ia64-hp-hpux11.23_ilp32/gcc'

I reach this stage, with the following configuration, using the HP ANSI C
compiler + the GNU assembler.

env PATH=$PATH:/usr/local/bin M4=/usr/local/bin/m4 CC="cc +DD32"
/home/root/src.d/gcc-3.3/configure --prefix=/opt/gcc --with-gnu-as
--with-as=/usr/local/bin/as --without-gnu-ld --enable-shared=yes
--enable-static=yes --enable-threads=posix
--enable-version-specific-runtime-libs --enable-languages=c,c++,objc

Compilation is started with:

PATH=$PATH:/usr/local/bin gmake bootstrap-lean M4=/usr/local/bin/m4

The problem is exactly the same (same error message, at the same place) in the
following cases:

A] gcc-3.3

1) HP cc + GNU as + make bootstrap
2) HP cc + GNU as + make bootstrap-lean
3) GCC 3.2[1] + GNU as + make

B] gcc-3.2.3

1) HP cc + GNU as + make bootstrap
2) HP cc + GNU as + make bootstrap-lean
3) GCC 3.2[1] + GNU as + make

[1] From <http://hpux.cs.utah.edu/hppd/hpux/Gnu/gccipf-3.2/>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]