bootstrap/3362: HP-UX 11.0 w/ gcc-3.0 build problems

"H.Merijn Brand"@sourceware.cygnus.com "H.Merijn Brand"@sourceware.cygnus.com
Fri Jun 22 06:06:00 GMT 2001


>Number:         3362
>Category:       bootstrap
>Synopsis:       HP-UX 11.0 w/ gcc-3.0 build problems
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jun 22 06:06:02 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     "H.Merijn Brand"
>Release:        3.0
>Organization:
>Environment:
HP-UX 11.00 with June 2001 patches, HP ANSI-C, gcc-2.95.3, gcc-2.9-hppa-000310, gas-2.11
>Description:
The make process asked me to submit a bug report. See below.

Configured like:
--8<---
export CONFIG_SITE=
export CC=/wrk/GNUpro/bin/gcc
export PATH=.:/wrk/GNUpro/bin:/u/usr/merijn/bin/private:/u/usr/merijn/bin:/pro/local/bin:/pro/bin:/usr/hosts:/usr/bin:/usr/dt/bin:/usr/bin/X11:/opt/ansic/bin:/usr/sbin:/etc:/sbin:/usr/lib:/usr/ccs/bin:/usr/contrib/bin:/opt/nettladm/bin:/opt/fc/bin:/opt/fcms/bin:/opt/upgrade/bin:/opt/pd/bin:/usr/contrib/bin/X11:/opt/java/bin:/opt/hparray/bin:/opt/resmon/bin:/opt/pred/bin:/opt/langtools/bin:/opt/perf/bin:/opt/imake/bin:/opt/hpnp/bin:/opt/xftp/bin/X11:/usr/sbin/stm/uut/bin/progs:/pro/tu/bin:/pro/local/MySQL/bin
rm -rf obj
mkdir obj
cd obj
../src/configure \
    --prefix=/pro/local --with-local-prefix=/pro/local \
    --with-gnu-as --with-as=/wrk/GNUpro/bin/as \
    --with-gnu-ld --with-ld=/wrk/GNUpro/bin/ld \
    --disable-shared \
    --disable-nls
-->8---

Build like:
--8<---
export CONFIG_SITE=
export CC=/wrk/GNUpro/bin/gcc
export PATH=.:/wrk/GNUpro/bin:/u/usr/merijn/bin/private:/u/usr/merijn/bin:/pro/local/bin:/pro/bin:/usr/hosts:/usr/bin:/usr/dt/bin:/usr/bin/X11:/opt/ansic/bin:/usr/sbin:/etc:/sbin:/usr/lib:/usr/ccs/bin:/usr/contrib/bin:/opt/nettladm/bin:/opt/fc/bin:/opt/fcms/bin:/opt/upgrade/bin:/opt/pd/bin:/usr/contrib/bin/X11:/opt/java/bin:/opt/hparray/bin:/opt/resmon/bin:/opt/pred/bin:/opt/langtools/bin:/opt/perf/bin:/opt/imake/bin:/opt/hpnp/bin:/opt/xftp/bin/X11:/usr/sbin/stm/uut/bin/progs:/pro/tu/bin:/pro/local/MySQL/bin
cd obj
make CFLAGS='-O' \
     LIBCFLAGS='-g -O2' \
     LIBCXXFLAGS='-g -O2 -fno-implicit-templates' \
     bootstrap-lean
-->8---

/wrk/GNUpro/bin is the HP OpenSource distribution from http://devresource.hp.com/OpenSourcebin/ where as has been replaced with as from GNU binutils-2.11 because earlier attempts crashed on the older as.


./xgcc -B./ -B/pro/local/hppa2.0w-hp-hpux11.00/bin/ -isystem /pro/local/hppa2.0w-hp-hpux11.00/include -O2   -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include  -fPIC -g1  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/config -I../../src/gcc/../include -fexceptions -c ../../src/gcc/unwind-dw2.c -o libgcc/./unwind-dw2.o
../../src/gcc/unwind-pe.h:61: warning: `size_of_encoded_value' defined but not used
./xgcc -B./ -B/pro/local/hppa2.0w-hp-hpux11.00/bin/ -isystem /pro/local/hppa2.0w-hp-hpux11.00/include -O2   -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include  -fPIC -g1  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/config -I../../src/gcc/../include -fexceptions -c ../../src/gcc/unwind-dw2-fde.c -o libgcc/./unwind-dw2-fde.o
../../src/gcc/unwind-dw2-fde.c: In function `linear_search_fdes':
../../src/gcc/unwind-dw2-fde.c:795: Internal compiler error in propagate_one_insn, at flow.c:3647
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL: http://www.gnu.org/software/gcc/bugs.html > for instructions.
make[3]: *** [libgcc/./unwind-dw2-fde.o] Error 1
make[3]: Leaving directory `/pro/3gl/GNU/gcc-3.0/obj/gcc'
make[2]: *** [libgcc.a] Error 2
make[2]: Leaving directory `/pro/3gl/GNU/gcc-3.0/obj/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/pro/3gl/GNU/gcc-3.0/obj/gcc'
make: *** [bootstrap-lean] Error 2
>How-To-Repeat:
restart the build
>Fix:
Well, I think that will be up to you ...

(Meanwhile, I'll test other combinations of HPc, gcc, as, gas ld, gld ...)
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the Gcc-bugs mailing list