public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [committed] libstdc++: Update list of known symbol versions for abi-check
@ 2023-06-06 15:59 Jonathan Wakely
  2023-06-07  4:42 ` François Dumont
  0 siblings, 1 reply; 4+ messages in thread
From: Jonathan Wakely @ 2023-06-06 15:59 UTC (permalink / raw)
  To: libstdc++, gcc-patches

Tested x86_64-linux and powerpc64le-linux. Pushed to trunk.

-- >8 --

Add the recently added CXXABI_1.3.15 version. Also remove two "frozen"
versions from the latestp list, as no more symbols should be added to
those now.

libstdc++-v3/ChangeLog:

	* testsuite/util/testsuite_abi.cc (check_version): Add
	CXXABI_1.3.15 symver and make it the latestp. Remove
	GLIBCXX_IEEE128_3.4.31 and GLIBCXX_LDBL_3.4.31 from latestp.
---
 libstdc++-v3/testsuite/util/testsuite_abi.cc | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/libstdc++-v3/testsuite/util/testsuite_abi.cc b/libstdc++-v3/testsuite/util/testsuite_abi.cc
index cea6c217433..59615dd701e 100644
--- a/libstdc++-v3/testsuite/util/testsuite_abi.cc
+++ b/libstdc++-v3/testsuite/util/testsuite_abi.cc
@@ -233,7 +233,7 @@ check_version(symbol& test, bool added)
       known_versions.push_back("CXXABI_1.3.11");
       known_versions.push_back("CXXABI_1.3.12");
       known_versions.push_back("CXXABI_1.3.13");
-      known_versions.push_back("CXXABI_1.3.14");
+      known_versions.push_back("CXXABI_1.3.15");
       known_versions.push_back("CXXABI_IEEE128_1.3.13");
       known_versions.push_back("CXXABI_TM_1");
       known_versions.push_back("CXXABI_FLOAT128");
@@ -253,10 +253,7 @@ check_version(symbol& test, bool added)
 
       // Check that added symbols are added in the latest pre-release version.
       bool latestp = (test.version_name == "GLIBCXX_3.4.32"
-	  // XXX remove next 2 lines when baselines have been regenerated.
-		     || test.version_name == "GLIBCXX_IEEE128_3.4.31"
-		     || test.version_name == "GLIBCXX_LDBL_3.4.31"
-		     || test.version_name == "CXXABI_1.3.14"
+		     || test.version_name == "CXXABI_1.3.15"
 		     || test.version_name == "CXXABI_FLOAT128"
 		     || test.version_name == "CXXABI_TM_1");
       if (added && !latestp)
-- 
2.40.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [committed] libstdc++: Update list of known symbol versions for abi-check
  2023-06-06 15:59 [committed] libstdc++: Update list of known symbol versions for abi-check Jonathan Wakely
@ 2023-06-07  4:42 ` François Dumont
  2023-06-07  8:06   ` Jonathan Wakely
  0 siblings, 1 reply; 4+ messages in thread
From: François Dumont @ 2023-06-07  4:42 UTC (permalink / raw)
  To: Jonathan Wakely, libstdc++, gcc-patches


On 06/06/2023 17:59, Jonathan Wakely via Libstdc++ wrote:
> Tested x86_64-linux and powerpc64le-linux. Pushed to trunk.
>
> -- >8 --
>
> Add the recently added CXXABI_1.3.15 version. Also remove two "frozen"
> versions from the latestp list, as no more symbols should be added to
> those now.
>
> libstdc++-v3/ChangeLog:
>
> 	* testsuite/util/testsuite_abi.cc (check_version): Add
> 	CXXABI_1.3.15 symver and make it the latestp. Remove
> 	GLIBCXX_IEEE128_3.4.31 and GLIBCXX_LDBL_3.4.31 from latestp.
> ---
>   libstdc++-v3/testsuite/util/testsuite_abi.cc | 7 ++-----
>   1 file changed, 2 insertions(+), 5 deletions(-)
>
> diff --git a/libstdc++-v3/testsuite/util/testsuite_abi.cc b/libstdc++-v3/testsuite/util/testsuite_abi.cc
> index cea6c217433..59615dd701e 100644
> --- a/libstdc++-v3/testsuite/util/testsuite_abi.cc
> +++ b/libstdc++-v3/testsuite/util/testsuite_abi.cc
> @@ -233,7 +233,7 @@ check_version(symbol& test, bool added)
>         known_versions.push_back("CXXABI_1.3.11");
>         known_versions.push_back("CXXABI_1.3.12");
>         known_versions.push_back("CXXABI_1.3.13");
> -      known_versions.push_back("CXXABI_1.3.14");
> +      known_versions.push_back("CXXABI_1.3.15");

Did you really want to remove CXXABI_1.3.14 here ? ChangeLog says you 
just add CXXABI_1.3.15.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [committed] libstdc++: Update list of known symbol versions for abi-check
  2023-06-07  4:42 ` François Dumont
@ 2023-06-07  8:06   ` Jonathan Wakely
  2023-06-07 15:55     ` Jonathan Wakely
  0 siblings, 1 reply; 4+ messages in thread
From: Jonathan Wakely @ 2023-06-07  8:06 UTC (permalink / raw)
  To: François Dumont; +Cc: libstdc++, gcc-patches

