🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++.help
Article #610

libg++-2.3 with g++ 2.3.1 on HP9000/720

#610
From: Gilles Benati
Date: Fri, 11 Dec 1992 21:10
44 lines
2576 bytes
(repost)

I need some help to compile libg++-2.3 on Hp9000/720 HP-UX
I got the HP binaries of gcc-2.3.1 from jaguar.cs.utah.edu (including gas)

I run `configure hp9k720' then `make all'.
The compilation dies in libg++/src
	gcc -g -O -nostdinc++ -I.. -I. -I./../iostream   -c BitSet.cc
/usr/tmp/cca13777.s:unknown:FATAL:XXX symbol_value: scope=0, type=1073799168

I get the same error in many other files :
src/BitString.cc, src/Fix.cc, iostream/strstream.C, iostream/PlotFile
I got discouraged and stopped compiling at this point.


Here is a more verbose output of what is happening :

	gcc -v -g -O -nostdinc++ -I.. -I. -I./../iostream   -c BitSet.cc
Reading specs from /usr/local/lib/gcc-lib/hp700-hpux/2.3.1/specs
gcc version 2.3.1
 /usr/local/lib/gcc-lib/hp700-hpux/2.3.1/cpp -lang-c++ -nostdinc++ -v -I.. -I. -I./../iostream -undef -D__GNUC__=2 -D__GNUG__=2 -D__cplusplus -Dhppa -Dhp9000s800 -D__hp9000s800 -Dhp9k8 -DPWB -Dhpux -Dunix -D_HPUX_SOURCE -D__hppa__ -D__hp9000s800__ -D__hp9000s800 -D__hp9k8__ -D__PWB__ -D__hpux__ -D__unix__ -D___HPUX_SOURCE__ -D__hppa -D__hp9000s800 -D__hp9000s800 -D__hp9k8 -D__PWB -D__hpux -D__unix -D___HPUX_SOURCE -D__OPTIMIZE__ -g BitSet.cc /usr/tmp/cca14464.i
GNU CPP version 2.3.1 (hppa)
 /usr/local/lib/gcc-lib/hp700-hpux/2.3.1/cc1plus /usr/tmp/cca14464.i -quiet -dumpbase BitSet.cc -g -O -version -o /usr/tmp/cca14464.s
GNU C++ version 2.3.1 (hppa) compiled by GNU C version 2.3.1.
 /usr/local/lib/gcc-lib/hp700-hpux/2.3.1/as -o BitSet.o /usr/tmp/cca14464.s
/usr/tmp/cca14464.s:unknown:FATAL:XXX symbol_value: scope=0, type=1073799168


First, I thought that I didn't have the right version of gas but it is said
to be working equally well on 700 and 800 series.

Isn't this version of gcc supposed to be working on hp9k720 ? I only see
reference to hp9k8 on the compiler output, though the binaries are stored
in gcc-lib/hp700-hpux.

I saw quite a few patches for libg++2.2 on hp. Do I have to go through all
of them and try to figure out what is still to be needed on libg++2.3 ?

By the way, is it necessary to run fixinclude on hp ?

I would appreciate any help.
Thanks.

Gilles
Technical Details
Message-ID: <1992Dec11.211006.14795@osf.org>
Path: arc1-ca.pugleaf.net!sparky!uunet!think.com!paperboy.osf.org!osf.org!gilles

Show Full Headers
Complete Article Headers
Newsgroups: gnu.g++.help
Path: arc1-ca.pugleaf.net!sparky!uunet!think.com!paperboy.osf.org!osf.org!gilles
From: gilles@osf.org (Gilles Benati)
Subject: libg++-2.3 with g++ 2.3.1 on HP9000/720
Message-ID: <1992Dec11.211006.14795@osf.org>
Keywords: libg++ HP9000/720
Sender: news@osf.org (USENET News System)
Organization: Open Software Foundation
Distribution: gnu
Date: Fri, 11 Dec 1992 21:10:06 GMT
Lines: 44