[patch] Default to --enable-libstdcxx-time=auto

Rainer Orth ro@CeBiTec.Uni-Bielefeld.DE
Tue May 28 09:41:00 GMT 2013


Jakub Jelinek <jakub@redhat.com> writes:

> On Sun, May 26, 2013 at 07:58:09AM +0200, Jakub Jelinek wrote:
>> On Sat, May 25, 2013 at 04:07:11PM -0700, Benjamin De Kosnik wrote:
>> > 
>> > > Looks good to me.  
>> > 
>> > Great, trunk patch in.
>> > 
>> > > Will you prepare corresponding patch for the 4.8
>> > > branch too (I guess it should be pretty much the same, not sure if it
>> > > should keep using typedef system_clock steady_clock as before for the
>> > > non-MONOTONIC configuration, or if it should just do the same thing
>> > > as trunk)?
>> > 
>> > Same thing, I think. Testing now, ok when it completes?
>> 
>> Yes, thanks.
>
> My bootstraps on x86_64-linux and i686-linux on 4.8 branch were ok, so I
> went ahead and committed the backport of your patch (applied cleanly).

Testing friday night's patch has completed successfully on both mainline
and 4.8 branch.  I've now retested on sparc-sun-solaris2.9,
sparc-sun-solaris2.11, i386-pc-solaris2.9 and i386-pc-solaris2.10, which
found a glitch: on Solaris 11/SPARC only, I get

  sparc-sun-solaris2.11:

 Running target unix/-m64
+FAIL: libstdc++-abi/abi_check

                ==== libstdc++-v3 check-abi Summary ====

# of added symbols:              0
# of missing symbols:            1
# of undesignated symbols:       0
# of incompatible symbols:       1

1 missing symbols
0
_ZNSt6chrono12steady_clock3nowEv
std::chrono::steady_clock::now()
version status: unversioned
type: function
status: subtracted


1 incompatible symbols
0
_ZNSt6chrono12steady_clock3nowEv
std::chrono::steady_clock::now()
version status: unversioned
type: function
status: subtracted

Fixed by the following patch, tested with the appropriate runtest
invocation on sparc-sun-solaris2.11.

Ok for mainline and 4.8 branch?

The only remaining Solaris now remains what to do about linking with
-lrt on mainline.  My mainline bootstraps have included this patch

	http://gcc.gnu.org/ml/gcc-patches/2013-05/msg01488.html

to avoid several failures.

Thanks.

	Rainer


2013-05-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	* config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt:
	Regenerate.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: sol2-libstdc++-baseline-gcc481.patch
Type: text/x-patch
Size: 909 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20130528/bdd1c065/attachment.bin>
-------------- next part --------------

-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University


More information about the Libstdc++ mailing list