[-- Attachment #1: Type: text/plain, Size: 1526 bytes --]

On Wed, 7 Jun 2023 at 05:43, François Dumont wrote:

>
> On 06/06/2023 17:59, Jonathan Wakely via Libstdc++ wrote:
> > Tested x86_64-linux and powerpc64le-linux. Pushed to trunk.
> >
> > -- >8 --
> >
> > Add the recently added CXXABI_1.3.15 version. Also remove two "frozen"
> > versions from the latestp list, as no more symbols should be added to
> > those now.
> >
> > libstdc++-v3/ChangeLog:
> >
> >       * testsuite/util/testsuite_abi.cc (check_version): Add
> >       CXXABI_1.3.15 symver and make it the latestp. Remove
> >       GLIBCXX_IEEE128_3.4.31 and GLIBCXX_LDBL_3.4.31 from latestp.
> > ---
> >   libstdc++-v3/testsuite/util/testsuite_abi.cc | 7 ++-----
> >   1 file changed, 2 insertions(+), 5 deletions(-)
> >
> > diff --git a/libstdc++-v3/testsuite/util/testsuite_abi.cc
> b/libstdc++-v3/testsuite/util/testsuite_abi.cc
> > index cea6c217433..59615dd701e 100644
> > --- a/libstdc++-v3/testsuite/util/testsuite_abi.cc
> > +++ b/libstdc++-v3/testsuite/util/testsuite_abi.cc
> > @@ -233,7 +233,7 @@ check_version(symbol& test, bool added)
> >         known_versions.push_back("CXXABI_1.3.11");
> >         known_versions.push_back("CXXABI_1.3.12");
> >         known_versions.push_back("CXXABI_1.3.13");
> > -      known_versions.push_back("CXXABI_1.3.14");
> > +      known_versions.push_back("CXXABI_1.3.15");
>
> Did you really want to remove CXXABI_1.3.14 here ? ChangeLog says you
> just add CXXABI_1.3.15.
>

Oops, yes! Thanks for spotting that. I'll fix it today.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [committed] libstdc++: Update list of known symbol versions for abi-check
  2023-06-07  8:06   ` Jonathan Wakely
@ 2023-06-07 15:55     ` Jonathan Wakely
  0 siblings, 0 replies; 4+ messages in thread
From: Jonathan Wakely @ 2023-06-07 15:55 UTC (permalink / raw)
  To: François Dumont; +Cc: libstdc++, gcc-patches

[-- Attachment #1: Type: text/plain, Size: 1967 bytes --]

On Wed, 7 Jun 2023 at 09:06, Jonathan Wakely <jwakely@redhat.com> wrote:

> On Wed, 7 Jun 2023 at 05:43, François Dumont wrote:
>
>>
>> On 06/06/2023 17:59, Jonathan Wakely via Libstdc++ wrote:
>> > Tested x86_64-linux and powerpc64le-linux. Pushed to trunk.
>> >
>> > -- >8 --
>> >
>> > Add the recently added CXXABI_1.3.15 version. Also remove two "frozen"
>> > versions from the latestp list, as no more symbols should be added to
>> > those now.
>> >
>> > libstdc++-v3/ChangeLog:
>> >
>> >       * testsuite/util/testsuite_abi.cc (check_version): Add
>> >       CXXABI_1.3.15 symver and make it the latestp. Remove
>> >       GLIBCXX_IEEE128_3.4.31 and GLIBCXX_LDBL_3.4.31 from latestp.
>> > ---
>> >   libstdc++-v3/testsuite/util/testsuite_abi.cc | 7 ++-----
>> >   1 file changed, 2 insertions(+), 5 deletions(-)
>> >
>> > diff --git a/libstdc++-v3/testsuite/util/testsuite_abi.cc
>> b/libstdc++-v3/testsuite/util/testsuite_abi.cc
>> > index cea6c217433..59615dd701e 100644
>> > --- a/libstdc++-v3/testsuite/util/testsuite_abi.cc
>> > +++ b/libstdc++-v3/testsuite/util/testsuite_abi.cc
>> > @@ -233,7 +233,7 @@ check_version(symbol& test, bool added)
>> >         known_versions.push_back("CXXABI_1.3.11");
>> >         known_versions.push_back("CXXABI_1.3.12");
>> >         known_versions.push_back("CXXABI_1.3.13");
>> > -      known_versions.push_back("CXXABI_1.3.14");
>> > +      known_versions.push_back("CXXABI_1.3.15");
>>
>> Did you really want to remove CXXABI_1.3.14 here ? ChangeLog says you
>> just add CXXABI_1.3.15.
>>
>
> Oops, yes! Thanks for spotting that. I'll fix it today.
>
>
Fixed at  r14-1613-gb6235dbcfc3143, thanks again.

The abi-check test didn't fail because all symbols in the CXXABI_1.3.14
version are already in the baseline_symbols.txt file, so none of them is
compared to the list of known_versions. That meant it didn't matter that
CXXABI_1.3.14 wasn't in the known versions.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-06-07 15:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-06 15:59 [committed] libstdc++: Update list of known symbol versions for abi-check Jonathan Wakely
2023-06-07  4:42 ` François Dumont
2023-06-07  8:06   ` Jonathan Wakely
2023-06-07 15:55     ` Jonathan Wakely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).