Important Notice: Changed in 4.0.0 to default links flags for Versioned Shared Libraries.

Bill Deegan <bill-cJFiu+DHMVC5azolltMz9laTQe2KTcn/@public.gmane.org> Tue, 21 Apr 2020 09:27:26 -0700
Newsgroups gmane.comp.programming.tools.scons.devel
Message-ID <CAEyG4CFyNV_XCd-S+rhH96cTx9j1JEbHMyuXTq4=T-z96A=9bA@mail.gmail.com>
--===============5780911856130073846==
Content-Type: multipart/alternative; boundary="00000000000063b1a405a3cf7eb0"

--00000000000063b1a405a3cf7eb0
Content-Type: text/plain; charset="UTF-8"

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.

--00000000000063b1a405a3cf7eb0
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Important Notice:<br></div><div>The -Bsymbolic flag w=
ill be removed in 4.0.0 from SHLIBVERSIONFLAGS in the gnulink Tool. Version=
ed shared libraries will no longer have this flag applied to the link step =
by default. <br></div><div><br></div><div>Use of this flag is unsafe in C++=
 projects because it leads to ODR violations and can interfere with proper =
behavior of new/delete. <br></div><div><br></div><div>We believe a build sy=
stem should not, by default, introduce the potential for undefined behavior=
. <br></div><div><br></div><div>Projects which were relying on automatic ap=
plication of -Bsymbolic in versioned shared libraries must now explicitly a=
dd the -Bsymbolic flag to SHLIBVERSIONFLAGS or SHLIBFLAGS` in their project=
 setup.</div><div><br></div><div><br></div></div>

--00000000000063b1a405a3cf7eb0--

--===============5780911856130073846==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Scons-dev mailing list
[email protected]
https://pairlist2.pair.net/mailman/listinfo/scons-dev

--===============5780911856130073846==--