🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: g++ 2.3.3 and libg++: undefined symbols

#1329
From: Johan Garpendahl
Date: Tue, 05 Jan 1993 16:47
23 lines
1440 bytes
brendan@cygnus.com writes:

>The 2.3.3 release of gcc (g++) included a fix for how virtual table
>names are mangled.  This creates an inconsistency between names the
>compiler generates, and the names in any libg++ created with a
>compiler before 2.3.3.  For example, one of the most common problems
>people will face as a result of this change will be an error that the
>symbol `__vt$10ostrstream$3ios' is undefined at link-time.

I tried to compile InterViews3.1 with gcc 2.3.3 and libg++ 2.3.
I *did* compile libg++ 2.3 with gcc 2.3.3.

If I compiled IV with -O, it worked fine.
If I compiled IV with -O2 i got the message that `__vt$7istream$3ios'
was undefined at link-time.

	Johan

-- 
Johan Garpendahl                   | Email: garp@isy.liu.se
Linkoping University               | Phone: +46 - 13 - 28 13 24
Dept. of Electrical Engineering    | Fax  : +46 - 13 - 13 92 82
S-581 83  LINKOPING // SWEDEN      | May the Source be with you.
Technical Details
Message-ID: <garp.726252447@isy.liu.se>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!isy.liu.se!garp
References: <9301042306.AA26443@cygnus.com>

Show Full Headers
Complete Article Headers
Newsgroups: gnu.g++.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!isy.liu.se!garp
From: garp@isy.liu.se (Johan Garpendahl)
Subject: Re: g++ 2.3.3 and libg++: undefined symbols
Message-ID: <garp.726252447@isy.liu.se>
Sender: gnulists@ai.mit.edu
Organization: Dept of EE, University of Linkoping
References: <9301042306.AA26443@cygnus.com>
Distribution: gnu
Date: Tue, 5 Jan 1993 16:47:27 GMT
Approved: bug-g++@prep.ai.mit.edu
Lines: 24