[PATCH] libstdc++/testsuite/experimental/algorithm link errors

Jonathan Wakely jwakely@redhat.com
Tue Jun 26 19:13:00 GMT 2018


On 26/06/18 15:09 -0400, David Edelsohn wrote:
>The recent addition of
>
>testsuite/experimental/algorithm/sample-2.cc
>testsuite/experimental/algorithm/shuffle.cc
>
>introduced link errors on AIX.  AIX (and Solaris) require additional
>options for TLS in some situations.
>
>This patch adds the dejagnu TLS directives.
>
>Was this dependency intended?  Is this patch okay?

Yes, it's intended: those two tests depend on the per-thread random
number engine in <experimental/random>, and so the tests need the same
directives as testsuite/experimental/random/randint.cc

OK for trunk, thanks.



More information about the Libstdc++ mailing list