Bug 3042 - static class members in V3 shared library
Summary: static class members in V3 shared library
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: libstdc++ (show other bugs)
Version: 3.0
: P3 normal
Target Milestone: ---
Assignee: David Edelsohn
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-06-03 14:16 UTC by David Edelsohn
Modified: 2003-06-12 00:15 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Edelsohn 2001-06-03 14:16:01 UTC
V3 uses static class members in headers and shared library
(essentially globally shared data) which are not shared
between the shared library and the application linked
against it.

Release:
gcc version 3.0 20010601 (prerelease)

Environment:
AIX 4.3.3.0

How-To-Repeat:
V3 testsuite failures (reported as duplicate symbols
in static linking tests)
Comment 1 David Edelsohn 2001-06-11 10:15:25 UTC
Responsible-Changed-From-To: unassigned->dje
Responsible-Changed-Why: AIX linker compatibility
Comment 2 David Edelsohn 2001-06-11 10:15:25 UTC
State-Changed-From-To: open->suspended
State-Changed-Why: libstdc++ needs to be an AIX rtl shared library
Comment 3 David Edelsohn 2001-06-11 17:12:23 UTC
State-Changed-From-To: suspended->analyzed
State-Changed-Why: Because
Comment 4 Wolfgang Bangerth 2002-11-06 11:11:47 UTC
From: Wolfgang Bangerth <bangerth@ticam.utexas.edu>
To: dje@watson.ibm.com
Cc: gcc-gnats@gcc.gnu.org
Subject: Re: libstdc++/3042: static class members in V3 shared library
Date: Wed, 6 Nov 2002 11:11:47 -0600 (CST)

 [Sifting through old reports...]
 
 David, 
 is this still an issue? 1 1/2 years is a long time in this business.
 Thanks
   Wolfgang
 
 From the description:
 V3 uses static class members in headers and shared library
 (essentially globally shared data) which are not shared
 between the shared library and the application linked
 against it.
 
 -------------------------------------------------------------------------
 Wolfgang Bangerth              email:           bangerth@ticam.utexas.edu
                                www: http://www.ticam.utexas.edu/~bangerth
Comment 5 Benjamin Kosnik 2003-05-22 17:25:19 UTC
David, can we close this?
Comment 6 David Edelsohn 2003-05-22 18:11:12 UTC
Addressed by improved portability of libstdc++-v3