This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [patch] Default to --enable-libstdcxx-time=auto
- From: Rainer Orth <ro at CeBiTec dot Uni-Bielefeld dot DE>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: Benjamin De Kosnik <bkoz at redhat dot com>, Jonathan Wakely <jwakely dot gcc at gmail dot com>, Paolo Carlini <paolo dot carlini at oracle dot com>, libstdc++ <libstdc++ at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 28 May 2013 11:41:50 +0200
- Subject: Re: [patch] Default to --enable-libstdcxx-time=auto
- References: <CAH6eHdRZPUrsF=kh-mQRT4kj7Khq9YrEYSj3Rf7jRLtpgZuiAg at mail dot gmail dot com> <20130524150357 dot GX1377 at tucnak dot redhat dot com> <CAH6eHdTSVSj5M0ptSOmW9Bj86Kyjw-=KtUZh3-uiRAA9O-h1DQ at mail dot gmail dot com> <20130524201004 dot GE1377 at tucnak dot redhat dot com> <20130524202632 dot 078f82ea at oakwood> <20130525062146 dot GH1377 at tucnak dot redhat dot com> <20130525115631 dot 210589ea at oakwood> <20130525191928 dot GJ1377 at tucnak dot redhat dot com> <20130525160711 dot 31bcac56 at oakwood> <20130526055809 dot GK1377 at tucnak dot redhat dot com> <20130526193122 dot GM1377 at tucnak dot redhat dot com>
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.
# HG changeset patch
# Parent a21f2aac856e49876b3e5ecd1bc15b91f3a881af
Regenerate Solaris/SPARCV9 baseline
diff --git a/libstdc++-v3/config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt b/libstdc++-v3/config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt
--- a/libstdc++-v3/config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt
+++ b/libstdc++-v3/config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt
@@ -1904,7 +1904,6 @@ FUNC:_ZNSt6__norm15_List_node_base7_M_ho
FUNC:_ZNSt6__norm15_List_node_base7reverseEv@@GLIBCXX_3.4.9
FUNC:_ZNSt6__norm15_List_node_base8transferEPS0_S1_@@GLIBCXX_3.4.9
FUNC:_ZNSt6__norm15_List_node_base9_M_unhookEv@@GLIBCXX_3.4.14
-FUNC:_ZNSt6chrono12steady_clock3nowEv@@GLIBCXX_3.4.19
FUNC:_ZNSt6chrono12system_clock3nowEv@@GLIBCXX_3.4.11
FUNC:_ZNSt6gslice8_IndexerC1EmRKSt8valarrayImES4_@@GLIBCXX_3.4
FUNC:_ZNSt6gslice8_IndexerC2EmRKSt8valarrayImES4_@@GLIBCXX_3.4
--
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University