[lsb-discuss] LSB, GCC versions C++11 and libstdc++

Dallman, John john.dallman at siemens.com
Mon Dec 17 14:28:06 UTC 2012


So to make sure I understand correctly, LSB SDKs 3.1 to 4.1 will work correctly with GCC 4.6
and earlier. They limit the use of libstdc++.so.6 symbols to those available on a GCC 4.1
version of the library. This ensures that LSB-built programs will run on GCC 4.1-based
systems.

Is that right?

An upgrade to GCC 4.7 is on the list, but not expect to happen very soon?

thanks,

--
John Dallman

From: Wichmann, Mats D [mailto:mats.d.wichmann at intel.com]
Sent: 17 December 2012 14:14
To: Dallman, John
Cc: Jeff Licquia; lsb-discuss at lists.linux-foundation.org
Subject: Re: [lsb-discuss] LSB, GCC versions C++11 and libstdc++


On Mon, Dec 17, 2012 at 6:42 AM, Dallman, John <john.dallman at siemens.com<mailto:john.dallman at siemens.com>> wrote:
Thanks for all that.

> When a new version of gcc comes out, we test it with our SDK and make
> adjustments as needed.  We haven't done that for 4.7 yet.
What are the maximum GCC versions supported for LSB 3.1, 4.0 and 4.1,
please? And what are the minimum GCC versions of libstdc++.so.6 for
each of them?

> Most likely, any new symbols that come with C++ 11 support will show up
> in a newer version of the LSB sometime in the future.
Makes sense. Would that likely be LSB 5.0, or something later?


==
gcc 4.6 should work for all LSB versions.  There are, I believe, issues
relating to shared libraries were it's possible a gcc of the 4.5/4.6 era
might put in something incompatible in a header we've not found a way to
prevent.  Someone else would have to comment on that. I think it
was a fairly minor case.

LSB's C++ is based on that from gcc 4.1.   An uplift is on the calendar:
https://wiki.linuxfoundation.org/en/Uplift_Target   and
https://lsbbugs.linuxfoundation.org/show_bug.cgi?id=3100
( although admittedly the two year old bug isn't very descriptive ).

I wouldn't necessarily be holding my breath over this one in
the near future, though.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfoundation.org/pipermail/lsb-discuss/attachments/20121217/3711c15f/attachment.html>


More information about the lsb-discuss mailing list