commit: f9db221ddfadd7518e96fb63d93d1edabc5b97eb Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Fri Nov 19 17:39:30 2021 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Fri Nov 19 17:41:56 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9db221d
sys-libs/libxcrypt: disable gold Disable gold as a precaution given report of odd behaviour (possible illegal instructions being emitted) with gold. It's not quite clear how this could happen but gold is already on its way out and I'd rather play it safe here pending more information. Bug: https://bugs.gentoo.org/821496 Signed-off-by: Sam James <sam <AT> gentoo.org> .../{libxcrypt-4.4.25.ebuild => libxcrypt-4.4.25-r1.ebuild} | 6 +++++- .../{libxcrypt-4.4.26.ebuild => libxcrypt-4.4.26-r1.ebuild} | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/sys-libs/libxcrypt/libxcrypt-4.4.25.ebuild b/sys-libs/libxcrypt/libxcrypt-4.4.25-r1.ebuild similarity index 97% rename from sys-libs/libxcrypt/libxcrypt-4.4.25.ebuild rename to sys-libs/libxcrypt/libxcrypt-4.4.25-r1.ebuild index e95748621284..d8f01115f15c 100644 --- a/sys-libs/libxcrypt/libxcrypt-4.4.25.ebuild +++ b/sys-libs/libxcrypt/libxcrypt-4.4.25-r1.ebuild @@ -7,7 +7,7 @@ PYTHON_COMPAT=( python3_{8..10} ) # NEED_BOOTSTRAP is for developers to quickly generate a tarball # for publishing to the tree. NEED_BOOTSTRAP="no" -inherit multibuild multilib python-any-r1 multilib-minimal +inherit multibuild multilib python-any-r1 toolchain-funcs multilib-minimal DESCRIPTION="Extended crypt library for descrypt, md5crypt, bcrypt, and others" HOMEPAGE="https://github.com/besser82/libxcrypt" @@ -97,6 +97,10 @@ src_prepare() { } src_configure() { + # Avoid possible "illegal instruction" errors with gold + # bug #821496 + tc-ld-disable-gold + multibuild_foreach_variant multilib-minimal_src_configure } diff --git a/sys-libs/libxcrypt/libxcrypt-4.4.26.ebuild b/sys-libs/libxcrypt/libxcrypt-4.4.26-r1.ebuild similarity index 97% rename from sys-libs/libxcrypt/libxcrypt-4.4.26.ebuild rename to sys-libs/libxcrypt/libxcrypt-4.4.26-r1.ebuild index dca937cb958a..5d0f0cffee7d 100644 --- a/sys-libs/libxcrypt/libxcrypt-4.4.26.ebuild +++ b/sys-libs/libxcrypt/libxcrypt-4.4.26-r1.ebuild @@ -7,7 +7,7 @@ PYTHON_COMPAT=( python3_{8..10} ) # NEED_BOOTSTRAP is for developers to quickly generate a tarball # for publishing to the tree. NEED_BOOTSTRAP="no" -inherit multibuild multilib python-any-r1 multilib-minimal +inherit multibuild multilib python-any-r1 toolchain-funcs multilib-minimal DESCRIPTION="Extended crypt library for descrypt, md5crypt, bcrypt, and others" HOMEPAGE="https://github.com/besser82/libxcrypt" @@ -97,6 +97,10 @@ src_prepare() { } src_configure() { + # Avoid possible "illegal instruction" errors with gold + # bug #821496 + tc-ld-disable-gold + multibuild_foreach_variant multilib-minimal_src_configure }
