🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++.bug
Article #911

libg++ 2.2 dies in installation step on Sun 4/370 running 4.1.1

#911
From: Steve Lamont
Date: Sun, 06 Sep 1992 01:00
52 lines
2730 bytes
I'm not sure whether this is a bug or simply a botched installation,
hence the crosspost.  Forgive me if I'm not following protocol:  I
don't normally read these two groups.

I'm experiencing the following problem when installing libg++ 2.2
using gcc/g++ 2.2.2 as the result of typing 

	make install

Things go along fine until...

---- begin extract of transcript ----
cd test-install; make test-90S \
    CC=/usr/local/bin/gcc COMPILE_FLAGS="" LIBS=-lg++
/usr/local/bin/gcc   -c foo_main.cc
/usr/local/bin/gcc   -c foo_func.cc
/usr/local/bin/gcc   -c Foo.cc
/usr/local/bin/gcc -g -v -o foo_main.run  foo_main.o foo_func.o Foo.o -lg++
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-sunos4.1/2.2.2/specs
gcc version 2.2.2
 ld -e start -dc -dp -o foo_main.run /lib/crt0.o \
	-L/usr/local/lib/gcc-lib/sparc-sun-sunos4.1/2.2.2 \
	-L/usr/local/lib foo_main.o foo_func.o Foo.o -lg++ -lgcc -lc -lg -lgcc
./foo_main.run > foo_main.out
foo_main.cc:32: failed assertion `Foo::nb_foos() == 2'
sh: 1013 Abort - core dumped
*** Error code 134
make: Fatal error: Command failed for target `foo_main.out'
Current working directory /p0/spl/gnu/libg++-2.2/libg++/test-install
*** Error code 1
make: Fatal error: Command failed for target `install'
Current working directory /p0/spl/gnu/libg++-2.2/libg++
*** Error code 1
make: Fatal error: Command failed for target `install-libg++'
---- end extract of transcript -----

Have I managed to botch something in either the compiler build or the
library build?  Unfortunately, I'm not a c++/g++ programmer (yet --
that's the reason for installing this -- so I can learn g++) so I'm
not able to tell whether the compiler is botching things, the library
is hosed, or I've managed to screw something up in the installation.
(I'm betting on the latter :-/)

Any guidance that more experienced folks can provide will be
appreciated.

							spl
-- 
Steve Lamont, SciViGuy -- (619) 534-7968 -- spl@dim.ucsd.edu
UCSD Microscopy and Imaging Resource/UCSD Med School/La Jolla, CA 92093-0608
"There was a time when tyrants feared/The new world of the free.
Now freedom is afraid and shrieks/At tyranny." - "Brave New World," A. Macleish
Technical Details
Message-ID: <18bl6kINN421@network.ucsd.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!europa.asd.contel.com!darwin.sura.net!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!szechuan.UUCP!spl

Show Full Headers
Complete Article Headers
Newsgroups: gnu.g++.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!europa.asd.contel.com!darwin.sura.net!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!szechuan.UUCP!spl
From: spl@szechuan.UUCP (Steve Lamont)
Subject: libg++ 2.2 dies in installation step on Sun 4/370 running 4.1.1
Message-ID: <18bl6kINN421@network.ucsd.edu>
Sender: gnulists@ai.mit.edu
Organization: University of Calif., San Diego/Microscopy and Imaging Resource
Distribution: gnu
Date: Sun, 6 Sep 1992 01:00:04 GMT
Approved: bug-g++@prep.ai.mit.edu
Lines: 53