This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
GCC 4.4.x on HPUX 11.00 PA-RISC
- From: Phezzan <phezzan0 at gmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Fri, 6 Nov 2009 16:19:39 -0500
- Subject: GCC 4.4.x on HPUX 11.00 PA-RISC
I'm trying to build GCC 4.4.0 on HPUX 11.00 using a GCC 3.2 binary
built by a third party.
I get the same error with 4.4.2.
I've run into and worked around a few problems - the most significant
being an assembler problem
"Error: Field out of range" while compiling fold-const.c which I
worked around by forcing -O2 into CFLAGS for the gcc Makefile
I'm stuck in libgcc - specifically using xgcc to build libgcc2.c - I get this:
/home/install/gcc/gcc-4.4.0/libgcc/../gcc/libgcc2.c: In function '__clzdi2':
/home/install/gcc/gcc-4.4.0/libgcc/../gcc/libgcc2.c:735: internal
compiler error: Segmentation fault
Please submit a full bug report,
I have no idea how to deal with this... here's the command line it's
running that fails:
/home/install/gcc/build-gcc-4.4.0/./gcc/xgcc
-B/home/install/gcc/build-gcc-4.4.0/./gcc/
-B/usr/gcc-4.4.0/hppa2.0w-hp-hpux11.00/bin/
-B/usr/gcc-4.4.0/hppa2.0w-hp-hpux11.00/lib/ -isystem
/usr/gcc-4.4.0/hppa2.0w-hp-hpux11.00/include -isystem
/usr/gcc-4.4.0/hppa2.0w-hp-hpux11.00/sys-include -g -O2 -O2 -DIN_GCC
-W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wcast-qual -Wold-style-definition -isystem ./include -fPIC -g
-DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I.
-I../.././gcc -I/home/install/gcc/gcc-4.4.0/libgcc
-I/home/install/gcc/gcc-4.4.0/libgcc/.
-I/home/install/gcc/gcc-4.4.0/libgcc/../gcc
-I/home/install/gcc/gcc-4.4.0/libgcc/../include -DHAVE_CC_TLS -o
_clzdi2.o -MT _clzdi2.o -MD -MP -MF _clzdi2.dep -DL_clzdi2 -c
/home/install/gcc/gcc-4.4.0/libgcc/../gcc/libgcc2.c \
GCC configuration:
/home/install/gcc/gcc-4.4.0/configure -C --with-gmp=/usr/local
--with-mpfr=/usr/local --disable-nls --enable-languages=c,c++
--with-gnu-as --with-as=/usr/local/bin/as --with-ld=/usr/bin/ld
--enable-shared --prefix=/usr/gcc-4.4.0 --enable-debug=no
--disable-nls --enable-threads=posix
I've tried binutils 2.18, 2.19, 2.20 all with the same result.
Thanks in advance,
Phez