From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0388815800F for ; Sat, 14 Jan 2023 19:17:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 49C52E08F2; Sat, 14 Jan 2023 19:17:33 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E3E41E08F3 for ; Sat, 14 Jan 2023 19:17:32 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BFCFC340ED4 for ; Sat, 14 Jan 2023 19:17:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E620E865 for ; Sat, 14 Jan 2023 19:17:28 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1673723677.7ca22bfaf0bfcc2ae757213baf363f18bdd47f34.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/libxcrypt/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-libs/libxcrypt/libxcrypt-4.4.28-r2.ebuild sys-libs/libxcrypt/libxcrypt-4.4.33.ebuild X-VCS-Directories: sys-libs/libxcrypt/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 7ca22bfaf0bfcc2ae757213baf363f18bdd47f34 X-VCS-Branch: master Date: Sat, 14 Jan 2023 19:17:28 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 40e35eb0-3012-4cd7-a84e-579be5660f6a X-Archives-Hash: b739d77ec4591b98435cdb702411059f commit: 7ca22bfaf0bfcc2ae757213baf363f18bdd47f34 Author: WANG Xuerui gentoo org> AuthorDate: Fri Jan 13 07:28:42 2023 +0000 Commit: Sam James gentoo org> CommitDate: Sat Jan 14 19:14:37 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ca22bfa sys-libs/libxcrypt: fix build with lld-16 Signed-off-by: WANG Xuerui gentoo.org> Signed-off-by: Sam James gentoo.org> sys-libs/libxcrypt/libxcrypt-4.4.28-r2.ebuild | 7 +++++++ sys-libs/libxcrypt/libxcrypt-4.4.33.ebuild | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/sys-libs/libxcrypt/libxcrypt-4.4.28-r2.ebuild b/sys-libs/libxcrypt/libxcrypt-4.4.28-r2.ebuild index aadddc16912a..4e9c2fb26ca2 100644 --- a/sys-libs/libxcrypt/libxcrypt-4.4.28-r2.ebuild +++ b/sys-libs/libxcrypt/libxcrypt-4.4.28-r2.ebuild @@ -129,6 +129,13 @@ src_configure() { # https://github.com/besser82/libxcrypt/issues/24 filter-lto + # ideally we want !tc-ld-is-bfd for best future-proofing, but it needs + # https://github.com/gentoo/gentoo/pull/28355 + # mold needs this too but right now tc-ld-is-mold is also not available + if tc-ld-is-lld; then + append-ldflags -Wl,--undefined-version + fi + multibuild_foreach_variant multilib-minimal_src_configure } diff --git a/sys-libs/libxcrypt/libxcrypt-4.4.33.ebuild b/sys-libs/libxcrypt/libxcrypt-4.4.33.ebuild index a793f41d2d62..b8e357fe4526 100644 --- a/sys-libs/libxcrypt/libxcrypt-4.4.33.ebuild +++ b/sys-libs/libxcrypt/libxcrypt-4.4.33.ebuild @@ -131,6 +131,13 @@ src_configure() { # https://github.com/besser82/libxcrypt/issues/24 filter-lto + # ideally we want !tc-ld-is-bfd for best future-proofing, but it needs + # https://github.com/gentoo/gentoo/pull/28355 + # mold needs this too but right now tc-ld-is-mold is also not available + if tc-ld-is-lld; then + append-ldflags -Wl,--undefined-version + fi + multibuild_foreach_variant multilib-minimal_src_configure }