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 <ibuc...@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