🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Problems installing libg++-2.2 on Sun4

#359
From: Steve Clark
Date: Fri, 20 Nov 1992 16:34
62 lines
2523 bytes
I've just installed gcc 2.3.1 on my Sun 4, SunOS 4.1.1.  Now I'm
trying to install libg++ 2.2.  I do:
	configure -prefix=/depot/gnu -exec_prefix=/depot/gnu/plat -gas sun4
and then 'make all'.  It seems to build fine.  But 'make check' fails:

    ...
    ./tFile < ./tFile.inp > tFile.out 2>&1
    diff -c tFile.out ./tFile.exp
    *** tFile.out   Fri Nov 20 11:09:10 1992
    --- ./tFile.exp Fri Apr 17 19:49:17 1992
    ***************
    *** 36,38 ****
    --- 36,49 ----
      using it to create istrstream...
      with contents:
      This is a string-based stream.
    + With two lines.
    + 
    + Making filebuf streams fout and fin...contents of file:
    + Thisfilehasonelinetestingoutputstreams.
    + 
    + Final names & states:
    + cin:      (stdin)     0
    + cout:     (stdout)    0
    + cerr:     (stderr)    0
    + 
    + end of test.
    make[6]: *** [check-tFile-regular] Error 1
    make[5]: *** [subdir_do] Error 1
    make[4]: *** [check] Error 1
    make[3]: *** [subdir_do] Error 1
    make[2]: *** [check] Error 1
    make[1]: *** [subdir_do] Error 1
    make: *** [check] Error 1
    
'make install' also fails:

    /depot/gnu/plat/bin/gcc -g -v  -o foo_main.run  foo_main.o foo_func.o \
	Foo.o -lg++
    Reading specs from /depot/gnu/plat/lib/gcc-lib/sun4/2.3.1/specs
    gcc version 2.3.1
     /depot/gnu/plat/lib/gcc-lib/sun4/2.3.1/ld -e start -dc -dp -o \
	foo_main.run /lib/crt0.o -L/depot/gnu/plat/lib/gcc-lib/sun4/2.3.1 \
	-L/depot/gnu/plat/lib foo_main.o foo_func.o Foo.o -lg++ -lgcc -lc \
	-lg -lgcc
    ./foo_main.run > foo_main.out
    diff ./expected.out foo_main.out >foo_main.diff
    make[2]: *** [foo_main.diff] Error 1
    make[1]: *** [install] Error 1
    make: *** [install-libg++] Error 1

Here's the contents of foo_main.diff:

    14,15d13
    < Destructing Foo(2) "static_foo" (remaining foos: 1)
    < Destructing Foo(1) "static_foo" (remaining foos: 0)

I don't know from C++, I just have to support it for the folks who do.
Any guidance will be most appreciated.

thanks,
-steve		clark@cme.nist.gov
Technical Details
Message-ID: <9211201634.AA11728@discord.cme.nist.gov>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!cme.NIst.GOV!clark

Show Full Headers
Complete Article Headers
Newsgroups: gnu.g++.lib.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!cme.NIst.GOV!clark
From: clark@cme.NIst.GOV (Steve Clark)
Subject: Problems installing libg++-2.2 on Sun4
Message-ID: <9211201634.AA11728@discord.cme.nist.gov>
Sender: gnulists@ai.mit.edu
Organization: GNUs Not Usenet
Distribution: gnu
Date: Fri, 20 Nov 1992 16:34:08 GMT
Approved: bug-lib-g++@prep.ai.mit.edu
Lines: 63