🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++.lib.bug
Article #367

libg++2.3 with gcc-2.3.1 on HP9k720

#367
From: Gilles Benati
Date: Fri, 11 Dec 1992 16:36
40 lines
2658 bytes
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' them `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 have 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 applied on libg++2.3 ?

I would appreciate any help.
Thanks.

Gilles
Technical Details
Message-ID: <1992Dec11.163645.7597@osf.org>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!usc!enterpoop.mit.edu!snorkelwacker.mit.edu!ai-lab!prep.ai.mit.edu!gnulists

Show Full Headers
Complete Article Headers
Newsgroups: gnu.g++.lib.bug,gnu.g++.help,comp.sys.hp
From: gilles@osf.org (Gilles Benati)
Subject: libg++2.3 with gcc-2.3.1 on HP9k720
Message-ID: <1992Dec11.163645.7597@osf.org>
Organization: Open Software Foundation
Date: Fri, 11 Dec 1992 16:36:45 GMT
Apparently-To: gnu-g++-lib-bug@uunet.uu.net
Distribution: world
Approved: info-gnu@prep.ai.mit.edu
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!usc!enterpoop.mit.edu!snorkelwacker.mit.edu!ai-lab!prep.ai.mit.edu!gnulists
Followup-To: gnu.g++.lib.bug,gnu.g++.help,comp.sys.hp
Lines: 41