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 29590158094 for ; Tue, 28 Jun 2022 05:56:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 61F56E08ED; Tue, 28 Jun 2022 05:56:23 +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 3613FE08ED for ; Tue, 28 Jun 2022 05:56:23 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2B0A8341227 for ; Tue, 28 Jun 2022 05:56:22 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 77933105 for ; Tue, 28 Jun 2022 05:56:20 +0000 (UTC) From: "Ionen Wolkens" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ionen Wolkens" Message-ID: <1656395731.681186074b74f271d43d680b920effa48c30eb0e.ionen@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/mingw64-toolchain/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/mingw64-toolchain/mingw64-toolchain-10.0.0-r1.ebuild dev-util/mingw64-toolchain/mingw64-toolchain-10.0.0.ebuild X-VCS-Directories: dev-util/mingw64-toolchain/ X-VCS-Committer: ionen X-VCS-Committer-Name: Ionen Wolkens X-VCS-Revision: 681186074b74f271d43d680b920effa48c30eb0e X-VCS-Branch: master Date: Tue, 28 Jun 2022 05:56:20 +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: 6d7490e5-8d68-4946-a455-7cc1b6b5eab5 X-Archives-Hash: 05f209a2001e3785a831f905337189e4 commit: 681186074b74f271d43d680b920effa48c30eb0e Author: Ionen Wolkens gentoo org> AuthorDate: Tue Jun 28 05:08:14 2022 +0000 Commit: Ionen Wolkens gentoo org> CommitDate: Tue Jun 28 05:55:31 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68118607 dev-util/mingw64-toolchain: symlink gcc lto plugin for AR Don't really want to revbump this slow build over a symlink, but it could be a long time before this is bumped normally and come bite back when people try to use LTO. Closes: https://bugs.gentoo.org/854516 Closes: https://bugs.gentoo.org/854540 Signed-off-by: Ionen Wolkens gentoo.org> ...64-toolchain-10.0.0.ebuild => mingw64-toolchain-10.0.0-r1.ebuild} | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dev-util/mingw64-toolchain/mingw64-toolchain-10.0.0.ebuild b/dev-util/mingw64-toolchain/mingw64-toolchain-10.0.0-r1.ebuild similarity index 97% rename from dev-util/mingw64-toolchain/mingw64-toolchain-10.0.0.ebuild rename to dev-util/mingw64-toolchain/mingw64-toolchain-10.0.0-r1.ebuild index 5347cee7ffdc..c0d573454f7f 100644 --- a/dev-util/mingw64-toolchain/mingw64-toolchain-10.0.0.ebuild +++ b/dev-util/mingw64-toolchain/mingw64-toolchain-10.0.0-r1.ebuild @@ -104,6 +104,11 @@ src_compile() { ln -sf {../${CTARGET}/bin/,"${sysroot}"/bin/${CTARGET}-}${bin##*/} || die done ln -sf ld.bfd "${sysroot}"/${CTARGET}/bin/ld || die + + # symlink gcc's lto plugin for AR (bug #854516) + mkdir "${sysroot}"/${CTARGET}/lib/bfd-plugins || die + ln -s ../../../libexec/gcc/${CTARGET}/${GCC_PV}/liblto_plugin.so \ + "${sysroot}"/${CTARGET}/lib/bfd-plugins || die } # gcc (minimal -- if need more, disable only in stage1 / enable in stage3)