http://gcc.gnu.org/onlinedocs/libstdc++/manual/abi.html says "gcc-3.4.x, gcc-4.[0-5].x: on m68k-linux and hppa-linux this is either libgcc_s.so.1 (when configuring --with-sjlj-exceptions) or libgcc_s.so.2. For all others, this is libgcc_s.so.1." But I see libgcc_s.so.4 on hppa not libgcc_s.so.2. Patch attached to change docs
Created attachment 20740 [details] update docs
Jon, can you have a look and apply the patch to the relevant branches? Thanks.
Dave, when did the hppa-linux so version change from 2 to 4? I'd like to document that, rather than just say it's always 1 or 4
Subject: Re: abi docs say that hppa-linux defaults to libgcc_s.so.2 > Dave, when did the hppa-linux so version change from 2 to 4? > I'd like to document that, rather than just say it's always 1 or 4 Oops, I have messed up. After some discussion, it was decided to revert the change. It was supposed to have been reverted on 2010-01-31, but the change apparently didn't work at least on the trunk. The original change was made on 2010-01-02. Dave
Subject: Re: abi docs say that hppa-linux defaults to libgcc_s.so.2 > > Dave, when did the hppa-linux so version change from 2 to 4? > > I'd like to document that, rather than just say it's always 1 or 4 > > Oops, I have messed up. After some discussion, it was decided to > revert the change. It was supposed to have been reverted on 2010-01-31, > but the change apparently didn't work at least on the trunk. The > original change was made on 2010-01-02. On further review, I see that I didn't mess up the revert in January! The sjlj and elf shared library versions were set to 3 and 4, respectively, in revision 109894 on Jan. 18, 2006 on the trunk. The version was previously set to 2 in revision 77920 on Feb. 16, 2004. Prior to that, the version was 1. I would have to dig some more to determine the version numbers for specific releases. Dave
that's fine I'll be able to update the docs from that info - thanks
Created attachment 20852 [details] alternative patch Based on the dates from Dave, I think this might be more accurate, and I hope clearer. The output looks like ... * gcc-3.3.3: libgcc_s.so.1 * gcc-3.4.x, gcc-4.[0-1].x: libgcc_s.so.1 For m68k-linux the versions differ as follows: * gcc-3.4.x, gcc-4.[0-5].x: libgcc_s.so.1 when configuring --with-sjlj-exceptions, or libgcc_s.so.2 For hppa-linux the versions differ as follows: * gcc-3.4.x, gcc-4.[0-1].x: either libgcc_s.so.1 when configuring --with-sjlj-exceptions, or libgcc_s.so.2 * gcc-4.[2-5].x: either libgcc_s.so.3 when configuring --with-sjlj-exceptions) or libgcc_s.so.4
(In reply to comment #7) > ... > * gcc-3.3.3: libgcc_s.so.1 > * gcc-3.4.x, gcc-4.[0-1].x: libgcc_s.so.1 ^ oops, should be 5
Subject: Bug 44268 Author: redi Date: Fri Jun 11 15:31:53 2010 New Revision: 160617 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=160617 Log: 2010-06-11 Jonathan Wakely <jwakely.gcc@gmail.com> PR libstdc++/44268 * doc/xml/manual/abi.xml: Fix libgcc version for hppa-linux. Modified: trunk/libstdc++-v3/ChangeLog trunk/libstdc++-v3/doc/xml/manual/abi.xml
fixed (but website not updated with the changes yet)
*** Bug 115332 has been marked as a duplicate of this bug. ***