Question about compiler blacklisting (llvm-gcc for wxWidgets)
Ken Cunningham
ken.cunningham.webuse at gmail.com
Thu Nov 2 19:34:00 UTC 2017
> On Nov 2, 2017, at 12:20 PM, Ryan Schmidt <ryandesign at macports.org> wrote:
> The part where it allows a port to be compiled with MacPorts libstdc++. Why is this ok? Didn't we used to have the problem that C++ software compiled with gcc would crash because it used new gcc libstdc++ but a library it used was using OS X's old libstdc++? Why is that no longer a problem with this portgroup?
>
The two libstdc++ versions (gcc4’s and gcc7’s) are similar except in a few small areas, mostly involving string copying.
The cxx11 1.1 PortGroup passes a flag to gcc7’s libstdc++ to tell it to use the old style of string handling (ABI4), so objects are compatible with the older libstdc++.
Ken
More information about the macports-dev
mailing list