🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

problem installing libg++-2.2

#441
From: John Hight
Date: Fri, 06 Nov 1992 01:00
35 lines
1595 bytes
Ok, my first problem was this:

    make install-libg++
    ...[installs, ranlibs libg++.a]...
    ...[installs header files]...
    ./foo_main.run > foo_main.out
    foo_main.cc:32: failed assertion `Foo::nb_foos() == 2'

But I knew I wasn't using GNU ld.

I also thought I'd install gcc 2.3.1.  And after getting over a few
stubling blocks, I got GNU ld installed (from binutils 2.0), and then
I remade libg++2.2.  No problem with building libg++ again.

This time, upon doing "make install-libg++", test-install gets a
little further.  But it still fails, this time at the diff:

    diff ./expected.out foo_main.out >foo_main.diff
    *** Error code 1
    make: Fatal error: Command failed for target `foo_main.diff

and foo_main.diff contains:

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

so it looks like foo_main is not calling the destructors for the first
two statif Foos.

Where do I start looking for the problem?

Thanks
-- 
John Hight, SRI International	hight@sri.com	415-859-4279
Technical Details
Message-ID: <1992Nov6.010052.13094@erg.sri.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!decwrl!sdd.hp.com!usc!cs.utexas.edu!sun-barr!ames!purdue!mentor.cc.purdue.edu!noose.ecn.purdue.edu!sparkyfs.erg.sri.com!hight

Show Full Headers
Complete Article Headers
Newsgroups: gnu.g++.help
Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!decwrl!sdd.hp.com!usc!cs.utexas.edu!sun-barr!ames!purdue!mentor.cc.purdue.edu!noose.ecn.purdue.edu!sparkyfs.erg.sri.com!hight
From: hight@sri.com (John Hight)
Subject: problem installing libg++-2.2
Message-ID: <1992Nov6.010052.13094@erg.sri.com>
Originator: hight@gorilla.erg.sri.com
Sender: news@erg.sri.com
Organization: SRI International, Menlo Park, CA
Date: Fri, 6 Nov 92 01:00:52 GMT
Lines: 35