From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id qGytEIV9WmQm+gAASxT56A (envelope-from ) for ; Tue, 09 May 2023 19:06:13 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 6AmZEIV9WmSv7AAA9RJhRA (envelope-from ) for ; Tue, 09 May 2023 19:06:13 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 08FEDF655 for ; Tue, 9 May 2023 19:06:13 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pwQmp-0006Ha-9m; Tue, 09 May 2023 13:06:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pwQmo-0006FY-8W for guix-patches@gnu.org; Tue, 09 May 2023 13:06:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pwQmn-000696-Vu for guix-patches@gnu.org; Tue, 09 May 2023 13:06:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pwQmn-0007qq-R7 for guix-patches@gnu.org; Tue, 09 May 2023 13:06:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63393] [PATCH 2/2] gnu: make-gcc-toolchain: Add 'lib' outputs. Resent-From: Simon Tournier Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 09 May 2023 17:06:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63393 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 63393@debbugs.gnu.org Cc: Simon Tournier Received: via spool by 63393-submit@debbugs.gnu.org id=B63393.168365193330142 (code B ref 63393); Tue, 09 May 2023 17:06:01 +0000 Received: (at 63393) by debbugs.gnu.org; 9 May 2023 17:05:33 +0000 Received: from localhost ([127.0.0.1]:44346 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pwQmL-0007q6-Gq for submit@debbugs.gnu.org; Tue, 09 May 2023 13:05:33 -0400 Received: from mail-wm1-f46.google.com ([209.85.128.46]:39147) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pwQmI-0007pn-C7 for 63393@debbugs.gnu.org; Tue, 09 May 2023 13:05:31 -0400 Received: by mail-wm1-f46.google.com with SMTP id 5b1f17b1804b1-3f42b429290so2342865e9.0 for <63393@debbugs.gnu.org>; Tue, 09 May 2023 10:05:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683651924; x=1686243924; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=bh/1yXXha0TWzsIQcfdAysgvyo8dgUasYfGjAhG2FLU=; b=EqG8I4ErW5joBIAGRBvrLQmL0lZFW0o1GpNDdGR61rvjGvOA4ewB55pxCI4YXig40H yQzcXdJZ7jY76TMhb0I2qV/gEK2j5ughHDbczpGf31HGijrN8DbANtOY8BJDFCIhrkVg bWj826s/RwKUmFZghaBMdBuKUqb/2DJHcgJB6IQzkfvE2TjlbU+X3ZKGsjDufiC2yAI3 Hl4L0aM0HdFY0eDRYAxwoI0I7C4LXk+dUJQV5edWsw5qpMlqbvvJA2QlzXqfvUSyUvH9 c3w/gdm1hSjOI5CtwtmKeVkSyBh5ZK7ZEFlgXp9xRjl6KzQ6E+5oP6YsTu7PDntuwG0F 7kUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683651924; x=1686243924; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=bh/1yXXha0TWzsIQcfdAysgvyo8dgUasYfGjAhG2FLU=; b=IVTdifc8iKOHBjLO5Q2eJymbv8oZHp6Uo3l17xoQ4/JCkLEggePi0Kj6LQJkDoPECh hKbLP7XvyLzlj2Mawqh0x//HIuvrycgXV051rTyYLQMR/PQG6xKRVGZhyVyjIjhwBL6M 1hbMHOxX8lacup5MmeBKIi+FgK/VTmyQ28eWnolPrh7HxoTjyJqhLktBKoIaYh9WcLrM IGGcgc+U/8C+GlM/4ZQ/XieuOZpkRqdJA+fS52pVh++RmLkPpY5w0nKckLxdzlp5arIc Gc2jWB6kniWWZhFxW5tlOOKSMqcpkhjDz/DB93mNNQNhBY4nzFvFeRwoJWyo79gpfVa7 9Dag== X-Gm-Message-State: AC+VfDyQUSVl4NYun3Ji6JB3iAYq6s1T3IIxIXgCuNbOTv5eHutoTxPv 01dR9wdxjZtmWkc4kNBvvN+T70CmZDQ= X-Google-Smtp-Source: ACHHUZ7k7Aa2+Lgt2yfzLxs6JRvk6aFQXtU6+0kPKExwseDUsJXfjPshdJHnUuTqXcEKlzbVZnq/8g== X-Received: by 2002:a05:600c:1c0e:b0:3f4:26ce:e7be with SMTP id j14-20020a05600c1c0e00b003f426cee7bemr4808416wms.3.1683651924370; Tue, 09 May 2023 10:05:24 -0700 (PDT) Received: from localhost.localdomain ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id c20-20020a7bc014000000b003ef64affec7sm20371185wmb.22.2023.05.09.10.05.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 May 2023 10:05:24 -0700 (PDT) From: Simon Tournier Date: Tue, 9 May 2023 19:04:05 +0200 Message-Id: X-Mailer: git-send-email 2.39.2 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Seal: i=1; s=key1; d=yhetil.org; t=1683651973; a=rsa-sha256; cv=none; b=II0q+nzhcVyMFoMwuc2XIwcFp53CWm6aATNakfD9C8HLh6crOVUTSJXMqEYr6sBmnUe3DA WlJKpMC4kD/i1mFZJ1hA3AAOz8EWPBXehWaFdpGl65DIxqSKF8fyJvwcpq1SP9l7o7dBtV oWqjiZV6en+OqXLhFr+cBKRoo4AWuuMssnGizfkAxRpta0WHIvVSkdbO472QusD3/rASdH a7/5WlrY38V1K9Gvmg4o0ZY5W62buPXAQ0t8AXyQG7aYRcI5Rpr4ZJCZYVbMGYaz6Lp0ON AmCaQ8aBi2ekKZ5Kxn+xoLo+88iJ6CDg71Ioorr0jpGxP7m/r6aRcFoi//f+zg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=EqG8I4Er; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1683651973; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=bh/1yXXha0TWzsIQcfdAysgvyo8dgUasYfGjAhG2FLU=; b=WKq4cd4bcgBm0QIxoB9n92jYsrcUOiYFLsDCJ25uuzzFTkEoknFy/fvDtT/kvhpof0fwDm tD8DR71KWwcO7qJbaPNPYkNcuWWpJ/1VxgCgYPS8hRpwZS9YlF0LVA0V+Yk7PdKsZZRG0t OK5Arvc9tLp88VmUxNoqKGXsE34e7atqg+MDHkQjJuVGNSUBS/wcS2kdh3h/G6VCgMhj1D 4UmEvgszuUsonJB4EBmZw56GfSiFoJvpYm09ayn56c7N3kORAmL4s5L9mZtomA+QhEGNp9 rIeqJq3jlbfuOgWGNV07gzcZyo/RahnnOyHkgNn60y8LPKtzODFogCY6qAz+0A== X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=EqG8I4Er; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 7.32 X-Spam-Score: 7.32 X-Migadu-Queue-Id: 08FEDF655 X-TUID: Hd+S+2yQ555J * gnu/packages/commencement.scm (make-gcc-toolchain): Add 'lib' outputs. --- gnu/packages/commencement.scm | 25 +++++++++++++++++++++---- 1 file changed, 21 insertions(+), 4 deletions(-) diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm index 7ec177e206..94d5884a9c 100644 --- a/gnu/packages/commencement.scm +++ b/gnu/packages/commencement.scm @@ -14,6 +14,7 @@ ;;; Copyright © 2021 Julien Lepiller ;;; Copyright © 2022 Ricardo Wurmus ;;; Copyright © 2022 Ekaitz Zarraga +;;; Copyright © 2023 Simon Tournier ;;; ;;; This file is part of GNU Guix. ;;; @@ -3444,15 +3445,30 @@ (define* (make-gcc-toolchain gcc (filter-map (match-lambda (("libc-debug" . _) #f) (("libc-static" . _) #f) + (("gcc-lib" . _) #f) + (("gcc-debug" . _) #f) ((_ . directory) directory)) %build-inputs)) (union-build (assoc-ref %outputs "debug") (list (assoc-ref %build-inputs - "libc-debug"))) + "libc-debug") + (assoc-ref %build-inputs + "gcc-debug"))) + (union-build (assoc-ref %outputs "static") (list (assoc-ref %build-inputs "libc-static"))) + + (union-build (assoc-ref %outputs "lib") + (list (assoc-ref %build-inputs + "ld-wrapper") + (assoc-ref %build-inputs + "binutils") + (assoc-ref %build-inputs + "gcc-lib") + (assoc-ref %build-inputs + "libc"))) #t)))) (native-search-paths @@ -3474,7 +3490,7 @@ (define* (make-gcc-toolchain gcc binaries, plus debugging symbols in the @code{debug} output), and Binutils. GCC is the GNU Compiler Collection.") (home-page "https://gcc.gnu.org/") - (outputs '("out" "debug" "static")) + (outputs '("out" "debug" "static" "lib")) ;; The main raison d'être of this "meta-package" is (1) to conveniently ;; install everything that we need, and (2) to make sure ld-wrapper comes @@ -3484,8 +3500,9 @@ (define* (make-gcc-toolchain gcc ("binutils" ,binutils-final) ("libc" ,libc) ("libc-debug" ,libc "debug") - ("libc-static" ,libc "static")))))) - + ("libc-static" ,libc "static") + ("gcc-lib" ,gcc "lib") + ("gcc-debug" ,gcc "debug")))))) (define-public gcc-toolchain-4.8 (make-gcc-toolchain gcc-4.8)) -- 2.38.1