This is the mail archive of the gcc-prs@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]

bootstrap/5917: Building gcc-3.0.4 (bootstrap) in 64bit mode on HP-UX 11.00 using gcc-3.0.2/64 and binutils-2.12 fails



>Number:         5917
>Category:       bootstrap
>Synopsis:       Building gcc-3.0.4 (bootstrap) in 64bit mode on HP-UX 11.00 using gcc-3.0.2/64 and binutils-2.12 fails
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-illegal-code
>Submitter-Id:   net
>Arrival-Date:   Tue Mar 12 01:26:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     H.Merijn Brand
>Release:        3.0.4
>Organization:
>Environment:
HP-UX a5 B.11.00 U 9000/800 512770508 unlimited-user license

host: hppa2.0w-hp-hpux11.00
build: hppa2.0w-hp-hpux11.00
target: hppa2.0w-hp-hpux11.00
configured with: ../src/configure --enable-languages=gcc --prefix=/pro/local --with-local-prefix=/pro/local --without-gnu-as --without-gnu-ld --disable-shared --disable-nls
>Description:
I configure using this script:

--8<--- Conf-gcc64
#!/usr/bin/sh

export CONFIG_SITE=
export CC=gcc64
export PATH=.:/wrk/pa20_64/bin:/wrk/gcc-3.0.1-64/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 \
    --enable-languages=gcc \
    --prefix=/wrk/gcc-3.0.4-64 --with-local-prefix=/wrk/gcc-3.0.4-64 \
    --with-gnu-as --with-as=/wrk/pa20_64/bin/as \
    --with-gnu-ld --with-ld=/wrk/gcc-3.0.1-64/bin/ld \
    --disable-shared \
    --disable-nls
-->8---

and then build with this script:

--8<--- Build-gcc64
#!/usr/bin/sh

export CONFIG_SITE=
export CC=gcc64
export PATH=.:/wrk/pa20_64/bin:/wrk/gcc-3.0.1-64/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='-O2 -mpa-risc-2-0' \
     LIBCFLAGS='-O2 -mpa-risc-2-0' \
     LIBCXXFLAGS='-O2 -mpa-risc-2-0 -fno-implicit-templates' \
     bootstrap-lean
-->8---

where /wrk/pa20_64 contains the latest (working) 64bit binaries for

  gcc-3.0.2
  binutils-2.12 (ld was stated to be unsupported on HP-UX, and is
                 not available on /wrk/pa20_64, but on /wrk/gcc-3.0.1-64/bin
                 I can find

    # /wrk/gcc-3.0.1-64/bin/ld --version
    GNU ld 2.11.90
    Copyright 2001 Free Software Foundation, Inc.
    This program is free software; you may redistribute it under the terms of
    the GNU General Public License.  This program has absolutely no warranty.
      Supported emulations:
       elf64hppa


./xgcc -B./ -B/wrk/gcc-3.0.4-64/hppa2.0w-hp-hpux11.00/bin/ -isystem /wrk/gcc-3.0.4-64/hppa2.0w-hp-hpux11.00/include -isystem /wrk/gcc-3.0.4-64/hppa2.0w-hp-hpux11.00/sys-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 -c quadlib.c -o libgcc/./quadlib.o
quadlib.c:35: warning: no previous prototype for `_U_Qfeq'
quadlib.c:41: warning: no previous prototype for `_U_Qfne'
quadlib.c:47: warning: no previous prototype for `_U_Qfgt'
quadlib.c:53: warning: no previous prototype for `_U_Qfge'
quadlib.c:59: warning: no previous prototype for `_U_Qflt'
quadlib.c:65: warning: no previous prototype for `_U_Qfle'
quadlib.c:71: warning: no previous prototype for `_U_Qfcomp'
quadlib.c:81: warning: no previous prototype for `_U_Qfneg'
quadlib.c:100: warning: no previous prototype for `_U_Qfcnvfxt_quad_to_usgl'
./xgcc -B./ -B/wrk/gcc-3.0.4-64/hppa2.0w-hp-hpux11.00/bin/ -isystem /wrk/gcc-3.0.4-64/hppa2.0w-hp-hpux11.00/include -isystem /wrk/gcc-3.0.4-64/hppa2.0w-hp-hpux11.00/sys-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/wrk/gcc-3.0.4-64/hppa2.0w-hp-hpux11.00/bin/ -isystem /wrk/gcc-3.0.4-64/hppa2.0w-hp-hpux11.00/include -isystem /wrk/gcc-3.0.4-64/hppa2.0w-hp-hpux11.00/sys-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:844: Internal compiler error in grokdeclarator, at c-decl.c:3886
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.4/obj/gcc'
make[2]: *** [libgcc.a] Error 2
make[2]: Leaving directory `/pro/3gl/GNU/gcc-3.0.4/obj/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/pro/3gl/GNU/gcc-3.0.4/obj/gcc'
make: *** [bootstrap-lean] Error 2
a5:/pro/3gl/GNU/gcc-3.0.4 243 >
>How-To-Repeat:
# Build-gcc64
>Fix:
None (so far)
>Release-Note:
>Audit-Trail:
>Unformatted:


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