🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #51910

destructors for globals not getting called

#51910
From: Matt Wette
Date: Mon, 08 Mar 1993 19:13
15 lines
975 bytes
I'm using
	gcc-2.3.3
	binutils-2.0/ld
	gas-1.38.1

It seems that the destructors for globals (i.e., non-automatic)
objects are not getting called.  (The libg++/test-install fails!)
Anybody got a clue?

The loader seems to have code to collect the CTOR_LIST but not the
DTOR_LIST.  Are the dtor's supposed to get called??

Matt
-- 
mwette@csi.jpl.nasa.gov
Technical Details
Message-ID: <1993Mar8.191354.24920@csi.jpl.nasa.gov>
Path: arc1-ca.pugleaf.net!sparky!uunet!elroy.jpl.nasa.gov!jato!csi!csi.jpl.nasa.gov!mwette

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,6d54eead721d2f19,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1993-03-08 11:48:24 PST
Newsgroups: gnu.gcc.help
Path: arc1-ca.pugleaf.net!sparky!uunet!elroy.jpl.nasa.gov!jato!csi!csi.jpl.nasa.gov!mwette
From: mwette@csi.jpl.nasa.gov (Matt Wette)
Subject: destructors for globals not getting called
Message-ID: <1993Mar8.191354.24920@csi.jpl.nasa.gov>
Sender: usenet@csi.jpl.nasa.gov (Network Noise Transfer Service)
Nntp-Posting-Host: mr-ed
Organization: Jet Propulsion Laboratory
Date: Mon, 8 Mar 1993 19:13:54 GMT
Lines: 15