public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: libstdc++/4260: ABI change beween 3.0 and 3.0.1: programs linked with 3.0 lib don't work after 3.0.1 lib is installed
@ 2002-04-04  9:58 mmitchel
  0 siblings, 0 replies; 4+ messages in thread
From: mmitchel @ 2002-04-04  9:58 UTC (permalink / raw)
  To: dave.anglin, gcc-bugs, gcc-prs, nobody

Synopsis: ABI change beween 3.0 and 3.0.1: programs linked with 3.0 lib don't work after 3.0.1 lib is installed

State-Changed-From-To: analyzed->closed
State-Changed-By: mmitchel
State-Changed-When: Thu Apr  4 09:58:10 2002
State-Changed-Why:
    Will not be fixed. 
    
    The ABI will change as we go from GCC 3.0 to GCC 3.1.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=4260


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: libstdc++/4260: ABI change beween 3.0 and 3.0.1: programs linked with 3.0 lib don't work after 3.0.1 lib is installed
@ 2002-02-19 19:26 John David Anglin
  0 siblings, 0 replies; 4+ messages in thread
From: John David Anglin @ 2002-02-19 19:26 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR libstdc++/4260; it has been noted by GNATS.

From: "John David Anglin" <dave@hiauly1.hia.nrc.ca>
To: bkoz@gcc.gnu.org, dave.anglin@nrc.ca, gcc-bugs@gcc.gnu.org,
   gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org, gcc-gnats@gcc.gnu.org
Cc: dave.anglin@nrc.ca, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org,
   nobody@gcc.gnu.org
Subject: Re: libstdc++/4260: ABI change beween 3.0 and 3.0.1: programs linked with 3.0 lib don't work after 3.0.1 lib is installed
Date: Tue, 19 Feb 2002 22:12:30 -0500 (EST)

 > Synopsis: ABI change beween 3.0 and 3.0.1: programs linked with 3.0 lib don't work after 3.0.1 lib is installed
 > 
 > State-Changed-From-To: open->analyzed
 > State-Changed-By: bkoz
 > State-Changed-When: Tue Feb 19 18:08:49 2002
 > State-Changed-Why:
 >     Dave, I ton't think this is still an issue, correct? I cannot see this symbol in the linux shared library:
 >     
 >     %nm libstdc++.so.4.0.0 | grep GLOBAL | grep FI
 >     
 >     Gives me nothing....
 
 That's because linux doesn't use collect2.  With 3.1, I currentls see
 
 bash-2.05a$ nm libstdc++.sl.4.0|grep GLOBAL|grep FI|less
 _GLOBAL__FI_libgcc_s_sl|        -4|uext  |stub   |
 _GLOBAL__FI_libgcc_s_sl|          |undef |code   |
 _GLOBAL__FI_libstdc___sl_4_0|    484704|extern|entry  |
 _GLOBAL__FI_libstdc___sl_4_0|    484728|extern|code   |$CODE$
 _GLOBAL__FI_libstdc___sl_4_0|    485100|uext  |stub   |
 
 The library internal name is
 
 bash-2.05a$ chatr libstdc++.sl.4.0
 libstdc++.sl.4.0:
 ...
          internal name:
 	      libstdc++.sl.4
 
 This is ok.  However, the issue reported must be kept in mind when the
 library version is next updated.
 
 Dave
 -- 
 J. David Anglin                                  dave.anglin@nrc.ca
 National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: libstdc++/4260: ABI change beween 3.0 and 3.0.1: programs linked with 3.0 lib don't work after 3.0.1 lib is installed
@ 2002-02-19 18:09 bkoz
  0 siblings, 0 replies; 4+ messages in thread
From: bkoz @ 2002-02-19 18:09 UTC (permalink / raw)
  To: dave.anglin, gcc-bugs, gcc-prs, nobody

Synopsis: ABI change beween 3.0 and 3.0.1: programs linked with 3.0 lib don't work after 3.0.1 lib is installed

State-Changed-From-To: open->analyzed
State-Changed-By: bkoz
State-Changed-When: Tue Feb 19 18:08:49 2002
State-Changed-Why:
    Dave, I ton't think this is still an issue, correct? I cannot see this symbol in the linux shared library:
    
    %nm libstdc++.so.4.0.0 | grep GLOBAL | grep FI
    
    Gives me nothing....
    

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=4260


^ permalink raw reply	[flat|nested] 4+ messages in thread

* libstdc++/4260: ABI change beween 3.0 and 3.0.1: programs linked with 3.0 lib don't work after 3.0.1 lib is installed
@ 2001-09-07 13:16 dave.anglin
  0 siblings, 0 replies; 4+ messages in thread
From: dave.anglin @ 2001-09-07 13:16 UTC (permalink / raw)
  To: gcc-gnats

>Number:         4260
>Category:       libstdc++
>Synopsis:       ABI change beween 3.0 and 3.0.1: programs linked with 3.0 lib don't work after 3.0.1 lib is installed
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Sep 07 13:16:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     John David Anglin
>Release:        unknown-1.0
>Organization:
>Environment:
hppa1.1-hp-hpux10.20
>Description:
The symbol names for the libstdc++ global constructor and
destructor changed from

_GLOBAL__FI_libstdc___sl_3_0
_GLOBAL__FD_libstdc___sl_3_0

to

_GLOBAL__FI_libstdc___sl_3_1
1.

The internal name for both library versions is
`libstdc++.sl.3'.  Thus, programs linked with the
3.0 library load the new 3.1 library.  However,
they fail when the symbol _GLOBAL__FI_libstdc___sl_3_0
isn't found.

The same constructor/destructor names need to be used
for libraries that are supposed to compatible, and they
need to be kept in sync with the internal names used for
the library.


>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-04-04 17:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-04  9:58 libstdc++/4260: ABI change beween 3.0 and 3.0.1: programs linked with 3.0 lib don't work after 3.0.1 lib is installed mmitchel
  -- strict thread matches above, loose matches on Subject: below --
2002-02-19 19:26 John David Anglin
2002-02-19 18:09 bkoz
2001-09-07 13:16 dave.anglin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).