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 7158015817D for ; Sun, 16 Jun 2024 13:47:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BAD842BC019; Sun, 16 Jun 2024 13:47:15 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 A76222BC019 for ; Sun, 16 Jun 2024 13:47:15 +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 EC3BD33BF39 for ; Sun, 16 Jun 2024 13:47:14 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5A83014B0 for ; Sun, 16 Jun 2024 13:47:13 +0000 (UTC) From: "Luca Barbato" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Luca Barbato" Message-ID: <1718545607.9b82332fb2a1068640c07c60f627fb6779f28a3b.lu_zero@gentoo> Subject: [gentoo-commits] proj/crossdev:master commit in: / X-VCS-Repository: proj/crossdev X-VCS-Files: crossdev X-VCS-Directories: / X-VCS-Committer: lu_zero X-VCS-Committer-Name: Luca Barbato X-VCS-Revision: 9b82332fb2a1068640c07c60f627fb6779f28a3b X-VCS-Branch: master Date: Sun, 16 Jun 2024 13:47:13 +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: 7915c20b-11f4-4de9-a40c-4a921622a337 X-Archives-Hash: bcae3cd51219f53f5e413de9ea306fee commit: 9b82332fb2a1068640c07c60f627fb6779f28a3b Author: Luca Barbato gentoo org> AuthorDate: Thu Jun 13 18:26:09 2024 +0000 Commit: Luca Barbato gentoo org> CommitDate: Sun Jun 16 13:46:47 2024 +0000 URL: https://gitweb.gentoo.org/proj/crossdev.git/commit/?id=9b82332f crossdev: Force static-libs for -gnu targets Without `static-libs`, the configure check for `-static` would fail and it leads to a cascade failure in finding `-lpthread` in stage2 gcc. Closes: https://github.com/gentoo/crossdev/pull/21 Signed-off-by: Luca Barbato gentoo.org> crossdev | 3 +++ 1 file changed, 3 insertions(+) diff --git a/crossdev b/crossdev index 6de317a..020d17c 100755 --- a/crossdev +++ b/crossdev @@ -354,6 +354,9 @@ parse_target() { ;; *-gnu*) LPKG="glibc" + # gcc would not find -lpthread without static libraries while building + # its copy of libgomp. + LUSE+=" static-libs" ;; *-klibc) LPKG="klibc"