public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH PR d/92792]: Committed reset libtool_VERSION to 1:0:0
@ 2020-03-16 16:29 Iain Buclaw
  0 siblings, 0 replies; only message in thread
From: Iain Buclaw @ 2020-03-16 16:29 UTC (permalink / raw)
  To: gcc-patches

Hi,

This patch resets the libphobos soversion.  Firstly, because Phobos,
being template heavy, makes no attempt at being backwards compatible
with previous versions.  Even improvements in attribute inference in the
compiler can have the effect of changing the mangling of many symbols,
which is what I think happened in the case of the PR.  Secondly, the
current versioning scheme corresponds to the upstream release version of
Phobos, which in hindsight was a mistake to have done.

Cc Matthias who has been running with this patch in Debian for a while
now.

https://sources.debian.org/src/gcc-10/10-20200312-2/debian/patches/libphobos-soversion.diff/

Bootstrapped and tested on x86_64-linux-gnu, and committed to trunk.

Regards
Iain.
---
libphobos/ChangeLog:

2020-03-16  Iain Buclaw  <ibuclaw@gdcproject.org>

	PR d/92792
	* Makefile.in: Regenerate.
	* configure: Regenerate.
	* configure.ac (libtool_VERSION): Reset to 1:0:0.
	* libdruntime/Makefile.in: Regenerate.

---
 libphobos/Makefile.in             | 2 +-
 libphobos/configure               | 2 +-
 libphobos/configure.ac            | 2 +-
 libphobos/libdruntime/Makefile.in | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/libphobos/Makefile.in b/libphobos/Makefile.in
index 4e6d0448525..6a774e96126 100644
--- a/libphobos/Makefile.in
+++ b/libphobos/Makefile.in
@@ -15,7 +15,7 @@
 @SET_MAKE@
 
 # Makefile for the toplevel directory of the D Standard library.
-# Copyright (C) 2006-2019 Free Software Foundation, Inc.
+# Copyright (C) 2006-2020 Free Software Foundation, Inc.
 #
 # GCC is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
diff --git a/libphobos/configure b/libphobos/configure
index 741e23ea7a8..9cad270b2eb 100755
--- a/libphobos/configure
+++ b/libphobos/configure
@@ -15359,7 +15359,7 @@ SPEC_PHOBOS_DEPS="$LIBS"
 
 
 # Libdruntime / phobos soname version
-libtool_VERSION=76:3:0
+libtool_VERSION=1:0:0
 
 
 # Set default flags (after DRUNTIME_WERROR!)
diff --git a/libphobos/configure.ac b/libphobos/configure.ac
index be4d85eaa9f..69c635f405b 100644
--- a/libphobos/configure.ac
+++ b/libphobos/configure.ac
@@ -201,7 +201,7 @@ SPEC_PHOBOS_DEPS="$LIBS"
 AC_SUBST(SPEC_PHOBOS_DEPS)
 
 # Libdruntime / phobos soname version
-libtool_VERSION=76:3:0
+libtool_VERSION=1:0:0
 AC_SUBST(libtool_VERSION)
 
 # Set default flags (after DRUNTIME_WERROR!)
diff --git a/libphobos/libdruntime/Makefile.in b/libphobos/libdruntime/Makefile.in
index 63422308c65..44361f9c818 100644
--- a/libphobos/libdruntime/Makefile.in
+++ b/libphobos/libdruntime/Makefile.in
@@ -15,7 +15,7 @@
 @SET_MAKE@
 
 # Makefile for the D runtime library.
-# Copyright (C) 2012-2019 Free Software Foundation, Inc.
+# Copyright (C) 2012-2020 Free Software Foundation, Inc.
 #
 # GCC is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
-- 
2.20.1


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-03-16 16:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-16 16:29 [PATCH PR d/92792]: Committed reset libtool_VERSION to 1:0:0 Iain Buclaw

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).