This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
c++/2792: failed to build GCC snapshot on HP-11.00 platform
- To: gcc-gnats at gcc dot gnu dot org
- Subject: c++/2792: failed to build GCC snapshot on HP-11.00 platform
- From: ganelin at mail dot com
- Date: 9 May 2001 21:31:59 -0000
- Reply-To: ganelin at mail dot com
>Number: 2792
>Category: c++
>Synopsis: failed to build GCC snapshot on HP-11.00 platform
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed May 09 14:36:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Pavel Ganelin
>Release: gcc -2.55 snaphot from 05/05/2001
>Organization:
>Environment:
$ uname -a
HP-UX neptune B.11.00 E 9000/785 2016132279
$ gas -v
GNU assembler version 2.11 (hppa2.0w-hp-hpux11.00) using BFD version 2.11
$gcc -v
Reading specs from /usr/local/lib/gcc-lib/hppa2.0w-hp-hpux11.00/2.95.3/specs
gcc version 2.95.3 20010315 (release)
$gmake -v
GNU Make version 3.76.1, by Richard Stallman and Roland McGrath.
>Description:
snaphot was received from
cvs -d :pserver:anoncvs@gcc.gnu.org:/cvs/gcc -z 9 co gcc
/usr/local/src/gcc-cvs-build/gcc/xgcc -B/usr/local/src/gcc-cvs-build/gcc/ -nostdinc++ -L/usr/local/src/gcc-cvs-build/hppa2.0w-hp-hpux11.00/libstdc++-v3/src -L/usr/local/src/gcc-cvs-build/hppa2.0w-hp-hpux11.00/libstdc++-v3/src/.libs -B/usr/local/devl/hppa2.0w-hp-hpux11.00/bin/ -B/usr/local/devl/hppa2.0w-hp-hpux11.00/lib/ -isystem /usr/local/devl/hppa2.0w-hp-hpux11.00/include -I/usr/local/CVS/gcc-3.0/gcc/libstdc++-v3/../gcc -I/usr/local/CVS/gcc-3.0/gcc/libstdc++-v3/../include -I/usr/local/CVS/gcc-3.0/gcc/libstdc++-v3/include -I/usr/local/CVS/gcc-3.0/gcc/libstdc++-v3/include/std -I/usr/local/CVS/gcc-3.0/gcc/libstdc++-v3/include/c_std -I../include -I/usr/local/CVS/gcc-3.0/gcc/libstdc++-v3/libsupc++ -O2 -fno-implicit-templates -Wall -Wno-format -W -Wwrite-strings -Winline -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -g -c /usr/local/CVS/gcc-3.0/gcc/libstdc++-v3/libsupc++/eh_aux_runtime.cc -fPIC -DPIC -o eh_aux_runtime.o
/usr/local/CVS/gcc-3.0/gcc/libstdc++-v3/libsupc++/eh_aux_runtime.cc:0: warning: -ffunction-sections
may affect debugging on some targets.
/var/tmp//ccRUROGW.s: Assembler messages:
/var/tmp//ccRUROGW.s:216: Error: operation combines symbols in different segments
/var/tmp//ccRUROGW.s:366: Error: operation combines symbols in different segments
gmake[4]: *** [eh_aux_runtime.lo] Error 1
gmake[4]: Leaving directory `/usr/local/src/gcc-cvs-build/hppa2.0w-hp-hpux11.00/libstdc++-v3/libsupc++'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/usr/local/src/gcc-cvs-build/hppa2.0w-hp-hpux11.00/libstdc++-v3'
gmake[2]: *** [all-recursive-am] Error 2
gmake[2]: Leaving directory `/usr/local/src/gcc-cvs-build/hppa2.0w-hp-hpux11.00/libstdc++-v3'
gmake[1]: *** [all-target-libstdc++-v3] Error 2
gmake[1]: Leaving directory `/usr/local/src/gcc-cvs-build'
gmake: *** [bootstrap] Error 2
Explanation: I was not able to use 2.95.3 because of the problems with size_t and /usr/include/*.h. I decided to try the latest snapshot. I found that -g is not supported with standard so I used gas.
>How-To-Repeat:
get the snapshot from CVS and try to build.
command to be executed
#---------rm -r -f * cleanup build the directory
/usr/local/CVS/gcc/configure --with-gnu-as --with-as=/usr/local/bin/gas --enable-languages=c,c++ --enable-threads --enable-shared --prefix=/usr/local/devl
gmake CFLAGS='-O' LIBCFLAGS='-g -O2' LIBCXXFLAGS='-g -O2 -fno-implicit-templates' bootstrap
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: