[Scons-users] Important Notice: Changed in 4.0.0 to default links flags for Versioned Shared Libraries.

Bill Deegan bill at baddogconsulting.com
Tue Apr 21 12:27:26 EDT 2020


Important Notice:
The -Bsymbolic flag will be removed in 4.0.0 from SHLIBVERSIONFLAGS in the
gnulink Tool. Versioned shared libraries will no longer have this flag
applied to the link step by default.

Use of this flag is unsafe in C++ projects because it leads to ODR
violations and can interfere with proper behavior of new/delete.

We believe a build system should not, by default, introduce the potential
for undefined behavior.

Projects which were relying on automatic application of -Bsymbolic in
versioned shared libraries must now explicitly add the -Bsymbolic flag to
SHLIBVERSIONFLAGS or SHLIBFLAGS` in their project setup.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20200421/22ea5090/attachment.html>


More information about the Scons-users mailing list