From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id WJlEBgYkB2Od2AAAbAwnHQ (envelope-from ) for ; Thu, 25 Aug 2022 09:25:58 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 4NtRBgYkB2M8BQAA9RJhRA (envelope-from ) for ; Thu, 25 Aug 2022 09:25:58 +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 D15F01B14C for ; Thu, 25 Aug 2022 09:25:57 +0200 (CEST) Received: from localhost ([::1]:34132 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oR7FU-000519-Pn for larch@yhetil.org; Thu, 25 Aug 2022 03:25:56 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37968) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oR7Ee-0004Su-9p for guix-patches@gnu.org; Thu, 25 Aug 2022 03:25:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59011) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oR7Ee-0006Jl-0O for guix-patches@gnu.org; Thu, 25 Aug 2022 03:25:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oR7Ed-0000BC-SH for guix-patches@gnu.org; Thu, 25 Aug 2022 03:25:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57086] [PATCH v3 2/7] gnu: libgccjit: Build with bootstrapped gcc. References: <4c232648145659a2c3edca6d32725d8120cc14d3.camel@gmail.com> In-Reply-To: <4c232648145659a2c3edca6d32725d8120cc14d3.camel@gmail.com> Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 25 Aug 2022 07:25:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57086 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57086@debbugs.gnu.org Received: via spool by 57086-submit@debbugs.gnu.org id=B57086.1661412277582 (code B ref 57086); Thu, 25 Aug 2022 07:25:03 +0000 Received: (at 57086) by debbugs.gnu.org; 25 Aug 2022 07:24:37 +0000 Received: from localhost ([127.0.0.1]:48746 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oR7EC-00009J-QI for submit@debbugs.gnu.org; Thu, 25 Aug 2022 03:24:37 -0400 Received: from mail-ej1-f68.google.com ([209.85.218.68]:46062) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oR7E9-00008O-5d for 57086@debbugs.gnu.org; Thu, 25 Aug 2022 03:24:34 -0400 Received: by mail-ej1-f68.google.com with SMTP id lx1so1379625ejb.12 for <57086@debbugs.gnu.org>; Thu, 25 Aug 2022 00:24:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:content-transfer-encoding:to:mime-version:subject:date :from:from:to:cc; bh=s6wYHS1jOGwgrjfIW5xsxR3WwtSnbZDt/Jz89RYU5DI=; b=JXQWbyLiytxpKVCgNOWJQYe7jOcJIyDh6Elt9OIy38ltOwKJ5mRB/JCYIOFKLjf16D 4Xyr4BAfBrSUQdh57N60XQy7bmG3yo//nBtX+FH2eRGWfIeRP/DUUdtCwNeYP1MJIrTX x7lYr+neYBkE5Wl6k9CQy5Np0umgwtY2s8IQfwNWnmcyzrMgSxXLMW7SUuiU8pYkVmTo HQSFEOLn5Th9PuGpYenNjs/EaI/wI3RU2/f72vgz/NSs9LHa8SRZnxjNn33e+CtTRfdu 2Ju85UvCcFv41My+t2lYnUdiVBx4RopkIuz/DfWIJfWWn3dkof6hT4DdyMtEbRi1vFbC ucFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=message-id:content-transfer-encoding:to:mime-version:subject:date :from:x-gm-message-state:from:to:cc; bh=s6wYHS1jOGwgrjfIW5xsxR3WwtSnbZDt/Jz89RYU5DI=; b=4eWOIaZdjHInlIC4pW0WqK+I107J0TEchBZi2duHJFuzf701RQK6JOOkl0Pz1L4V2B xV29WyZ7lQN+D3h1opDENVeKWn1UXVg0DOyVfYzn1tpIE7H76hPDq5xUMWJaIWbOLOLT Z3amJLrvT0MGc2sIO5igu6RDybuPky5Ank9ovwqIO0CrPClWp+FX4HAWAYdb2xkWMmf3 IbK6hNO4+6SARgQA8NmYO6TDBJUo2r0+eCQdLrGJA0ZHWHpM7UPfwBEX5nZbiTzWfjm8 mf2XRuEbQxqoF7IuPJCelHjWYrpR5kqcLJPtFcS+gq1PueM8R/B//2fLyTqQ3XyLERVt 6pLw== X-Gm-Message-State: ACgBeo2GcpSl2twFx9vwQ7zMMcWqGq+jhApz4ij6WUEjRkh3unPb5Mi/ PE7DYphRLscR8tgoU3cAuUpIitL1Q2U= X-Google-Smtp-Source: AA6agR7TekcrAiaE/5Ur7mAhmsRSqNAZ9iHWVAXeav0QLOp63QV1O5lhABHvKie/81R4nbJ/2k3wew== X-Received: by 2002:a17:907:9710:b0:731:67b1:dc3b with SMTP id jg16-20020a170907971000b0073167b1dc3bmr1543234ejc.709.1661412267514; Thu, 25 Aug 2022 00:24:27 -0700 (PDT) Received: from nijino.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id g2-20020a170906538200b0073d62cc3270sm2019690ejo.118.2022.08.25.00.24.26 for <57086@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Aug 2022 00:24:26 -0700 (PDT) From: Liliana Marie Prikler Date: Fri, 5 Aug 2022 20:27:48 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Message-ID: <703714ed433cfad77c9aa415ea03cbb92d948562.camel@gmail.com> 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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1661412357; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=s6wYHS1jOGwgrjfIW5xsxR3WwtSnbZDt/Jz89RYU5DI=; b=hwMMuBT3EYen336u8sQ9HunfQ9gpmJmmKo7afYj4al2W3pchoqBhUMbGGR5bNaxvI/6Jip Wc1AtFsL1r/OVoQz1YG4bsPIQVEMO8qZwqzkt7HZaQq1iWeFxBtY9oYAYtrWlXwewAExQc /VMT0aTif48KqYfCgpVdnEbY5MWoAFUenVtKAbZQHReJr/Pf+26Kgbs0HtUedtsz9LYt4/ 1sqHrKiIDnpiHhHV8a0ovGlnFzbvranakMtXQ20b5k6nirBo7R5bRNzdFK/xVO3BAuGrMV 0h8gqm6TWPi8ijhS7TE3AHUPa3neU9onrubj2WsFo4eJxNLUFSKG1IgZDlib+A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1661412357; a=rsa-sha256; cv=none; b=aDiVH1nnTGQvymjqD04JOlvWNXUQFCtwcyu8jdf8rNvKDVaIFl604Y4UMhRLDZ6zFwLCF2 +Bzpfh8zAPMambTGR8FAKqhiLIJIWyZxwpeqQSu08nH4feAF1vcrh+4bzkt17BKvRQ2Gu5 hcjoaMi1Lq2/PIcbS5yHrqN2dzFf0RSxZ12cdiPIy7XpKDCb+VliBtzjsDFtaNSoToXqxi BMkMiD4XQ6vwWK7AwXwhMaBMA6Rgda52blVrpOudzfF5EaYHykg8qABlnMS+1/XfO7Mc82 29RFVHsUzj1UoDTfVSThZ7a2QKK4aqCosQ/gFtZ9q2wFt70QyNpYNQNY2Awe0A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=JXQWbyLi; 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: 6.29 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=JXQWbyLi; 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-Queue-Id: D15F01B14C X-Spam-Score: 6.29 X-Migadu-Scanner: scn0.migadu.com X-TUID: OvPueHlERPzz * gnu/packages/gcc.scm (make-libgccjit)[#:configure-flags]: Add “--disable-bootstrap”, “--disable-libatomic”, “--disable-libgomp”, “--disable-libquadmath”, “--disable-libssp”, and “--enable-checking=release”. [inputs]: Remove libstdc++. [native-inputs]: Add gcc. --- gnu/packages/gcc.scm | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/gnu/packages/gcc.scm b/gnu/packages/gcc.scm index 66f0766646..4f7076d977 100644 --- a/gnu/packages/gcc.scm +++ b/gnu/packages/gcc.scm @@ -983,7 +983,13 @@ (define-public (make-libgccjit gcc) (srfi srfi-1) (srfi srfi-26))) ((#:configure-flags flags) - #~(cons* "--enable-host-shared" + #~(cons* "--disable-bootstrap" + "--disable-libatomic" + "--disable-libgomp" + "--disable-libquadmath" + "--disable-libssp" + "--enable-host-shared" + "--enable-checking=release" "--enable-languages=jit" (remove (cut string-match "--enable-languages.*" <>) #$flags))) @@ -995,6 +1001,10 @@ (define-public (make-libgccjit gcc) (find-files (string-append (assoc-ref outputs "out") "/bin") ".*(c\\+\\+|cpp|g\\+\\+|gcov|gcc|gcc-.*)")))))))) + (inputs (modify-inputs (package-inputs gcc) + (delete "libstdc++"))) + (native-inputs (modify-inputs (package-native-inputs gcc) + (prepend gcc))) (synopsis "GCC library generating machine code on-the-fly at runtime") (description "This package is part of the GNU Compiler Collection and provides an -- 2.37.2