From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 06 09:14:43 2018 Received: (at submit) by debbugs.gnu.org; 6 Oct 2018 13:14:43 +0000 Received: from localhost ([127.0.0.1]:38351 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g8mPr-0002lR-KN for submit@debbugs.gnu.org; Sat, 06 Oct 2018 09:14:43 -0400 Received: from eggs.gnu.org ([208.118.235.92]:51398) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g8mPo-0002lC-VY for submit@debbugs.gnu.org; Sat, 06 Oct 2018 09:14:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g8mPi-0008RK-M6 for submit@debbugs.gnu.org; Sat, 06 Oct 2018 09:14:35 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:40225) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1g8mPi-0008Qd-FW for submit@debbugs.gnu.org; Sat, 06 Oct 2018 09:14:34 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60996) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g8mPh-0005Vw-AZ for guix-patches@gnu.org; Sat, 06 Oct 2018 09:14:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g8mPd-0008Jr-5g for guix-patches@gnu.org; Sat, 06 Oct 2018 09:14:33 -0400 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:51579) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1g8mPc-0008E3-Vq for guix-patches@gnu.org; Sat, 06 Oct 2018 09:14:29 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id C1B7C21FEA for ; Sat, 6 Oct 2018 09:14:22 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Sat, 06 Oct 2018 09:14:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= from:to:subject:date:message-id:mime-version :content-transfer-encoding; s=fm1; bh=dsb44tbuLzDVsmJYX9DOepwIVm x2jg6/WKibj8JZwcI=; b=sIi5LzEkBZ7705PoFPEaFrNQHmF/kYrU0BIsKf47lY ks57rkKKy9cSPQIQKFxV5A5tC0HDD3mYRZMoZJIpl89QRb3UVIxTqVZwbXTYyoc9 I1aQQQhznqilC2OKUNHxpzTXvKz9zYewa3Qvc/1gaB1RGeJWJUXYPfddKWyPkzEb zuSthnaIy4/xCc+HEUjslacaoPZZu4dH12rxv3V3sE+vHvJb9KzrjOzoUCOhTPZ1 gIuxKpd9LnJUGUuCOMGF9k97FCh27J8cJtzAcfknw7paBOcEs42Lr+5sULUw5E31 kJhAiJWCjxYtvLQiNV8uYxQi8yDi1p54MYOu7nxoHIpQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:date:from :message-id:mime-version:subject:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=dsb44tbuLzDVsmJYX 9DOepwIVmx2jg6/WKibj8JZwcI=; b=FGdrylrmrBFKt5quu46RG2lUW0isVBoGY JM4yPEvhDl0Nehqzm7vDDGt+M9IwlcXJK9uevr2FaMKvGjEiQe1zz6P2h7sgxvSb OUUHmLhn2ZrMrdHhWZBHrX4OQa+/7tNfFU4uanOKGSpXeX6ZoYj14laV55Iuz5+x gOgUXpzjeaoQr981Iptit6NsyPaohtrUdryeQ3eo5A2VxPwO2gUORmYA5NyroCx7 BfrU34Y8QkW+VQBKixhByt9W91sEZEziE5R0i9EGOrxnPg2m8DSRqUOaIrsGfT8H wE+DGnmv6vTIyI8H6PrFp++JQ0t9RjNyPtubIJXN5ELGukVOIFkHA== X-ME-Sender: X-ME-Proxy: Received: from localhost (140.226.16.62.customer.cdi.no [62.16.226.140]) by mail.messagingengine.com (Postfix) with ESMTPA id 2E195102E8 for ; Sat, 6 Oct 2018 09:14:22 -0400 (EDT) From: Marius Bakke To: guix-patches@gnu.org Subject: [PATCH core-updates-next 0/8] Use GCC7 as the default compiler. Date: Sat, 6 Oct 2018 15:14:20 +0200 Message-Id: <20181006131420.8131-1-mbakke@fastmail.com> X-Mailer: git-send-email 2.19.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.3 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.3 (-----) Guix, Here are patches that allow building the world with GCC7. The cross-toolchain and bootstrap tarballs need more work, but native x86_64 at least is largely fine. Marius Bakke (8): gnu: Remove gcc-for-libstdc++. gnu: libstdc++-boot0: Improve gcc-wrapper workaround. gnu: gcc-boot0: Improve gcc-wrapper workarounds. gnu: Remove duplicate linux-libre-headers package from bootstrap inputs. gnu: Use GCC 7 as the default compiler. gnu: python: Fix FTBFS with GCC >= 6. gnu: cmake: Try CPATH and C_INCLUDE_PATH when finding system libraries. gnu: cppunit: Update to 1.14.0. gnu/packages/check.scm | 21 +----- gnu/packages/cmake.scm | 3 +- gnu/packages/commencement.scm | 74 +++++++++---------- gnu/packages/gcc.scm | 8 +- gnu/packages/libreoffice.scm | 2 +- .../patches/python-2.7-search-paths.patch | 4 +- .../patches/python-3-search-paths.patch | 4 +- 7 files changed, 49 insertions(+), 67 deletions(-) -- 2.19.0 From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 06 09:16:43 2018 Received: (at 32953) by debbugs.gnu.org; 6 Oct 2018 13:16:43 +0000 Received: from localhost ([127.0.0.1]:38361 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g8mRn-0002pI-1r for submit@debbugs.gnu.org; Sat, 06 Oct 2018 09:16:43 -0400 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:50889) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g8mRl-0002p4-35 for 32953@debbugs.gnu.org; Sat, 06 Oct 2018 09:16:41 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id E20EA21FE8 for <32953@debbugs.gnu.org>; Sat, 6 Oct 2018 09:16:40 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Sat, 06 Oct 2018 09:16:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= from:to:subject:date:message-id:mime-version :content-transfer-encoding; s=fm1; bh=jy2m2xjQ8s94+incv/3bzeMMGY TFAguEgm/C880CeP4=; b=BOoNDarH60Db0xurRNMOhEmLLVLufsB6tJeEuXhkFx cQaJCk+fRsBNxoJrPFrjVrMBKyxlBR/8kLnnmSAkIg3iEuQI1rbqBzjUrIIyy9te QDVSvksTRYO7joipu5GgtyhEBik4SSkdIo3b0t7UI81jRW3W5+FOnxQ2KufDUzTv IDDONwbDHSTxcRZZHp1do8+onu7yAz8ti4i8PR2RTkO+DH3/MCW5C8IUAhYJ88ca O2ZjqBylVIVZMEXo3jS14ti4PJmo5ZCyzjGISjLVs6yH8YH4obbiFC9qp8GOQCiU pjWiSvUAXjZtpaNeW3VUYFqyEUnfHg/6IX3U1JejpeiQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:date:from :message-id:mime-version:subject:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=jy2m2xjQ8s94+incv /3bzeMMGYTFAguEgm/C880CeP4=; b=VCmu0INin57SHiv93R2qIZ7xb1koeYwTI mye8dQau1QPLkhaQGDHQmwuVYMUKjkLluqQinEzyr2orER9WbxUc0y7KCEmzSd8z 4vsINXm1DqfYpSLcfbAi7PZeAPHnggRdwTujjqbSh1eP92BuHs5fCqcfy00KEgvp FtVX6k6S+bLtb3hRpndISSSq5NQu7Uf50VxsDgLRfbqhmVkMAN+zDnc6GY74o0x0 oBLLlnvQ/yAXfooUax2QxIW4835Um0PkgbKw05gyh7M0h357ZWqONUr1J9AEFlZN bAsBjt9AKPpYhTTiTpq4XYVjIBU1NLi6w45oY3GUEbcwgjIJo0qRA== X-ME-Sender: X-ME-Proxy: Received: from localhost (140.226.16.62.customer.cdi.no [62.16.226.140]) by mail.messagingengine.com (Postfix) with ESMTPA id 54E60102A0 for <32953@debbugs.gnu.org>; Sat, 6 Oct 2018 09:16:40 -0400 (EDT) From: Marius Bakke To: 32953@debbugs.gnu.org Subject: [PATCH core-updates-next 1/8] gnu: Remove gcc-for-libstdc++. Date: Sat, 6 Oct 2018 15:16:32 +0200 Message-Id: <20181006131639.8424-1-mbakke@fastmail.com> X-Mailer: git-send-email 2.19.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 32953 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) * gnu/packages/commencement.scm (gcc-for-libstdc++): Remove variable. (libstdc++-boot0): Inherit GCC-4.9 instead. --- gnu/packages/commencement.scm | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm index 4c7a38134..46d2a4629 100644 --- a/gnu/packages/commencement.scm +++ b/gnu/packages/commencement.scm @@ -1699,25 +1699,12 @@ exec " gcc "/bin/" program ,cf))))) (inputs (%boot0-inputs))))) -;; Use a "fixed" package source for this early libstdc++ variant so we can -;; update GCC 4.9 without triggering a full rebuild. -(define gcc-for-libstdc++ - (package - (inherit gcc-4.9) - (source (origin - (inherit (package-source gcc-4.9)) - (patches (search-patches "gcc-4.9-libsanitizer-fix.patch" - "gcc-arm-bug-71399.patch" - "gcc-asan-missing-include.patch" - "gcc-libvtv-runpath.patch" - "gcc-fix-texi2pod.patch")))))) - (define libstdc++-boot0 ;; GCC's libcc1 is always built as a shared library (the top-level ;; 'Makefile.def' forcefully adds --enable-shared) and thus needs to refer ;; to libstdc++.so. We cannot build libstdc++-5.3 because it relies on ;; C++14 features missing in some of our bootstrap compilers. - (let ((lib (package-with-bootstrap-guile (make-libstdc++ gcc-for-libstdc++)))) + (let ((lib (package-with-bootstrap-guile (make-libstdc++ gcc-4.9)))) (package (inherit lib) (name "libstdc++-boot0") -- 2.19.0 From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 06 09:16:43 2018 Received: (at 32953) by debbugs.gnu.org; 6 Oct 2018 13:16:43 +0000 Received: from localhost ([127.0.0.1]:38363 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g8mRn-0002pK-9s for submit@debbugs.gnu.org; Sat, 06 Oct 2018 09:16:43 -0400 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:33045) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g8mRm-0002pC-Ji for 32953@debbugs.gnu.org; Sat, 06 Oct 2018 09:16:42 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 8B8B720946 for <32953@debbugs.gnu.org>; Sat, 6 Oct 2018 09:16:42 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Sat, 06 Oct 2018 09:16:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= from:to:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=fm1; bh=jaqpEM1BD3jGT pckAo0tF9Q/QfS/1A7t9wh60RDPBv0=; b=FHykdzNyLF8Xt3l91YxhFPUG00oHf 8nwx6OlKmg58Df+iWgv86YunvvEJzFP1RqD6j7RMIUjLaBtfbFKMH0xI6QWuWv9P ADdfkEDz0AeompHkDLSwMKq+BsbhJ+UflTPTpdvREON7PHurcAU3A8i+TG9gR7QC zUCSmk1jaPR4ffpHqgs81DRTRWQbg7l4XM/cdMWZMd7mIbE0WNHnPoZ/HsSkWakr IVz3ZPYNX1BTTtpegRHZC2/44BVBPC7KDsZycLvaBQxjW+Ovi5dbu26VtQIFqFve eoGroVrLlsFvL6S6FvbjjJqws/oIxek/OZsj8Jvb530uo3zXX1clVMixg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; bh=jaqpEM1BD3jGTpckAo0tF9Q/QfS/1A7t9wh60RDPBv0=; b=N6v1OzI/ YZkhSmp+nDwieAffiZxeNki1Gmruj1dsP3wPsNhT7W7jT8llTs/0Jai+AJZk7OAG 8pyCjcZ+mDg/iS8qz8SHXppIhiU4E8vU6Cq9dDNne7QnPV1011CaVAPVY+Aq8jsu 6Ko7de1kf+ZYyCV3AMtuUgpVwCz4ldrIADH/jsk9Axpgk1ftsG3k8REIGuConyy5 KUuunYj4APdfeEiIk2FoOEB1/fzHltRfagOHLyqCQ8xYVusnYqD9tinZnZpGU/0a BKAvXqe7zg+DnxIMPtO90wY8Kt+c/SD8p1CPIu7XIpow2rgCp7kUV883te2dIWG7 +1VboAP6hYjjaw== X-ME-Sender: X-ME-Proxy: Received: from localhost (140.226.16.62.customer.cdi.no [62.16.226.140]) by mail.messagingengine.com (Postfix) with ESMTPA id E7A8A102A0 for <32953@debbugs.gnu.org>; Sat, 6 Oct 2018 09:16:41 -0400 (EDT) From: Marius Bakke To: 32953@debbugs.gnu.org Subject: [PATCH core-updates-next 2/8] gnu: libstdc++-boot0: Improve gcc-wrapper workaround. Date: Sat, 6 Oct 2018 15:16:33 +0200 Message-Id: <20181006131639.8424-2-mbakke@fastmail.com> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20181006131639.8424-1-mbakke@fastmail.com> References: <20181006131639.8424-1-mbakke@fastmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 32953 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) * gnu/packages/commencement.scm (libstdc++-boot0): Adjust the configure script instead of copying libstdc++.so from %BOOT0-INPUTS. --- gnu/packages/commencement.scm | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm index 46d2a4629..c4f112578 100644 --- a/gnu/packages/commencement.scm +++ b/gnu/packages/commencement.scm @@ -1720,17 +1720,13 @@ exec " gcc "/bin/" program (substitute-keyword-arguments (package-arguments lib) ((#:phases phases) `(modify-phases ,phases - ;; FIXME: why doesn't this package build libstdc++.so.6.0.20, - ;; when gcc-mesboot builds it fine? - ;; libtool: install: /gnu/store/7swwdnq02lqk4xkd8740fxdj1h4va38l-bootstrap-binaries-0/bin/install -c .libs/libstdc++.so.6.0.20 /gnu/store/np5pmdlwfin3vmqk88chh0fgs0ncki79-libstdc++-boot0-4.8.5/lib/libstdc++.so.6.0.20 - ;; /gnu/store/7swwdnq02lqk4xkd8740fxdj1h4va38l-bootstrap-binaries-0/bin/install: cannot stat '.libs/libstdc++.so.6.0.20': No such file or directory - (add-after 'build 'copy-libstdc++- - (lambda* (#:key outputs #:allow-other-keys) - (let ((gcc (assoc-ref %build-inputs "gcc")) - (out (assoc-ref outputs "out"))) - (copy-file (string-append gcc "/lib/libstdc++.so.6.0.20") - (string-append "src/.libs/libstdc++.so.6.0.20")) - #t))))))) + (add-after 'unpack 'workaround-wrapper-bug + ;; XXX: The crude gcc-cross-wrapper causes "g++ -v" to + ;; fail, which in turn confuses the configure script. + (lambda _ + (substitute* "libstdc++-v3/configure" + (("g\\+\\+ -v") "true")) + #t)))))) (_ (package-arguments lib))))) (inputs (%boot0-inputs)) (native-inputs '())))) -- 2.19.0 From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 06 09:16:45 2018 Received: (at 32953) by debbugs.gnu.org; 6 Oct 2018 13:16:45 +0000 Received: from localhost ([127.0.0.1]:38368 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g8mRp-0002pe-Hc for submit@debbugs.gnu.org; Sat, 06 Oct 2018 09:16:45 -0400 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:51429) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g8mRo-0002pX-6x for 32953@debbugs.gnu.org; Sat, 06 Oct 2018 09:16:44 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 1CBF520C9A for <32953@debbugs.gnu.org>; Sat, 6 Oct 2018 09:16:44 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Sat, 06 Oct 2018 09:16:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= from:to:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=fm1; bh=ENFUKWf9lWswz mwhm+1Fm+UiA79S1CKNqD7/zyTccnM=; b=rxKP4Ttbg84h6niYXYOsJKI8SGPCa iF9r4hyhprROf3UBMKtV8O+pAl/WnxKLFWbyY55i28/6lx5AbxACsepFJAdhhsXO 5VpDMDq4NzLqO7CuKji9jJk5hywEgj2H4Nq7PcNPsHqZIj/GlANWuJEOber42Ztf 8hHsdjuiXl/2u+VPFR/ky29jt0emzmuB8zhIjl9cbkSjF51EsqLx59twAcILIR9+ l2otUvkORKpdvmEwcg8n4B9qDJlfhhGlwHgjehdd4GUu4hyWh6RTm8d1QtSFBPe3 JRe+uqMJUHGquAwwyxdwxNrRBO6DOx4hgw0VzQodyIB5+caroFhUCGOqg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; bh=ENFUKWf9lWswzmwhm+1Fm+UiA79S1CKNqD7/zyTccnM=; b=RF3QrJPf DlwlaoI9IQ38TDpRUMSXuszF/CfRO/B4BfR/6eilyfJFDZwYNXuPB6bGPoobxZq7 RhXOxFN12FFjDBSp88NZ6iKtUQyy8X32uKE5kuuHqdp7H7O/HKMBkVTmpxD17cBg jjetgUz6DgrekWdpN26spAQ6wbjZzp4KlkmERjrfDIPlVKs8R1wAN5CFuAPQSBOB nMcHupBVSOT6FwJkoyqnTIxe++z+zOfcOtuppJeCWZdDJhCGAtN8ww/cu6CWXw2H Oo+f2wpc8E5Ny/jv+m/fqI7senyPXmy4qF8+eMQH9vntr5gpldlr2L3Eo7nkapnz s5yvojELcjXgLg== X-ME-Sender: X-ME-Proxy: Received: from localhost (140.226.16.62.customer.cdi.no [62.16.226.140]) by mail.messagingengine.com (Postfix) with ESMTPA id 85F8D102D7 for <32953@debbugs.gnu.org>; Sat, 6 Oct 2018 09:16:43 -0400 (EDT) From: Marius Bakke To: 32953@debbugs.gnu.org Subject: [PATCH core-updates-next 3/8] gnu: gcc-boot0: Improve gcc-wrapper workarounds. Date: Sat, 6 Oct 2018 15:16:34 +0200 Message-Id: <20181006131639.8424-3-mbakke@fastmail.com> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20181006131639.8424-1-mbakke@fastmail.com> References: <20181006131639.8424-1-mbakke@fastmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 32953 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) * gnu/packages/commencement.scm (gcc-boot0)[arguments]: Adjust the libcc1 build scripts instead of copying libcc1.so from %BOOT0-INPUTS. --- gnu/packages/commencement.scm | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm index c4f112578..5bfd314c6 100644 --- a/gnu/packages/commencement.scm +++ b/gnu/packages/commencement.scm @@ -1810,13 +1810,18 @@ exec " gcc "/bin/" program #t))) ,(match (%current-system) ((or "i686-linux" "x86_64-linux") - '(add-after 'build 'libtool-workaround - (lambda _ - ;; libtool: install: /gnu/store/7swwdnq02lqk4xkd8740fxdj1h4va38l-bootstrap-binaries-0/bin/install -c .libs/libcc1.so.0.0.0 /gnu/store/8qf47i99nxz9jvrmq5va0g3q1yvs3x74-gcc-cross-boot0-5.5.0-lib/lib/./libcc1.so.0.0.0 - ;; /gnu/store/7swwdnq02lqk4xkd8740fxdj1h4va38l-bootstrap-binaries-0/bin/install: cannot stat '.libs/libcc1.so.0.0.0': No such file or directory - (system* "touch" - "libcc1/.libs/libcc1.so.0.0.0" - "libcc1/.libs/libcc1plugin.so.0.0.0")))) + '(add-before 'configure 'fix-libcc1 + (lambda* (#:key inputs #:allow-other-keys) + ;; libcc1.so NEEDs libgcc_s.so, so provide one here + ;; to placate the 'validate-runpath' phase. + (substitute* "libcc1/Makefile.in" + (("la_LDFLAGS =") + (string-append "la_LDFLAGS = -Wl,-rpath=" + (assoc-ref inputs "gcc") "/lib"))) + ;; XXX: "g++ -v" is broken (see also libstdc++ above). + (substitute* "libcc1/configure" + (("g\\+\\+ -v") "true")) + #t))) (_ identity)) (add-after 'install 'symlink-libgcc_eh (lambda* (#:key outputs #:allow-other-keys) -- 2.19.0 From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 06 09:16:47 2018 Received: (at 32953) by debbugs.gnu.org; 6 Oct 2018 13:16:47 +0000 Received: from localhost ([127.0.0.1]:38373 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g8mRq-0002pu-Qn for submit@debbugs.gnu.org; Sat, 06 Oct 2018 09:16:47 -0400 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:40447) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g8mRp-0002pf-Om for 32953@debbugs.gnu.org; Sat, 06 Oct 2018 09:16:45 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id B2A17211EC for <32953@debbugs.gnu.org>; Sat, 6 Oct 2018 09:16:45 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Sat, 06 Oct 2018 09:16:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= from:to:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=fm1; bh=BwwcMf/MOAEum yG58OXjmGDJ9LViTyTPKUX6RhEKUY0=; b=G0T1VJ10xIUyrB6YxUrLs5sA+jnWk 7fHCfHQ2lMMMSIP2LriD3vgnzNMiLkHeGc2/eazxN/svj3N0iuKTrhMcgCX9JSu2 x65yhcI7WXAVEHXfXTpdFpfOB/NrkZyhOV3cvqlCu9uPdCjnINoUWiOxFH6oPbV6 GojlqmwHPnN+hSsBlml+9zvq+e6C5m64xeI2vI7/79ui6bX0mLR/3NLeYp789bmq 3kT7VKze6UkJ3a4MVpfZvUEgNzwiw1JP73pTSMU0CilLlw1PPnHXy8E6y2CxeaW8 kqYwEilrgHFJ0HUv81VFcqiyy4zMJIMHzp/l0X+bfJ4EphhSt/YtxM0VQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; bh=BwwcMf/MOAEumyG58OXjmGDJ9LViTyTPKUX6RhEKUY0=; b=j9VpvD+s hfooOI9IlJE95oyog+RXTM4ieR0FzaD2tc6tf/Utp0XEonGiGpapNr3EXDFwtH7k AOygmWh5KTHi+dLwc2oFxRjlY/GYBfuvyQ6OacvZvxMUR+1idM1U15qJVDrSGWIE 8BlyJhB0B9xokQPNJFJmZU9uHoyqLtbErYzLLST7d+UPjl2NwW14Yl36/mZwPMiM 21/zsCRJCtsxiuH4oLp8KV0PaqgJYRoSYO+JZUblbSY9W6sTTrEv1TUbLMRoHgWI W0YsZVAYVo11DP2shtq31efWaEsGVjdA7DauHuy2H5V/QaMyamZo29Nzfx26M4GB ABAkEs/2aC2nqQ== X-ME-Sender: X-ME-Proxy: Received: from localhost (140.226.16.62.customer.cdi.no [62.16.226.140]) by mail.messagingengine.com (Postfix) with ESMTPA id 1D1FF102A0 for <32953@debbugs.gnu.org>; Sat, 6 Oct 2018 09:16:45 -0400 (EDT) From: Marius Bakke To: 32953@debbugs.gnu.org Subject: [PATCH core-updates-next 4/8] gnu: Remove duplicate linux-libre-headers package from bootstrap inputs. Date: Sat, 6 Oct 2018 15:16:35 +0200 Message-Id: <20181006131639.8424-4-mbakke@fastmail.com> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20181006131639.8424-1-mbakke@fastmail.com> References: <20181006131639.8424-1-mbakke@fastmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 32953 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) GLIBC-FINAL already propagates linux-libre-headers, so drop the bootstrap input. * gnu/packages/commencement.scm (%boot2-inputs): Remove %BOOTSTRAP-LINUX-LIBRE-HEADERS. --- gnu/packages/commencement.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm index 5bfd314c6..6dfa89315 100644 --- a/gnu/packages/commencement.scm +++ b/gnu/packages/commencement.scm @@ -2274,7 +2274,7 @@ exec ~a/bin/~a-~a -B~a/lib -Wl,-dynamic-linker -Wl,~a/~a \"$@\"~%" `(("libc" ,glibc-final) ("libc:static" ,glibc-final "static") ("gcc" ,(gcc-boot0-wrapped)) - ,@(fold alist-delete (%boot1-inputs) '("libc" "gcc")))) + ,@(fold alist-delete (%boot1-inputs) '("libc" "gcc" "linux-libre-headers")))) (define binutils-final (package-with-bootstrap-guile -- 2.19.0 From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 06 09:16:49 2018 Received: (at 32953) by debbugs.gnu.org; 6 Oct 2018 13:16:49 +0000 Received: from localhost ([127.0.0.1]:38381 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g8mRt-0002qA-2m for submit@debbugs.gnu.org; Sat, 06 Oct 2018 09:16:49 -0400 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:47503) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g8mRr-0002q2-CW for 32953@debbugs.gnu.org; Sat, 06 Oct 2018 09:16:47 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 5595C21949 for <32953@debbugs.gnu.org>; Sat, 6 Oct 2018 09:16:47 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Sat, 06 Oct 2018 09:16:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= from:to:subject:date:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; s=fm1; bh= Cylm0zVhznh21ozTIFKIDLRPhvU/yeNYZWiAEPLRyWQ=; b=PFqU0+C172KbKbiN Z+zE5VwinArPkoGHwYxmyaBqLusC76ZjydqRDqRUlyxw+8PlZ3auCu2BuZ/6Jmd8 sZS1aCOuAgMQ7Eq8bZiLGuFYa7msH6ZjaeVu8Mftg9ou+l7H0ys2+zZ/eGweK5dz //MluLHZ8tRrjr7X1gAUrOjKrEStwAx1xHKe9GRFqXGizyFO5fNEcQXxUKWweHjF tYQw9QznTeIrLbo0poWQML7t4/Q3/2ahe3nCK/kzj2/0aaZz9rPgQ9NWcxlhFwXo UtfDxG6DePbCpOLOLT0vajI6ht/Fc4xQtWkMO4HjfR66c2IRr7NYLDvvT6Z8W9OU 7wyp9A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=Cylm0zVhznh21ozTIFKIDLRPhvU/yeNYZWiAEPLRy WQ=; b=r7EApfCm44E1h7H1G4PuWOrrf6akixddyEGBjgulcBNb4ZqnkKGdE2+Vd haNvjxFyq9E7pSKOUI8ECcGMppnSh13uhMHITHjvD/XGVHGbnrFZM8b4lJ7SyxK9 p8Fd1DFmHyJsa6dHJjfuC7G919ZXbzc+WdaHYbpWXDje+ojuezkY/8Fzt0T4MLCn 3EpiC5ZGz+JE19+v7mnUnrDHlUB0YTPNW1x6+VFHgkQlD23hOwmjujxI3HcxvVH4 2yMll1luUh+Xx1NLTBYHZHmqWleDCKZEccqwUTzvcn1kstsUY5DyyBf/DkVBz0yC J05KyxQUj1FAaNs6f6gzkvDurpRng== X-ME-Sender: X-ME-Proxy: Received: from localhost (140.226.16.62.customer.cdi.no [62.16.226.140]) by mail.messagingengine.com (Postfix) with ESMTPA id AE162102A0 for <32953@debbugs.gnu.org>; Sat, 6 Oct 2018 09:16:46 -0400 (EDT) From: Marius Bakke To: 32953@debbugs.gnu.org Subject: [PATCH core-updates-next 5/8] gnu: Use GCC 7 as the default compiler. Date: Sat, 6 Oct 2018 15:16:36 +0200 Message-Id: <20181006131639.8424-5-mbakke@fastmail.com> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20181006131639.8424-1-mbakke@fastmail.com> References: <20181006131639.8424-1-mbakke@fastmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 32953 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) * gnu/packages/commencement.scm (gcc-boot0)[arguments]: Add "--disable-libmpx" to #:configure-flags. (gcc-final): Add phase to set C_INCLUDE_PATH and CPLUS_INCLUDE_PATH. * gnu/packages/gcc.scm (gcc): Is now GCC-7. (gfortran): Is now GFORTRAN-7. (gcc-objc): Is now GCC-OBJC-7. (gcc-objc++): Is now GCC-OBJC++-7. * gnu/packages/commencement.scm (gcc-toolchain-5): Use MAKE-GCC-TOOLCHAIN. (gcc-toolchain-7): Is now GCC-TOOLCHAIN. --- gnu/packages/commencement.scm | 20 +++++++++++++++----- gnu/packages/gcc.scm | 8 ++++---- 2 files changed, 19 insertions(+), 9 deletions(-) diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm index 6dfa89315..5bcd98584 100644 --- a/gnu/packages/commencement.scm +++ b/gnu/packages/commencement.scm @@ -1765,6 +1765,7 @@ exec " gcc "/bin/" program "--disable-libsanitizer" "--disable-libitm" "--disable-libgomp" + "--disable-libmpx" "--disable-libcilkrts" "--disable-libvtv" "--disable-libssp" @@ -2393,6 +2394,15 @@ exec ~a/bin/~a-~a -B~a/lib -Wl,-dynamic-linker -Wl,~a/~a \"$@\"~%" char-set:letter) ,(package-name lib))) (list gmp-6.0 mpfr mpc)) + #t))) + (add-before 'configure 'treat-glibc-as-system-header + (lambda* (#:key inputs #:allow-other-keys) + (let ((libc (assoc-ref inputs "libc"))) + ;; Make sure Glibc is treated as a "system header" so + ;; #include_next does the right thing. + (for-each (lambda (var) + (setenv var (string-append libc "/include"))) + '("C_INCLUDE_PATH" "CPLUS_INCLUDE_PATH")) #t)))))))) ;; This time we want Texinfo, so we get the manual. Add @@ -2641,23 +2651,23 @@ and binaries, plus debugging symbols in the 'debug' output), and Binutils.") ("libc-debug" ,glibc-final "debug") ("libc-static" ,glibc-final "static"))))) +(define-public gcc-toolchain + (make-gcc-toolchain gcc-final)) + (define-public gcc-toolchain-4.8 (make-gcc-toolchain gcc-4.8)) (define-public gcc-toolchain-4.9 (make-gcc-toolchain gcc-4.9)) -(define-public gcc-toolchain - (make-gcc-toolchain gcc-final)) - (define-public gcc-toolchain-5 - gcc-toolchain) + (make-gcc-toolchain gcc-5)) (define-public gcc-toolchain-6 (make-gcc-toolchain gcc-6)) (define-public gcc-toolchain-7 - (make-gcc-toolchain gcc-7)) + gcc-toolchain) (define-public gcc-toolchain-8 (make-gcc-toolchain gcc-8)) diff --git a/gnu/packages/gcc.scm b/gnu/packages/gcc.scm index 820710417..7a8e40982 100644 --- a/gnu/packages/gcc.scm +++ b/gnu/packages/gcc.scm @@ -539,7 +539,7 @@ It also includes runtime support libraries for these languages."))) ;; Note: When changing the default gcc version, update ;; the gcc-toolchain-* definitions and the gfortran definition ;; accordingly. -(define-public gcc gcc-5) +(define-public gcc gcc-7) (define-public (make-libstdc++ gcc) "Return a libstdc++ package based on GCC. The primary use case is when @@ -677,7 +677,7 @@ as the 'native-search-paths' field." ;; (custom-gcc gcc "fortran" …) because that would lead to a package object ;; that is not 'eq?' with GFORTRAN-5, and thus 'fold-packages' would ;; report two gfortran@5 that are in fact identical. - gfortran-5) + gfortran-7) (define-public gccgo-4.9 (custom-gcc gcc-4.9 "gccgo" '("go") @@ -741,7 +741,7 @@ as the 'native-search-paths' field." (variable "LIBRARY_PATH") (files '("lib" "lib64")))))) -(define-public gcc-objc gcc-objc-5) +(define-public gcc-objc gcc-objc-7) (define-public gcc-objc++-4.8 (custom-gcc gcc-4.8 "gcc-objc++" '("obj-c++") @@ -797,7 +797,7 @@ as the 'native-search-paths' field." (variable "LIBRARY_PATH") (files '("lib" "lib64")))))) -(define-public gcc-objc++ gcc-objc++-5) +(define-public gcc-objc++ gcc-objc++-7) (define (make-libstdc++-doc gcc) "Return a package with the libstdc++ documentation for GCC." -- 2.19.0 From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 06 09:16:50 2018 Received: (at 32953) by debbugs.gnu.org; 6 Oct 2018 13:16:50 +0000 Received: from localhost ([127.0.0.1]:38383 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g8mRu-0002qP-HB for submit@debbugs.gnu.org; Sat, 06 Oct 2018 09:16:50 -0400 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:41425) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g8mRt-0002q9-0o for 32953@debbugs.gnu.org; Sat, 06 Oct 2018 09:16:49 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id F073C21687 for <32953@debbugs.gnu.org>; Sat, 6 Oct 2018 09:16:48 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Sat, 06 Oct 2018 09:16:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= from:to:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=fm1; bh=FG+4Shrz+UeNj ctntnu+CvinHhJke/jGZo/KHu68fnE=; b=haEG4B2OE4hTobJ+/XSc+evtXReuJ Q7347lTQz+2LGPKi9SEs73JDSb69h7fMJnPI9/HkxWqEevlZpZvNmNkw6wKogvMD V2ucBBMbeFyZ3wp7GNW+7xIXr+XTxgw8LxX+NZgsyjurAd6quCL+d67edOShgae8 xY3JfH8+gVCbFnE5xhpjucVF9ojhYVIt8vHrvKY3bTEf81/5C3La8bicRrE98ZOp lPOwsZvx3rtLvTKACogZyvU06GI6TsEMPjf7l6jR4AETROVX+bK0sxgFxn2gnjqe RmvxV2m9YJKHywHEkCd07nuJHB7IYeQoTnvVRj7dry6IhrDphIoC4JOhQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; bh=FG+4Shrz+UeNjctntnu+CvinHhJke/jGZo/KHu68fnE=; b=gz0DUA17 5owOq0xckSGkHUmUOIa9Yq0COUZZYbHhXq9bT+FVPrYhthGCiR7drhn/vU1Szkfo 4sgo1ppReJzS567FfmxFa+GQK6B/mmCJZ3/mPSCT0T8jnDB+ZQ7vx7JVnWIbjrWE B30QwkN/cZiP9/C4BxNWffYSUBisu63G3lVAh63F6c381SgVWkk5znv2RQQHopO3 LjqHAi4ftpWZPC6GzdDbF15Ih9x5Z8xadmVda3jBusKoHf7mzBvEF03lM/9wk7hY OjPiXSgmv3su+t3qivN9edz4Hg7B+GZxRXv4ECSF96IhwO7GBZyCNsmUyx7sQEKN Qw1vW8uK4Spc2w== X-ME-Sender: X-ME-Proxy: Received: from localhost (140.226.16.62.customer.cdi.no [62.16.226.140]) by mail.messagingengine.com (Postfix) with ESMTPA id 4ED34102D7 for <32953@debbugs.gnu.org>; Sat, 6 Oct 2018 09:16:48 -0400 (EDT) From: Marius Bakke To: 32953@debbugs.gnu.org Subject: [PATCH core-updates-next 6/8] gnu: python: Fix FTBFS with GCC >= 6. Date: Sat, 6 Oct 2018 15:16:37 +0200 Message-Id: <20181006131639.8424-6-mbakke@fastmail.com> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20181006131639.8424-1-mbakke@fastmail.com> References: <20181006131639.8424-1-mbakke@fastmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 32953 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) * gnu/packages/patches/python-3-search-paths.patch: s/C_INCLUDE_PATH/CPATH. * gnu/packages/patches/python-2.7-search-paths.patch: Ditto. --- gnu/packages/patches/python-2.7-search-paths.patch | 4 ++-- gnu/packages/patches/python-3-search-paths.patch | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gnu/packages/patches/python-2.7-search-paths.patch b/gnu/packages/patches/python-2.7-search-paths.patch index ba7235df2..a012bc8fe 100644 --- a/gnu/packages/patches/python-2.7-search-paths.patch +++ b/gnu/packages/patches/python-2.7-search-paths.patch @@ -1,4 +1,4 @@ -Make sure the build system honors C_INCLUDE_PATH and LIBRARY_PATH when +Make sure the build system honors CPATH and LIBRARY_PATH when looking for headers and libraries. --- Python-2.7.10/setup.py 2015-10-07 18:33:18.125153186 +0200 @@ -9,7 +9,7 @@ looking for headers and libraries. + # Always honor these variables. + lib_dirs += os.getenv('LIBRARY_PATH', '').split(os.pathsep) -+ inc_dirs += os.getenv('C_INCLUDE_PATH', '').split(os.pathsep) ++ inc_dirs += os.getenv('CPATH', '').split(os.pathsep) + # OSF/1 and Unixware have some stuff in /usr/ccs/lib (like -ldb) if host_platform in ['osf1', 'unixware7', 'openunix8']: diff --git a/gnu/packages/patches/python-3-search-paths.patch b/gnu/packages/patches/python-3-search-paths.patch index 73e3f4ccf..c82470563 100644 --- a/gnu/packages/patches/python-3-search-paths.patch +++ b/gnu/packages/patches/python-3-search-paths.patch @@ -1,4 +1,4 @@ -Make sure the build system honors C_INCLUDE_PATH and LIBRARY_PATH when +Make sure the build system honors CPATH and LIBRARY_PATH when looking for headers and libraries. --- setup.py 2015-10-07 23:32:58.891329173 +0200 @@ -10,7 +10,7 @@ looking for headers and libraries. - lib_dirs = self.compiler.library_dirs + system_lib_dirs - inc_dirs = self.compiler.include_dirs + system_include_dirs + lib_dirs = os.getenv('LIBRARY_PATH', '').split(os.pathsep) -+ inc_dirs = os.getenv('C_INCLUDE_PATH', '').split(os.pathsep) ++ inc_dirs = os.getenv('CPATH', '').split(os.pathsep) else: # Add the sysroot paths. 'sysroot' is a compiler option used to # set the logical path of the standard system headers and -- 2.19.0 From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 06 09:16:52 2018 Received: (at 32953) by debbugs.gnu.org; 6 Oct 2018 13:16:52 +0000 Received: from localhost ([127.0.0.1]:38388 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g8mRv-0002qd-RQ for submit@debbugs.gnu.org; Sat, 06 Oct 2018 09:16:51 -0400 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:41877) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g8mRu-0002qQ-LX for 32953@debbugs.gnu.org; Sat, 06 Oct 2018 09:16:50 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 8E58821ACE for <32953@debbugs.gnu.org>; Sat, 6 Oct 2018 09:16:50 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Sat, 06 Oct 2018 09:16:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= from:to:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=fm1; bh=s2Owh+SvQC+2i K2Mai+fXo/Nf4QoTmK1KxeX7O0AHAs=; b=Ws4xAZhauQGNfcjVbmnHIXxNtsePE dQfdunigOkPR9pEoGsDufAgAwcnN6fIhjqh3DJxYBs914sNSOg0PDt/b+gewOKa6 USXvRuaySQTElyFkoMPlVmA6NFRQE7G2RstnOFI7y+yXVEhVNGhgex/Vd9diMN+B JwAAkOqwlPgAJn1jGtB6uVHup2+x1AAixMaHCyWbKto2cVLH587UDKKr1H+BZ1Ah r3dyH74sW0V66hJI/7dPx4SFITVUeq650UvNzEc1uSEmMtDKlU24Igu9stDOOelV BQNB2CdwFrJMtgpD63eaOfF7+GMElD2g+n4nMdbxb7r0i99yw7yrRi+Rw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; bh=s2Owh+SvQC+2iK2Mai+fXo/Nf4QoTmK1KxeX7O0AHAs=; b=BIESueh/ 2v0Y8parGR58iA/EBII2ljj482K5tCQdfGSUD332mGdQEx5zxhFcMo/322pUZ/3U 9mSk1nG/FTmDLOu6ubSkmHirGJHFijZK8gkL9naPhiEFoVVsdkCEn4XjIMNhA8AH RvvFPV6A02I3LnWv3txDqIFOuiD7dAmKtYDCsPZUpVMMMJLIAGsj/yjA6+v6MFaL osgWPyI/gV6/nAZ3IZ2dXJW8JQWidEW0HxhxCyVg+8rqL33YNgOEAZOiKZ2D3SGB xzIHdGhPbLsPbwcHhmTBuVCJJBhziqRkG2t1oPm/6pgiYr+8eSN0U8vuXqwMSgSq Fk9/nSdbkfz+bw== X-ME-Sender: X-ME-Proxy: Received: from localhost (140.226.16.62.customer.cdi.no [62.16.226.140]) by mail.messagingengine.com (Postfix) with ESMTPA id 04EA7102D7 for <32953@debbugs.gnu.org>; Sat, 6 Oct 2018 09:16:49 -0400 (EDT) From: Marius Bakke To: 32953@debbugs.gnu.org Subject: [PATCH core-updates-next 7/8] gnu: cmake: Try CPATH and C_INCLUDE_PATH when finding system libraries. Date: Sat, 6 Oct 2018 15:16:38 +0200 Message-Id: <20181006131639.8424-7-mbakke@fastmail.com> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20181006131639.8424-1-mbakke@fastmail.com> References: <20181006131639.8424-1-mbakke@fastmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 32953 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) * gnu/packages/cmake.scm (cmake)[arguments]: Try both CPATH and C_INCLUDE_PATH instead of just the latter. --- gnu/packages/cmake.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gnu/packages/cmake.scm b/gnu/packages/cmake.scm index 5abf08755..3f3f1c1f4 100644 --- a/gnu/packages/cmake.scm +++ b/gnu/packages/cmake.scm @@ -116,7 +116,8 @@ ;; Help cmake's bootstrap process to find system libraries (begin (setenv "CMAKE_LIBRARY_PATH" (getenv "LIBRARY_PATH")) - (setenv "CMAKE_INCLUDE_PATH" (getenv "C_INCLUDE_PATH")) + (setenv "CMAKE_INCLUDE_PATH" (or (getenv "CPATH") + (getenv "C_INCLUDE_PATH"))) #t))) (replace 'configure (lambda* (#:key outputs #:allow-other-keys) -- 2.19.0 From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 06 09:16:54 2018 Received: (at 32953) by debbugs.gnu.org; 6 Oct 2018 13:16:54 +0000 Received: from localhost ([127.0.0.1]:38393 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g8mRy-0002qu-3Q for submit@debbugs.gnu.org; Sat, 06 Oct 2018 09:16:54 -0400 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:35501) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g8mRw-0002qk-8P for 32953@debbugs.gnu.org; Sat, 06 Oct 2018 09:16:52 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 3613D21C4F for <32953@debbugs.gnu.org>; Sat, 6 Oct 2018 09:16:52 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Sat, 06 Oct 2018 09:16:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= from:to:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=fm1; bh=fc2G9aE/4oIAz kHzCkZYEiEhTm1XJMZJbzeM9EBUPj0=; b=qOsv89PFOxIHP6tHAQXfLlks0zENV JTJNDoan1cxpMnlTCleiwUWUmAGV5LTZAsxdpU/mjUiblLDIFPhB/jTnjJMTsQs8 XX73f0McmTQ9c9+aqW5jA3UtYFx/5YH2/kQofnFXhAjTU4Wlftz14rPZyAwcVWiN E9ipfdCOYdpUNZoQojN/123aWS0lQFsqK5/RKL+6isPiYXzAmrRB2+mVdkjuApAF Sdk0X83oDZuqQolqIO9ZG2kcTtw4P8aXX90sbrklieuh4AyzDRYxnOwnIW6e/lAw kYBU9ry+zbXMIOyFpp/sg6hemIX/fuTxJXyWOJM3cmmVSYwkBeJXQ9ZSA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; bh=fc2G9aE/4oIAzkHzCkZYEiEhTm1XJMZJbzeM9EBUPj0=; b=S17P4o7q b4yh1+bUOCUGvjvdQuedUruzJErmJ7LrM6fOTdLxnhK73aPsTQ7exLO74C805I93 MJgXWI/UemoHsO8CJBLI0xtaR/rQgbEq603/w7GjwdgJTH4uK3xvgH0SyYRQ7Cyj ITKPSm+fGP55a7C2DzSB2mqTxHtKUMvVl5X6BfS1f6xudvfLznOOUcFXWKVlmB4X ilv19FfzZBajDwU4265auQ3CPQfYzcHs08CzrzVF4pj1oZZm6MHQZh0Z9EEvgBjj 0m1QLyOJ73E6GzmachfRee/hIGLPatHvngP9K1Ze6zU/vskhDkVF2yjiUD70zCa5 AZhGiChBr0VyDg== X-ME-Sender: X-ME-Proxy: Received: from localhost (140.226.16.62.customer.cdi.no [62.16.226.140]) by mail.messagingengine.com (Postfix) with ESMTPA id 96C81102D7 for <32953@debbugs.gnu.org>; Sat, 6 Oct 2018 09:16:51 -0400 (EDT) From: Marius Bakke To: 32953@debbugs.gnu.org Subject: [PATCH core-updates-next 8/8] gnu: cppunit: Update to 1.14.0. Date: Sat, 6 Oct 2018 15:16:39 +0200 Message-Id: <20181006131639.8424-8-mbakke@fastmail.com> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20181006131639.8424-1-mbakke@fastmail.com> References: <20181006131639.8424-1-mbakke@fastmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 32953 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) * gnu/packages/check.scm (cppunit): Update to 1.14.0. (cppunit-1.14): Remove variable. * gnu/packages/libreoffice.scm (libreoffice)[inputs]: Change CPPUNIT-1.14 to CPPUNIT. --- gnu/packages/check.scm | 21 ++------------------- gnu/packages/libreoffice.scm | 2 +- 2 files changed, 3 insertions(+), 20 deletions(-) diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm index 1373f1786..9ba85045f 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -124,14 +124,14 @@ with a flexible variety of user interfaces.") (define-public cppunit (package (name "cppunit") - (version "1.13.2") + (version "1.14.0") (source (origin (method url-fetch) (uri (string-append "http://dev-www.libreoffice.org/src/" name "-" version ".tar.gz")) (sha256 (base32 - "17s2kzmkw3kfjhpp72rfppyd7syr7bdq5s69syj2nvrlwd3d4irz")))) + "1027cyfx5gsjkdkaf6c2wnjh68882grw8n672018cj3vs9lrhmix")))) ;; Explicitly link with libdl. This is expected to be done by packages ;; relying on cppunit for their tests. However, not all of them do. ;; If we added the linker flag to such packages, we would pollute all @@ -146,23 +146,6 @@ unit testing. Test output is in XML for automatic testing and GUI based for supervised tests.") (license license:lgpl2.1))) ; no copyright notices. LGPL2.1 is in the tarball -;; Some packages require this newer version of cppunit. However, it needs -;; C++11 support, which is not enabled by default in our current GCC, and -;; updating in-place would require adding CXXFLAGS to many dependent packages. -;; Thus, keep as a separate variable for now. -;; TODO: Remove this when our default GCC is updated to 6 or higher. -(define-public cppunit-1.14 - (package - (inherit cppunit) - (version "1.14.0") - (source (origin - (method url-fetch) - (uri (string-append "https://dev-www.libreoffice.org/src/" - "cppunit-" version ".tar.gz")) - (sha256 - (base32 - "1027cyfx5gsjkdkaf6c2wnjh68882grw8n672018cj3vs9lrhmix")))))) - ;; When dependent packages upgraded to use newer version of catch, this one should ;; be removed. (define-public catch-framework diff --git a/gnu/packages/libreoffice.scm b/gnu/packages/libreoffice.scm index 18edfcd35..4a1d3187a 100644 --- a/gnu/packages/libreoffice.scm +++ b/gnu/packages/libreoffice.scm @@ -951,7 +951,7 @@ converting QuarkXPress file format. It supports versions 3.1 to 4.1.") (build-system gnu-build-system) (native-inputs `(("bison" ,bison) - ("cppunit" ,cppunit-1.14) + ("cppunit" ,cppunit) ("flex" ,flex) ("pkg-config" ,pkg-config) ("python" ,python-wrapper) -- 2.19.0 From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 06 13:00:47 2018 Received: (at 32953) by debbugs.gnu.org; 6 Oct 2018 17:00:47 +0000 Received: from localhost ([127.0.0.1]:38800 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g8pwd-0008HL-Db for submit@debbugs.gnu.org; Sat, 06 Oct 2018 13:00:47 -0400 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:33797) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g8pwb-0008HC-Po for 32953@debbugs.gnu.org; Sat, 06 Oct 2018 13:00:46 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 78F6B21A1E for <32953@debbugs.gnu.org>; Sat, 6 Oct 2018 13:00:45 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Sat, 06 Oct 2018 13:00:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= from:to:subject:in-reply-to:references:date:message-id :mime-version:content-type; s=fm1; bh=PfufqrCD5XnTsLq1EUVVZUVICM 5XU7hONnnrTG+UJP8=; b=O2VlxSFyKCJXCc7YKuBcpPiDoZDYRKd+wAejCATWtG fPvkhEYxRmfWqQmwVr+8riM4RMBXpkV+jgjAQtVkR5O6AJo0gNq35cYaDmZqA70B qgs418wOkSPakP0oH+PUS5NPWPNQcjtT+f3+KuddavlYjpJbtsW1rqaVx+kuzfPd 1rVxttcaqhllpMGzh3+AgsCwbbTDhU/xphHwnG2hhd8scQRTL6AAT62NS/SP6+mD AfYP92JQPay/XktSAW/1+CNDgJu5rTMNQGc+Y8WWTwpDWDlOVZvwi1bYdTBCUh9Q N1ckO7WkQKqHpYFIUoFveYRdRPt7Ol2wnZl2z34IeIhg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=Pfufqr CD5XnTsLq1EUVVZUVICM5XU7hONnnrTG+UJP8=; b=rUPZqHmI6HZXacaf9mEMal XU9PpdiDj2AAl5qFuyOifcDMaO2aw6BdfeuiDcW+TcG2bUBNJkZQrnev5pcfYyiV Bfos/5npf4d3g8MxGwIKYbSr+yOMRGzElAug6xpzJRpJiaF1ctMMhfXGi1ZFIwXn 1wHlqo8W+RvITMjrZS8HnLguWJyXmcpt2MbjlnchCA5amQnOKyLHpN5crCUUF5Av rBEPxfy64Vy37PVljMsKtbXc9QvXk2Q22qudwWTO+fWDQ+sjVjXo/XyLlU19WsRq y7dg7IqbdScVlxsh5rXtW5YebnY9nuikd6S63wXqJdlaLC/hYzaqkid3Qpn5QffA == X-ME-Sender: X-ME-Proxy: Received: from localhost (140.226.16.62.customer.cdi.no [62.16.226.140]) by mail.messagingengine.com (Postfix) with ESMTPA id A1B87102DE for <32953@debbugs.gnu.org>; Sat, 6 Oct 2018 13:00:44 -0400 (EDT) From: Marius Bakke To: 32953@debbugs.gnu.org Subject: Re: [bug#32953] [PATCH core-updates-next 0/8] Use GCC7 as the default compiler. In-Reply-To: <20181006131420.8131-1-mbakke@fastmail.com> References: <20181006131420.8131-1-mbakke@fastmail.com> User-Agent: Notmuch/0.27 (https://notmuchmail.org) Emacs/26.1 (x86_64-pc-linux-gnu) Date: Sat, 06 Oct 2018 19:00:43 +0200 Message-ID: <87ftxjhux0.fsf@fastmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 32953 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --=-=-= Content-Type: text/plain Marius Bakke writes: > Guix, > > Here are patches that allow building the world with GCC7. > > The cross-toolchain and bootstrap tarballs need more work, but native > x86_64 at least is largely fine. > > Marius Bakke (8): > gnu: Remove gcc-for-libstdc++. > gnu: libstdc++-boot0: Improve gcc-wrapper workaround. > gnu: gcc-boot0: Improve gcc-wrapper workarounds. > gnu: Remove duplicate linux-libre-headers package from bootstrap > inputs. > gnu: Use GCC 7 as the default compiler. > gnu: python: Fix FTBFS with GCC >= 6. > gnu: cmake: Try CPATH and C_INCLUDE_PATH when finding system > libraries. > gnu: cppunit: Update to 1.14.0. I've pushed these to 'wip-gcc7' on Savannah for easier access: https://git.savannah.gnu.org/cgit/guix.git/log/?h=wip-gcc7 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlu46jsACgkQoqBt8qM6 VPp/gQf/SeSYLd9zF6TUJa7XOdPbRSdUtEEtdnrjDHidIYYqXcDD1godrhSgcqiY f3wgY2KzFASEOs58Cg4cCiirwvctAZz7LXkGlyxf1OPNGJUFmLBy/TQiNDmDNcyT 31uSaGGFHhHse1F969dRKnqSojiT2xJan85P+ZqRZPNa79mcK9fWmC1Vhx3wDnUR Jr598yKjbFrlOZvh8yIhyW2XQrgy5+kQICvGTag5sVBC94HVqrnGUUhw1x5sgogb cFgJ3b+u6CdnB1a/+G9OqhHf9691GWYGBbv1Q/flAO+ZfpUbgL6sHybZcZY/ThVb Z5w/IxRN9svT0kaK16S5dfzdCZw2Sg== =YO4b -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 11 04:05:14 2018 Received: (at 32953) by debbugs.gnu.org; 11 Oct 2018 08:05:14 +0000 Received: from localhost ([127.0.0.1]:44118 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gAVy5-00072T-Le for submit@debbugs.gnu.org; Thu, 11 Oct 2018 04:05:13 -0400 Received: from dd26836.kasserver.com ([85.13.145.193]:49878) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gAVy3-00072F-D9 for 32953@debbugs.gnu.org; Thu, 11 Oct 2018 04:05:12 -0400 Received: from localhost (84-113-15-225.cable.dynamic.surfer.at [84.113.15.225]) by dd26836.kasserver.com (Postfix) with ESMTPSA id C341A33602E9; Thu, 11 Oct 2018 10:05:09 +0200 (CEST) Date: Thu, 11 Oct 2018 10:05:05 +0200 From: Danny Milosavljevic To: Marius Bakke Subject: Re: [bug#32953] [PATCH core-updates-next 5/8] gnu: Use GCC 7 as the default compiler. Message-ID: <20181011100505.24242dbe@scratchpost.org> In-Reply-To: <20181006131639.8424-5-mbakke@fastmail.com> References: <20181006131639.8424-1-mbakke@fastmail.com> <20181006131639.8424-5-mbakke@fastmail.com> X-Mailer: Claws Mail 3.17.1 (GTK+ 2.24.32; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/qyYpZYVymwokUXBTpr31mBK"; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 32953 Cc: 32953@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --Sig_/qyYpZYVymwokUXBTpr31mBK Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable LGTM! --Sig_/qyYpZYVymwokUXBTpr31mBK Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAlu/BDEACgkQ5xo1VCww uqWhmggAi+Ke7U1d+9HtpTcqeSkfJ720iXX/uAcjpoK4fDZvRg6M23kC3CJCH0vU cA28i56UnUtciZPBzSHTIpV1DXgbGR6K5rrSje1QWS9r0+xlK6uTs/HzIBc0KyKv k2HMbsfaUWytP8PzxXuBz3jI5iEOhjv52NSWsTjJyyfg8uG95F40frnYAQUFV9aN Jf2JkOKkzuTuF6dj2Z2+/zibB2yVlVFQ3Wa2uAEMJaPdkuaD0LbjBm6nvR1AjBQq Daptr3E0otsBh3UAhG6GDxDoefngL1JDSf1F5FdVIkpi4CE6bMnJtWyDzu9GkSs0 cj9+bx2UoOkEVvZGt81DYIl1GjkMcA== =hKUA -----END PGP SIGNATURE----- --Sig_/qyYpZYVymwokUXBTpr31mBK-- From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 11 04:06:36 2018 Received: (at 32953) by debbugs.gnu.org; 11 Oct 2018 08:06:36 +0000 Received: from localhost ([127.0.0.1]:44122 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gAVzQ-00075G-1Q for submit@debbugs.gnu.org; Thu, 11 Oct 2018 04:06:36 -0400 Received: from dd26836.kasserver.com ([85.13.145.193]:49978) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gAVzL-000752-Jc for 32953@debbugs.gnu.org; Thu, 11 Oct 2018 04:06:31 -0400 Received: from localhost (84-113-15-225.cable.dynamic.surfer.at [84.113.15.225]) by dd26836.kasserver.com (Postfix) with ESMTPSA id B054633602E9; Thu, 11 Oct 2018 10:06:30 +0200 (CEST) Date: Thu, 11 Oct 2018 10:06:29 +0200 From: Danny Milosavljevic To: Marius Bakke Subject: Re: [bug#32953] [PATCH core-updates-next 7/8] gnu: cmake: Try CPATH and C_INCLUDE_PATH when finding system libraries. Message-ID: <20181011095944.3168673c@scratchpost.org> In-Reply-To: <20181006131639.8424-7-mbakke@fastmail.com> References: <20181006131639.8424-1-mbakke@fastmail.com> <20181006131639.8424-7-mbakke@fastmail.com> X-Mailer: Claws Mail 3.17.1 (GTK+ 2.24.32; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/CEw9C0yZpElw68OjBX.N2ea"; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 32953 Cc: 32953@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --Sig_/CEw9C0yZpElw68OjBX.N2ea Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi Marius, On Sat, 6 Oct 2018 15:16:38 +0200 Marius Bakke wrote: > * gnu/packages/cmake.scm (cmake)[arguments]: Try both CPATH and C_INCLUDE= _PATH > instead of just the latter. Hmm... why? I thought if one used CPATH it would not treat the headers as a system headers and one would get a lot of errors anyway (because #include_next wouldn't work and also because of things one "ought" not to do which the system headers do anyway and get a pass on). --Sig_/CEw9C0yZpElw68OjBX.N2ea Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAlu/BIUACgkQ5xo1VCww uqXOSQgAlytyMUn1p5OF+RgcrDYLE+pzRiDGGobAnPGFPBqTZ29JAumA+fzz2uYM 8tflefLa/qslPOxes3AQe2TY255OgaOq0lv8VpQpuIxjPI7OqTG+3QEboUI/h3FK ugUGTj5gj65T54UYOdqabf4NX0+oc0UbGKNT0S/d8/CQEQtNuqJFE5c3bCYk2/J6 a9pFso6NMzKJlIW0O2BIlRDq3hFriGQuGWUOsoHYYpnrhraNBGAG1cqReTN+eILC 8YN7fuAsTKnVLUfZm1gZSNgf5Ccomr1jlafLhpCjwDjLCzNiaTTimRMgIQthdaMe BCtFcfY9ImNMY7aofshK0Mcv5LRfPA== =b/UK -----END PGP SIGNATURE----- --Sig_/CEw9C0yZpElw68OjBX.N2ea-- From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 11 04:08:33 2018 Received: (at 32953) by debbugs.gnu.org; 11 Oct 2018 08:08:33 +0000 Received: from localhost ([127.0.0.1]:44126 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gAW1J-00078q-De for submit@debbugs.gnu.org; Thu, 11 Oct 2018 04:08:33 -0400 Received: from dd26836.kasserver.com ([85.13.145.193]:50146) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gAW1F-00078e-3Q for 32953@debbugs.gnu.org; Thu, 11 Oct 2018 04:08:31 -0400 Received: from localhost (84-113-15-225.cable.dynamic.surfer.at [84.113.15.225]) by dd26836.kasserver.com (Postfix) with ESMTPSA id 6A21033602E9; Thu, 11 Oct 2018 10:08:28 +0200 (CEST) Date: Thu, 11 Oct 2018 10:08:27 +0200 From: Danny Milosavljevic To: Marius Bakke Subject: Re: [bug#32953] [PATCH core-updates-next 3/8] gnu: gcc-boot0: Improve gcc-wrapper workarounds. Message-ID: <20181011100827.1d8152f2@scratchpost.org> In-Reply-To: <20181006131639.8424-3-mbakke@fastmail.com> References: <20181006131639.8424-1-mbakke@fastmail.com> <20181006131639.8424-3-mbakke@fastmail.com> X-Mailer: Claws Mail 3.17.1 (GTK+ 2.24.32; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/aYjjho3vDDj+DozJXAMYIhm"; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 32953 Cc: 32953@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --Sig_/aYjjho3vDDj+DozJXAMYIhm Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable LGTM! --Sig_/aYjjho3vDDj+DozJXAMYIhm Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAlu/BPsACgkQ5xo1VCww uqWU+wf/d4sSqMea91Jd1FLrwOqehUG4WcN4C4ipfQB3PdwWqQWuRA0i1z8OX2W5 rhevtuKjkeLSATPMa/3g8g5AM9jQUyTfoexpgk+gFs4xLm338QHU7gvCPU3MtA9D AYl529bJSiIlg6pP0hlCwT4wDGvSbcLT/KbimFmH7XD8rFu2yM0+qAdiveiKwFJO 25rrZ9oWcOYb8CUJ0ang/G8w6kqwPZfRE11FT+lpBXRWuGg+p4Q4J+ouaWgX0bcV cSmblDzdX9V4qJR+Zz7AZhClZOkQwcRnyKB3Bv5ip+5JlaUv9cvNDmfe1NEdrysP pFX+RtEcC+6g1E3ymKGp0OEMX1tQHA== =rdxe -----END PGP SIGNATURE----- --Sig_/aYjjho3vDDj+DozJXAMYIhm-- From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 11 04:08:52 2018 Received: (at 32953) by debbugs.gnu.org; 11 Oct 2018 08:08:53 +0000 Received: from localhost ([127.0.0.1]:44129 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gAW1c-00079X-L6 for submit@debbugs.gnu.org; Thu, 11 Oct 2018 04:08:52 -0400 Received: from dd26836.kasserver.com ([85.13.145.193]:50166) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gAW1a-00079N-Hy for 32953@debbugs.gnu.org; Thu, 11 Oct 2018 04:08:50 -0400 Received: from localhost (84-113-15-225.cable.dynamic.surfer.at [84.113.15.225]) by dd26836.kasserver.com (Postfix) with ESMTPSA id DEAA733602E9; Thu, 11 Oct 2018 10:08:49 +0200 (CEST) Date: Thu, 11 Oct 2018 10:08:49 +0200 From: Danny Milosavljevic To: Marius Bakke Subject: Re: [bug#32953] [PATCH core-updates-next 2/8] gnu: libstdc++-boot0: Improve gcc-wrapper workaround. Message-ID: <20181011100849.1cafa404@scratchpost.org> In-Reply-To: <20181006131639.8424-2-mbakke@fastmail.com> References: <20181006131639.8424-1-mbakke@fastmail.com> <20181006131639.8424-2-mbakke@fastmail.com> X-Mailer: Claws Mail 3.17.1 (GTK+ 2.24.32; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/DDCRr6skxS4AC_qwk_v/tNr"; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 32953 Cc: 32953@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --Sig_/DDCRr6skxS4AC_qwk_v/tNr Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable LGTM! --Sig_/DDCRr6skxS4AC_qwk_v/tNr Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAlu/BREACgkQ5xo1VCww uqXZRAf+JUgDKKv0Q9IsWtQGbXoNsEfV42Wy5ED/fDOuYIUQaEb38CN76bmaJl5U 31M/UccJE8Ss+sOEfHneuOYLcYsigSPcl1axvzyt3pd8aGy/TCxt5zsVEjRLjcur yg1z1AgJItxxz7EPFidgy73Nc2rSJnNDOpjyYaKRDbpbFJE+iTancivBoK3/oxDm yRKiCsbkGUlNTLGQXRFhRsKlm1D1UI6vz6av+bDEn0+mkULxbZGpgYsgptyQRnpL 1kgbOI9u6Rq9rZJJO3azwIZaJ7SVJkCTKSjwfUOwiPS38cjklNAhgKFXQdSItL1T dDFkRnA4kKX/GORwMVmF+IQym4Yuyw== =Nx99 -----END PGP SIGNATURE----- --Sig_/DDCRr6skxS4AC_qwk_v/tNr-- From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 11 04:09:26 2018 Received: (at 32953) by debbugs.gnu.org; 11 Oct 2018 08:09:26 +0000 Received: from localhost ([127.0.0.1]:44135 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gAW29-0007Ax-VH for submit@debbugs.gnu.org; Thu, 11 Oct 2018 04:09:26 -0400 Received: from dd26836.kasserver.com ([85.13.145.193]:50238) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gAW28-0007Ar-8R for 32953@debbugs.gnu.org; Thu, 11 Oct 2018 04:09:24 -0400 Received: from localhost (84-113-15-225.cable.dynamic.surfer.at [84.113.15.225]) by dd26836.kasserver.com (Postfix) with ESMTPSA id 70B9333602E9; Thu, 11 Oct 2018 10:09:23 +0200 (CEST) Date: Thu, 11 Oct 2018 10:09:22 +0200 From: Danny Milosavljevic To: Marius Bakke Subject: Re: [bug#32953] [PATCH core-updates-next 4/8] gnu: Remove duplicate linux-libre-headers package from bootstrap inputs. Message-ID: <20181011100922.0fdc618d@scratchpost.org> In-Reply-To: <20181006131639.8424-4-mbakke@fastmail.com> References: <20181006131639.8424-1-mbakke@fastmail.com> <20181006131639.8424-4-mbakke@fastmail.com> X-Mailer: Claws Mail 3.17.1 (GTK+ 2.24.32; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/O+BakmReRM0uqb2IW+Rtxx="; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 32953 Cc: 32953@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --Sig_/O+BakmReRM0uqb2IW+Rtxx= Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable LGTM! --Sig_/O+BakmReRM0uqb2IW+Rtxx= Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAlu/BTIACgkQ5xo1VCww uqWiKgf/c3d2TxtCbL80+oCISbv95QGtmEKRDwBxMgogIrJMchHKG3s7+4pNiEqn rEgmcV2K478TsqwUK8uqGZ+YsI6uFIDZo5HKGsOCsMHMKkdEpE5b6uo0D2MKIEVD O5EP4FPDuNwko/MwMT62xGt8DaugHYI2qvc2ZGxtY9Y40rmWaEmkptmx/9coU31G CrBH9NqA0Ld9f648lsl00c5KjCsfHFnpr+RXgfeC6LAsKZ1WR1RQ75FeJM95ZUa9 VzjzIUFRs9oqa84VVY7WbPGGIfZCVxK7LnM39wlB2vLt8S3UkVsgMkeAirMjxkDR DDtwzQolGUx8MBcRDMLa5A4MQo8KjA== =H7qX -----END PGP SIGNATURE----- --Sig_/O+BakmReRM0uqb2IW+Rtxx=-- From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 11 04:17:21 2018 Received: (at 32953) by debbugs.gnu.org; 11 Oct 2018 08:17:22 +0000 Received: from localhost ([127.0.0.1]:44140 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gAW9p-0007Np-Q2 for submit@debbugs.gnu.org; Thu, 11 Oct 2018 04:17:21 -0400 Received: from dd26836.kasserver.com ([85.13.145.193]:50860) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gAW9o-0007Ni-6r for 32953@debbugs.gnu.org; Thu, 11 Oct 2018 04:17:20 -0400 Received: from localhost (84-113-15-225.cable.dynamic.surfer.at [84.113.15.225]) by dd26836.kasserver.com (Postfix) with ESMTPSA id 3B3583360141; Thu, 11 Oct 2018 10:17:19 +0200 (CEST) Date: Thu, 11 Oct 2018 10:17:18 +0200 From: Danny Milosavljevic To: Marius Bakke Subject: Re: [bug#32953] [PATCH core-updates-next 8/8] gnu: cppunit: Update to 1.14.0. Message-ID: <20181011101718.741d86da@scratchpost.org> In-Reply-To: <20181006131639.8424-8-mbakke@fastmail.com> References: <20181006131639.8424-1-mbakke@fastmail.com> <20181006131639.8424-8-mbakke@fastmail.com> X-Mailer: Claws Mail 3.17.1 (GTK+ 2.24.32; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/eaRd60ngEVBggATaTm_E2pk"; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 32953 Cc: 32953@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --Sig_/eaRd60ngEVBggATaTm_E2pk Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable LGTM! --Sig_/eaRd60ngEVBggATaTm_E2pk Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAlu/Bw4ACgkQ5xo1VCww uqUA+gf/VTQBCEWrX/7UuKLtGj3yQsoXiJorDtyzxqlk9nwHhu6Wze/w6+BCOivq pEgrK4IbMzkWj55y4+FZMrIY4sJjbtt56IJLH8BOadVTnlNc29tUjwC7rwkANI2u Tn2r9IGjXMAigtOo1PoaJb0S4YtruXRumscvCQBa7VkDZI5wOHcg4TELKWwA1/OG BeivAufU7L/JKEgGVvzfLrfM8PJUGxHvMgRbDd29/yyfGEL1M/Jlfny6MEaz+t3D xK67ndTXemG85kmH4Uz+qu/1hC69cfJpdwofCERxmUve+WIb8LZ7ccKOkOcACnC6 W1ZXuaD2VtkHIlyob8yhaa7jMsUN9A== =JwOA -----END PGP SIGNATURE----- --Sig_/eaRd60ngEVBggATaTm_E2pk-- From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 27 05:59:13 2018 Received: (at 32953) by debbugs.gnu.org; 27 Dec 2018 10:59:13 +0000 Received: from localhost ([127.0.0.1]:38216 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gcTNh-0000S1-D3 for submit@debbugs.gnu.org; Thu, 27 Dec 2018 05:59:13 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:50050) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gcTNf-0000Rr-Eu for 32953@debbugs.gnu.org; Thu, 27 Dec 2018 05:59:11 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 5C38B76B; Thu, 27 Dec 2018 11:59:10 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2JndZibHcOcO; Thu, 27 Dec 2018 11:59:09 +0100 (CET) Received: from ribbon (unknown [IPv6:2a01:e0a:1d:7270:af76:b9b:ca24:c465]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 10765714; Thu, 27 Dec 2018 11:59:08 +0100 (CET) From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Marius Bakke Subject: Re: [bug#32953] [PATCH core-updates-next 0/8] Use GCC7 as the default compiler. References: <20181006131420.8131-1-mbakke@fastmail.com> <87ftxjhux0.fsf@fastmail.com> Date: Thu, 27 Dec 2018 11:59:08 +0100 In-Reply-To: <87ftxjhux0.fsf@fastmail.com> (Marius Bakke's message of "Sat, 06 Oct 2018 19:00:43 +0200") Message-ID: <87a7krb5hf.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 32953 Cc: 32953@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Hi Marius! Marius Bakke skribis: > Marius Bakke writes: > >> Guix, >> >> Here are patches that allow building the world with GCC7. >> >> The cross-toolchain and bootstrap tarballs need more work, but native >> x86_64 at least is largely fine. >> >> Marius Bakke (8): >> gnu: Remove gcc-for-libstdc++. >> gnu: libstdc++-boot0: Improve gcc-wrapper workaround. >> gnu: gcc-boot0: Improve gcc-wrapper workarounds. >> gnu: Remove duplicate linux-libre-headers package from bootstrap >> inputs. >> gnu: Use GCC 7 as the default compiler. >> gnu: python: Fix FTBFS with GCC >=3D 6. >> gnu: cmake: Try CPATH and C_INCLUDE_PATH when finding system >> libraries. >> gnu: cppunit: Update to 1.14.0. > > I've pushed these to 'wip-gcc7' on Savannah for easier access: > > https://git.savannah.gnu.org/cgit/guix.git/log/?h=3Dwip-gcc7 I haven=E2=80=99t tested the patch set but I concur with Danny, they LGTM. Now would be a good time to rebase them on =E2=80=98core-updates=E2=80=99 a= nd to merge them so we get enough time to test and fix things. Would you like to do that? Thanks! Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 29 12:58:42 2018 Received: (at 32953) by debbugs.gnu.org; 29 Dec 2018 17:58:42 +0000 Received: from localhost ([127.0.0.1]:41638 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gdIsj-0005tQ-Pq for submit@debbugs.gnu.org; Sat, 29 Dec 2018 12:58:42 -0500 Received: from flashner.co.il ([178.62.234.194]:34290) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gdIsh-0005tA-RC for 32953@debbugs.gnu.org; Sat, 29 Dec 2018 12:58:40 -0500 Received: from localhost (unknown [188.120.128.87]) by flashner.co.il (Postfix) with ESMTPSA id ED0BE40471; Sat, 29 Dec 2018 17:58:33 +0000 (UTC) Date: Sat, 29 Dec 2018 19:58:33 +0200 From: Efraim Flashner To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: [bug#32953] [PATCH core-updates-next 0/8] Use GCC7 as the default compiler. Message-ID: <20181229175833.GU2581@macbook41> References: <20181006131420.8131-1-mbakke@fastmail.com> <87ftxjhux0.fsf@fastmail.com> <87a7krb5hf.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Cou6PmgoyP0+llr2" Content-Disposition: inline In-Reply-To: <87a7krb5hf.fsf@gnu.org> User-Agent: Mutt/1.11.0 (2018-11-25) X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 32953 Cc: Marius Bakke , 32953@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --Cou6PmgoyP0+llr2 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Dec 27, 2018 at 11:59:08AM +0100, Ludovic Court=C3=A8s wrote: > Hi Marius! >=20 > Marius Bakke skribis: >=20 > > Marius Bakke writes: > > > >> Guix, > >> > >> Here are patches that allow building the world with GCC7. > >> > >> The cross-toolchain and bootstrap tarballs need more work, but native > >> x86_64 at least is largely fine. > >> > >> Marius Bakke (8): > >> gnu: Remove gcc-for-libstdc++. > >> gnu: libstdc++-boot0: Improve gcc-wrapper workaround. > >> gnu: gcc-boot0: Improve gcc-wrapper workarounds. > >> gnu: Remove duplicate linux-libre-headers package from bootstrap > >> inputs. > >> gnu: Use GCC 7 as the default compiler. > >> gnu: python: Fix FTBFS with GCC >=3D 6. > >> gnu: cmake: Try CPATH and C_INCLUDE_PATH when finding system > >> libraries. > >> gnu: cppunit: Update to 1.14.0. > > > > I've pushed these to 'wip-gcc7' on Savannah for easier access: > > > > https://git.savannah.gnu.org/cgit/guix.git/log/?h=3Dwip-gcc7 >=20 > I haven=E2=80=99t tested the patch set but I concur with Danny, they LGTM. >=20 > Now would be a good time to rebase them on =E2=80=98core-updates=E2=80=99= and to merge > them so we get enough time to test and fix things. Would you like to do > that? >=20 > Thanks! >=20 > Ludo=E2=80=99. After it's rebased I'll help take a look at the armhf and aarch64 boostrap paths to make sure they work. --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --Cou6PmgoyP0+llr2 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAlwntcUACgkQQarn3Mo9 g1EmRhAAma6IH4TJJaktOdDp87bi1Eh/DKsvx/Kjl0KKVlODE+Z4m1dEjVCXIc+t 9oo71MAJBGjMCgewa4rW2aajWCds7BFrdsjg9nokL6ezMGxdQQD7jYBT6I6skp6n sfthMmXn+lCWYz779exO37DxSTjkX+fGy6zHYhiD+xw904OzcGWkaUd+g7EomAz9 Xog+0biXCQpy//olD8CKtFXIU90IroGBZQIec352EM4uHNiTgCd9TTBa6Gb3vei9 l/2Ed6dQLw/2RPFTr3AnXYTR7S7hVlFdlGbOzfKbs9QiCYa43ofZKqiB/xRxuEFD PZoDJ38zSwvxohVDy/RrIsRswTM/FrCHUZAcupRSA4rTkgQMOAsBQwhi8s+4mdF0 53r5JbTYSHkWCEgSKRmMwl+G2bD8B90+vMpNDpwEjOaJPryZipuCZXXRT95NPYGl 9AeMsa4Cg1hslrUjRQNPnVJgaHhJoCAXbCeVwLz1XYoUdkXoO4boH4YWHVigAh4n S2DRZRfKYqwKd5AKHQHbZZHWypJgFYwacS9elP7AMUl326/VmQdgVPvXmgS42Dul jHBtHuGQAzRUYG1F16eKL+4CWzgv2zVJbkoeYvKUnNvQJDhHLFzG2oyC+hcPuYLH Cjkv6PoY/LsgUA1vIgFgXcu/XPSP5l+XBkZ022vm5/upszCZiXA= =sg0o -----END PGP SIGNATURE----- --Cou6PmgoyP0+llr2-- From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 16 08:53:26 2019 Received: (at 32953) by debbugs.gnu.org; 16 Jan 2019 13:53:26 +0000 Received: from localhost ([127.0.0.1]:60968 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gjldF-0001tw-V8 for submit@debbugs.gnu.org; Wed, 16 Jan 2019 08:53:26 -0500 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:36659) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gjldB-0001tO-Vk for 32953@debbugs.gnu.org; Wed, 16 Jan 2019 08:53:22 -0500 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id B7FD92551E; Wed, 16 Jan 2019 08:53:16 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Wed, 16 Jan 2019 08:53:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-type; s=fm1; bh=xl3kJFzquKLqZjsvcLVK32MrQB +I8sJuRw2cA0mmcUY=; b=cqIVUKI/87NrXB/u83YlNriDX4EiDvXhM6wy+xwLyF iL4XIFKHNQwMggjkHSG9vyHmkSwsfubMkEUZYkxFXRESSFdiYjxaGNCR6p+fsnMU jED8cY6nTjwI0Jwr6MUlX9G9NKGfFZiAkFVBUkq4U+GS/lN++neRowtamWbVgp1P 5mOhZECqShlhcubUYFC3XUE2B5RHRM7AvAmL8v8TEAaYDeet+lL4MTEInPXZ0iC/ LP/TrxCt7Bw+yK/e3ZLYDSpqC4OQCJDDrrwCIK5Q/xtlZBN/aG/MvPPlVtieKA5P ux+k5lQTYXEmGPTZGD/W7nU2ctgH09ylxF+LY4RRtOtQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=xl3kJF zquKLqZjsvcLVK32MrQB+I8sJuRw2cA0mmcUY=; b=jP2iBVFxYUyKiz8HO/EHr5 K02ccyyZ5lrjaUHpzfWmoAtsjjN4AwB2RImjiBbChTfb524/6PboZGisEw/nBFKW 7wEXjWWdnnK964X1BiO5KILSy4eJ4jqHkmJtuOk3KnoYSrukQrogP0et7fhHF/uI o2m51HGPCLv7MNApr+p2YjHOSwUHNb89OSI9ah1P6QIsgSZSaj7HW/ZyhFs9HzMf PRym3rMe+VgbTzl9ZdxTPYSPtfpXD5FIggwpTky3MQmJ1blnoYsUZfHIyWdIahAw inShJTzW7Z56vbuErM/gRa4w1/XA6GUGqU2UmPwYGAtUg4zc1kAMjZUGDUP8tD6A == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedtledrgeehgdehjecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfhuthenuceurghilhhouhhtmecufedt tdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvufgjfhgfff fkgggtsehgtderredtreejnecuhfhrohhmpeforghrihhushcuuegrkhhkvgcuoehmsggr khhkvgesfhgrshhtmhgrihhlrdgtohhmqeenucffohhmrghinhepghhnuhdrohhrghenuc fkphepiedvrdduiedrvddviedrudegtdenucfrrghrrghmpehmrghilhhfrhhomhepmhgs rghkkhgvsehfrghsthhmrghilhdrtghomhenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from localhost (140.226.16.62.customer.cdi.no [62.16.226.140]) by mail.messagingengine.com (Postfix) with ESMTPA id C95FEE4663; Wed, 16 Jan 2019 08:53:15 -0500 (EST) From: Marius Bakke To: Efraim Flashner , Ludovic =?utf-8?Q?Court=C3=A8?= =?utf-8?Q?s?= Subject: Re: [bug#32953] [PATCH core-updates-next 0/8] Use GCC7 as the default compiler. In-Reply-To: <20181229175833.GU2581@macbook41> References: <20181006131420.8131-1-mbakke@fastmail.com> <87ftxjhux0.fsf@fastmail.com> <87a7krb5hf.fsf@gnu.org> <20181229175833.GU2581@macbook41> User-Agent: Notmuch/0.28 (https://notmuchmail.org) Emacs/26.1 (x86_64-pc-linux-gnu) Date: Wed, 16 Jan 2019 14:53:14 +0100 Message-ID: <8736psiu9h.fsf@fastmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 32953 Cc: 32953@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Efraim Flashner writes: > On Thu, Dec 27, 2018 at 11:59:08AM +0100, Ludovic Court=C3=A8s wrote: >> Hi Marius! >>=20 >> Marius Bakke skribis: >>=20 >> > Marius Bakke writes: >> > >> >> Guix, >> >> >> >> Here are patches that allow building the world with GCC7. >> >> >> >> The cross-toolchain and bootstrap tarballs need more work, but native >> >> x86_64 at least is largely fine. >> >> >> >> Marius Bakke (8): >> >> gnu: Remove gcc-for-libstdc++. >> >> gnu: libstdc++-boot0: Improve gcc-wrapper workaround. >> >> gnu: gcc-boot0: Improve gcc-wrapper workarounds. >> >> gnu: Remove duplicate linux-libre-headers package from bootstrap >> >> inputs. >> >> gnu: Use GCC 7 as the default compiler. >> >> gnu: python: Fix FTBFS with GCC >=3D 6. >> >> gnu: cmake: Try CPATH and C_INCLUDE_PATH when finding system >> >> libraries. >> >> gnu: cppunit: Update to 1.14.0. >> > >> > I've pushed these to 'wip-gcc7' on Savannah for easier access: >> > >> > https://git.savannah.gnu.org/cgit/guix.git/log/?h=3Dwip-gcc7 >>=20 >> I haven=E2=80=99t tested the patch set but I concur with Danny, they LGT= M. >>=20 >> Now would be a good time to rebase them on =E2=80=98core-updates=E2=80= =99 and to merge >> them so we get enough time to test and fix things. Would you like to do >> that? >>=20 >> Thanks! >>=20 >> Ludo=E2=80=99. > > After it's rebased I'll help take a look at the armhf and aarch64 > boostrap paths to make sure they work. I've pushed an updated patch to "wip-gcc7" based on the latest 'core-updates'. The cross-compiler toolchain is still broken: it fails to build the very last GCC. For armhf, the build system tries to include "gnu/stubs-soft.h" during "./configure" and fails, even though it gets "--with-float=3Dhard" as a flag. When building the AArch64 cross-compiler, GCC segfaults later in the process: build/genmatch --gimple ../../gcc-7.4.0/gcc/match.pd > tmp-gimple-match.c /gnu/store/vfqvdfdnd8fi9gcx710mpfaf0x4dfd37-bash-minimal-5.0/bin/bash: line= 1: 1789 Segmentation fault build/genmatch --gimple ../../gcc-7.4.0/gcc/match.pd > tmp-gimple-match.c make[2]: *** [Makefile:2460: s-match] Error 139 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlw/N0oACgkQoqBt8qM6 VPrAxQf/Z6xIL59iOeo2TFuBzF/IpraG6DXFTvpnexZQOOihyA5Tc/tXfraX6J+G 8epvVWiQXRve+PzPhpEruN7yAnJBcXgoAyicTb5azpBz89RmEaXa0+Uj3a3ppLRD XHY1aM+tSWmbxyrdcE5rpfiYv1xdbdrQjHydzA5PP2NGyvx1p/1y4ISBFCc5+cjH q25boET2OXSsF3Lxb98IHBgY7GAsYhH34+7IBpH8dz4+O91Fq4Kf4j4sr/nOHDvi h+jLGt939jnr1MZMdVqoRx4eQyxEiYwTOQ5ClZlxGqE4l3zJEnOGs8vOMOegyMIB TvTWHHuAly3evnqBnyMX9/OWQA0OEQ== =1GCB -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 19 12:09:14 2019 Received: (at 32953) by debbugs.gnu.org; 19 Jan 2019 17:09:14 +0000 Received: from localhost ([127.0.0.1]:38022 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gku7N-0002GA-VG for submit@debbugs.gnu.org; Sat, 19 Jan 2019 12:09:14 -0500 Received: from flashner.co.il ([178.62.234.194]:55156) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gku7L-0002Fu-HA for 32953@debbugs.gnu.org; Sat, 19 Jan 2019 12:09:12 -0500 Received: from localhost (unknown [188.120.128.87]) by flashner.co.il (Postfix) with ESMTPSA id C9DB540030; Sat, 19 Jan 2019 17:09:05 +0000 (UTC) Date: Sat, 19 Jan 2019 19:09:04 +0200 From: Efraim Flashner To: Marius Bakke Subject: Re: [bug#32953] [PATCH core-updates-next 0/8] Use GCC7 as the default compiler. Message-ID: <20190119170904.GF25281@macbook41> References: <20181006131420.8131-1-mbakke@fastmail.com> <87ftxjhux0.fsf@fastmail.com> <87a7krb5hf.fsf@gnu.org> <20181229175833.GU2581@macbook41> <8736psiu9h.fsf@fastmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="FwyhczKCDPOVeYh6" Content-Disposition: inline In-Reply-To: <8736psiu9h.fsf@fastmail.com> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 User-Agent: Mutt/1.11.0 (2018-11-25) X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 32953 Cc: Ludovic =?utf-8?Q?Court=C3=A8s?= , 32953@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --FwyhczKCDPOVeYh6 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jan 16, 2019 at 02:53:14PM +0100, Marius Bakke wrote: > Efraim Flashner writes: >=20 > > On Thu, Dec 27, 2018 at 11:59:08AM +0100, Ludovic Court=C3=A8s wrote: > >> Hi Marius! > >>=20 > >> Marius Bakke skribis: > >>=20 > >> > Marius Bakke writes: > >> > > >> >> Guix, > >> >> > >> >> Here are patches that allow building the world with GCC7. > >> >> > >> >> The cross-toolchain and bootstrap tarballs need more work, but nati= ve > >> >> x86_64 at least is largely fine. > >> >> > >> >> Marius Bakke (8): > >> >> gnu: Remove gcc-for-libstdc++. > >> >> gnu: libstdc++-boot0: Improve gcc-wrapper workaround. > >> >> gnu: gcc-boot0: Improve gcc-wrapper workarounds. > >> >> gnu: Remove duplicate linux-libre-headers package from bootstrap > >> >> inputs. > >> >> gnu: Use GCC 7 as the default compiler. > >> >> gnu: python: Fix FTBFS with GCC >=3D 6. > >> >> gnu: cmake: Try CPATH and C_INCLUDE_PATH when finding system > >> >> libraries. > >> >> gnu: cppunit: Update to 1.14.0. > >> > > >> > I've pushed these to 'wip-gcc7' on Savannah for easier access: > >> > > >> > https://git.savannah.gnu.org/cgit/guix.git/log/?h=3Dwip-gcc7 > >>=20 > >> I haven=E2=80=99t tested the patch set but I concur with Danny, they L= GTM. > >>=20 > >> Now would be a good time to rebase them on =E2=80=98core-updates=E2=80= =99 and to merge > >> them so we get enough time to test and fix things. Would you like to = do > >> that? > >>=20 > >> Thanks! > >>=20 > >> Ludo=E2=80=99. > > > > After it's rebased I'll help take a look at the armhf and aarch64 > > boostrap paths to make sure they work. >=20 > I've pushed an updated patch to "wip-gcc7" based on the latest > 'core-updates'. >=20 I fixed the bootstrapping on aarch64- and armhf-linux. glibc-final-with-bootstrap-bash was failing to find errno.h and some other headers, disabling the obsolete rpc support (which wasn't enabled anywhere else) made it work. > The cross-compiler toolchain is still broken: it fails to build the very > last GCC. For armhf, the build system tries to include > "gnu/stubs-soft.h" during "./configure" and fails, even though it gets > "--with-float=3Dhard" as a flag. >=20 > When building the AArch64 cross-compiler, GCC segfaults later in the > process: >=20 > build/genmatch --gimple ../../gcc-7.4.0/gcc/match.pd > tmp-gimple-match.c > /gnu/store/vfqvdfdnd8fi9gcx710mpfaf0x4dfd37-bash-minimal-5.0/bin/bash: li= ne 1: 1789 Segmentation fault > build/genmatch --gimple ../../gcc-7.4.0/gcc/match.pd > tmp-gimple-match.c > make[2]: *** [Makefile:2460: s-match] Error 139 I'm going to see if I can build hello --target=3Darm-linux-gnueabihf next and see how that works. --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --FwyhczKCDPOVeYh6 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAlxDWawACgkQQarn3Mo9 g1GbYw/8ClTKzRrE2zRfLhjxadYR+yd2bEZfARyJ1VviyhvwIFsqvyord0VSOOLc I4Liezf/opAo6Wgaq39VxtXpeFDal3wSJimx43/mJ4PUSTt9PkRzB7bU4ufmbSI3 bvWKr7cHx5Wln/nwq4ogmFWsDF8u7hrutR7xlDqmL2cS7CHJ+PnNVnu3EDMQo/d6 tZguazKhYB0uUyik/TL/eO5qzXLNVd6IAIForRiuGRPQsGu/HtD2IoLBiAhhSwA6 1tb4I4XMX9GWQ7nqSMx8HfUTL15459+gu2k26u5V/U+9CEhrO5Qk2RomyEL1BToQ PlfsKd4ML4r16k0A9crmKOh0QxiUAgVOG+HpvJ4XxEjqV1GZbynush7CW+8ihUSp R5+KEe+IUK1mRgmN/aUU4WQDxyYSM5Udx7PVGtLcxbXwKywOovAfaLa7FVMJR73N 0uBdkfwfv9GxW7eR1KYbPEnXRCFU6X25J+mnHye5Xah4J/E4uoF6fl5cd86FhOMQ K7YN+pU657HT8EW07IPnwCSSf6jr9JudFVNWpbxDXWTe2l6q4l20GZJq8IygeOMA kgMa7BNvIGKr6UccdccaAXo6JHjVSn1lL03CVMWda3Xc/EtiO91mPxwB2uUWjSip dcsrU1XJ0eYUA0WBcOEZ6fETQJyqs3uWRw3qE4y69CPtbJ5ioOI= =myOA -----END PGP SIGNATURE----- --FwyhczKCDPOVeYh6-- From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 19 15:01:29 2019 Received: (at 32953) by debbugs.gnu.org; 19 Jan 2019 20:01:29 +0000 Received: from localhost ([127.0.0.1]:38061 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gkwo5-0006Ls-Ek for submit@debbugs.gnu.org; Sat, 19 Jan 2019 15:01:29 -0500 Received: from flashner.co.il ([178.62.234.194]:55520) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gkwo3-0006LY-3y for 32953@debbugs.gnu.org; Sat, 19 Jan 2019 15:01:27 -0500 Received: from localhost (unknown [188.120.128.87]) by flashner.co.il (Postfix) with ESMTPSA id 8AB60405C8; Sat, 19 Jan 2019 20:01:20 +0000 (UTC) Date: Sat, 19 Jan 2019 22:01:19 +0200 From: Efraim Flashner To: Marius Bakke Subject: Re: [bug#32953] [PATCH core-updates-next 0/8] Use GCC7 as the default compiler. Message-ID: <20190119200119.GA13339@macbook41> References: <20181006131420.8131-1-mbakke@fastmail.com> <87ftxjhux0.fsf@fastmail.com> <87a7krb5hf.fsf@gnu.org> <20181229175833.GU2581@macbook41> <8736psiu9h.fsf@fastmail.com> <20190119170904.GF25281@macbook41> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="17pEHd4RhPHOinZp" Content-Disposition: inline In-Reply-To: <20190119170904.GF25281@macbook41> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 User-Agent: Mutt/1.11.0 (2018-11-25) X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 32953 Cc: 32953@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --17pEHd4RhPHOinZp Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jan 19, 2019 at 07:09:04PM +0200, Efraim Flashner wrote: >=20 > I'm going to see if I can build hello --target=3Darm-linux-gnueabihf next > and see how that works. When I get to gcc-cross-arm-linux-gnueabihf it fails during configure, cannot find gmp.h. Looking at (gnu packages cross-base), I don't think there are any package-inputs for xgcc. I still thought gcc bundled its own gmp et. al. --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --17pEHd4RhPHOinZp Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAlxDggsACgkQQarn3Mo9 g1Gc6A/8DuffY+Y4vGAyBIoYwzPIBxTzIqXhNxaK7LA8cV/U8zhs7ocMZrIjf8XX YuDgYWLiZH3nPWJBzHXheI/CqHBQjtH/hAVcns4jojRnp6/4WlZT4QnoOfPAmVxM f96jzNXBRDVFvSaEfGTpdkJaxAeAv6g/2Jtr90BuxRF5hoQUqAacr2UWyaQhUEnJ USJMhRoitGX7eyUDoonJ7/hx3J4gN73vQoU8aTuvGhHd5oIpFleJaOfrpIvkKNUK Jd9R+Qf/q7hTuvIF7DGqSSbwE9y19GlVrDA7hAy5ggY5+VOgNeQs6vEwPWLX+0Ml CLV4cyiMOpwGi9PgQj94o3EqbDmp+pwtGn5x3LpWlXGK8gh9flGWPSGB7Jak1Okz PVJ1IpFzCqYN3Cf4/WQpksQvZPTtwNqS0Mhv3JVdA2EhCu56valG/4+h707Cz9BL KCfVJC/8B5An9QtVtLk0Fx/sLobpYfpEqMMQ5OffmV7gp1KHQZ6X437pqaYi2W36 K5hFdkLYiv7OciBDHY7ipUBO6DNvUex3pPNhgHliHhAYHsk2uqJQqQCaXbJoF1PW Ye1xuOBUQ4auSs/hNRlRpTGw0FiF2M23j39VaSYt8kHuonXOlud1WDjPY42KLUP3 KyVqlHQIw7BPVXR6wwF+EN/VjHG2BheYYlZ8QyJ1jailL9qnFG0= =lSys -----END PGP SIGNATURE----- --17pEHd4RhPHOinZp-- From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 06 15:24:09 2019 Received: (at 32953) by debbugs.gnu.org; 6 Feb 2019 20:24:09 +0000 Received: from localhost ([127.0.0.1]:36190 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1grTjs-0005BJ-NG for submit@debbugs.gnu.org; Wed, 06 Feb 2019 15:24:09 -0500 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:56885) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1grTjq-0005Am-ER for 32953@debbugs.gnu.org; Wed, 06 Feb 2019 15:24:07 -0500 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 892792D79; Wed, 6 Feb 2019 15:24:00 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Wed, 06 Feb 2019 15:24:00 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-type; s=fm2; bh=1lIM/A+YtpaqCC11eBFEnWjjAu UaOK4sXfUE8HeFEd0=; b=dMgVOUsLr7958PMEh7FgF9y6lAOPLFui0cU0nxR7qY sXvltTQhLDgxnPFx56lwWe1OcJHRY2Sn4FC0tVNH94hJz3Er1zg35q+fiO8qLObS ZJDt+OxtKJtkVU00rsWYMxGFcCXGQ+tzU/2zTkj2Tdx7eSJyy0xteDKpp0NlNE56 bz7n1dnNl30jTpEty8As02qogyorD0BL5MeUyTl1rwwx3Dy5eiTa8A3e4lHH80bP KOZjrYT3V3gCJdJ1FZOGmufDv1+SUdZ2coYU2mm7wCRemcxiaKXd0SyutL/jeX/H leCrAkM33/0X5cjI9WHRbTAPl49iTvKff9sbQqiLfp2g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=1lIM/A +YtpaqCC11eBFEnWjjAuUaOK4sXfUE8HeFEd0=; b=PW3q4I5li49xIoc18/XMlB oF/sjwFSgWhDaRkoMt5/pXqj4YNfIsxtyVEow8XSncS2NePR6kPXviYnUBVpsDL2 0cvUZFf/JSsJgwBJlSPiScl1o4xgaCOYKEtVOmODMKPMkT7cuJHOBti0EdhC4H1b zle1Pf0n4n2rg8rgTk7jfKo9BztiS0ZMUfrGIfRGwvv+eSi6InTkPQn5WM9GS1Cf GerM8BuPO2QmkbFIPgqJhMpc8D8nTDOqTIasiVCmuZsG6O0rvvr5iOE5v7Jc5itD v0o+tKN4vZN8RLOulMqI8jP7PdLNLf1OB9HJcZvvw1HSrJj0EXIA8ul4w1dh+8+Q == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedtledrkeekgddugedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfquhhtnecuuegrihhlohhuthemucef tddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvffujghffg ffkfggtgesghdtreertdertdenucfhrhhomhepofgrrhhiuhhsuceurghkkhgvuceomhgs rghkkhgvsehfrghsthhmrghilhdrtghomheqnecukfhppeeivddrudeirddvvdeirdduge dtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehmsggrkhhkvgesfhgrshhtmhgrihhlrdgt ohhmnecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: from localhost (140.226.16.62.customer.cdi.no [62.16.226.140]) by mail.messagingengine.com (Postfix) with ESMTPA id 9B1BD100E5; Wed, 6 Feb 2019 15:23:58 -0500 (EST) From: Marius Bakke To: Efraim Flashner Subject: Re: [bug#32953] [PATCH core-updates-next 0/8] Use GCC7 as the default compiler. In-Reply-To: <20190119200119.GA13339@macbook41> References: <20181006131420.8131-1-mbakke@fastmail.com> <87ftxjhux0.fsf@fastmail.com> <87a7krb5hf.fsf@gnu.org> <20181229175833.GU2581@macbook41> <8736psiu9h.fsf@fastmail.com> <20190119170904.GF25281@macbook41> <20190119200119.GA13339@macbook41> User-Agent: Notmuch/0.28 (https://notmuchmail.org) Emacs/26.1 (x86_64-pc-linux-gnu) Date: Wed, 06 Feb 2019 21:23:56 +0100 Message-ID: <871s4kpswz.fsf@fastmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 32953 Cc: 32953@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Efraim Flashner writes: > On Sat, Jan 19, 2019 at 07:09:04PM +0200, Efraim Flashner wrote: >>=20 >> I'm going to see if I can build hello --target=3Darm-linux-gnueabihf next >> and see how that works. > > When I get to gcc-cross-arm-linux-gnueabihf it fails during configure, > cannot find gmp.h. Looking at (gnu packages cross-base), I don't think > there are any package-inputs for xgcc. I still thought gcc bundled its > own gmp et. al. I'm happy to report that the cross-compilation issues are resolved with this trivial patch: --=-=-= Content-Type: text/x-patch Content-Disposition: inline 2 files changed, 5 insertions(+), 11 deletions(-) gnu/build/cross-toolchain.scm | 9 +++------ gnu/packages/cross-base.scm | 7 ++----- modified gnu/build/cross-toolchain.scm @@ -36,11 +36,8 @@ (define %gcc-include-paths ;; Environment variables for header search paths. - ;; Note: See for why not 'CPATH'. - '("C_INCLUDE_PATH" - "CPLUS_INCLUDE_PATH" - "OBJC_INCLUDE_PATH" - "OBJCPLUS_INCLUDE_PATH")) + ;; Note: See for why not 'C_INCLUDE_PATH' & co. + '("CPATH")) (define %gcc-cross-include-paths ;; Search path for target headers when cross-compiling. @@ -179,7 +176,7 @@ a target triplet." ;; header" such that #include_next does the right thing. (for-each (lambda (var) (setenv var (string-append libc "/include"))) - '("C_INCLUDE_PATH" "CPLUS_INCLUDE_PATH"))) + '("CROSS_C_INCLUDE_PATH" "CROSS_CPLUS_INCLUDE_PATH"))) #t))) (add-after 'install 'make-cross-binutils-visible (cut make-cross-binutils-visible #:target target <...>)) modified gnu/packages/cross-base.scm @@ -51,11 +51,8 @@ (define %gcc-include-paths ;; Environment variables for header search paths. - ;; Note: See for why not 'CPATH'. - '("C_INCLUDE_PATH" - "CPLUS_INCLUDE_PATH" - "OBJC_INCLUDE_PATH" - "OBJCPLUS_INCLUDE_PATH")) + ;; Note: See for why not 'C_INCLUDE_PATH' & co. + '("CPATH")) (define %gcc-cross-include-paths ;; Search path for target headers when cross-compiling. [back] --=-=-= Content-Type: text/plain Silly me for not catching the CROSS_C_INCLUDE_PATH issue earlier. But, at least I got to know the GCC build processes and GDB better... ;-) I will commit this series shortly and work on a followup patch that removes the various GCC5/C++14 workarounds in one go. --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlxbQlwACgkQoqBt8qM6 VPp2eQf/VAlRSJzxY0Fbhm0JD8qVSGI50Mi2iCWfB2P1f7yOw+tLOSDWhNybuCw2 fFzppNCPHvQWycK4daGH7pt7/qmil4ARwYyHWRa86uRxX6RiqlerDe9+0sYa0yiP v/9ggvU1wgAQp3AwbloMpoxnuva8PKo/TKL9H8IhxkvLyLI+WnxPjreqn9gXEUMy T/wjojb3WutZdo7/qj9pmTnaWLErgDHu94SuLipeVUA9QJ1pa9VCQuGJg0Q0yuiz Q2M8ouWYwx9XEQKXiMWJ49JSIiGWXpOpculEWOqy7iEeJW0xFaUTdNo7jkBEYoS1 xTLALMPq+CNpbN/Wjut7FPi97tXL2w== =iokg -----END PGP SIGNATURE----- --==-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 06 17:36:01 2019 Received: (at 32953) by debbugs.gnu.org; 6 Feb 2019 22:36:01 +0000 Received: from localhost ([127.0.0.1]:36312 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1grVnU-00026U-UQ for submit@debbugs.gnu.org; Wed, 06 Feb 2019 17:36:01 -0500 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21143) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1grVnT-00026M-J5 for 32953@debbugs.gnu.org; Wed, 06 Feb 2019 17:36:00 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1549492530; cv=none; d=zoho.com; s=zohoarc; b=ZNcJZ5xG0gTudxOQM69wJzbDCvmYmcp7702GFkexmzdkC6PBVAS0sChIY7k/eV9U9BP8s/JFUR+6c/kE/u+8HXKSGuKmTfXc7ZfBuwswMLKOcxyM4PwR3DgCioZn8trPyipr2tgjaUsUW1/HdI5tpbxJ5+O/eZPWsQyUT8+GppM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1549492530; h=Content-Type:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To:ARC-Authentication-Results; bh=HM7h+wJ6qScROYUXpxCyL/TVxT4GidragBWBo8li5S8=; b=ZrsoT6K8shmlcSn7j10YFjzrZr4n6me81GJGMGBDAPrqpmyE9vtZIdzGHIQxDgExNbZE6QLTZ8CchdpzOvfUBolwPCb31+iE2AXFVJwZZOCes1xw3xlutGJR0fKpNd1ojC0baiuhbkXxacpvAokbWWn5+VyMR1tmlAVsytFH5ZM= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1549492530; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type; l=2704; bh=HM7h+wJ6qScROYUXpxCyL/TVxT4GidragBWBo8li5S8=; b=Pz9Y7Is479oc1qy9gLxLqNAwl7xZRpxaJymqFho48hWPtO5AHmOkhrBmu3swpy5K //zTVsrnBr70nAARAG+TLQ4SxFX8Cukpz1R+/UMNuf3E4oVW8GZZLOwdCrecyUDo9i2 8d5MfcFBC6xU+weTHvfq8EwiBqpFAS7YBAdjHYzk= Received: from localhost (p3E9E9403.dip0.t-ipconnect.de [62.158.148.3]) by mx.zohomail.com with SMTPS id 1549492529182338.73952458856706; Wed, 6 Feb 2019 14:35:29 -0800 (PST) References: <20181006131420.8131-1-mbakke@fastmail.com> <87ftxjhux0.fsf@fastmail.com> <87a7krb5hf.fsf@gnu.org> <20181229175833.GU2581@macbook41> <8736psiu9h.fsf@fastmail.com> <20190119170904.GF25281@macbook41> <20190119200119.GA13339@macbook41> <871s4kpswz.fsf@fastmail.com> User-agent: mu4e 1.0; emacs 26.1 From: Ricardo Wurmus To: Marius Bakke Subject: Re: [bug#32953] [PATCH core-updates-next 0/8] Use GCC7 as the default compiler. In-reply-to: <871s4kpswz.fsf@fastmail.com> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Wed, 06 Feb 2019 23:35:24 +0100 Message-ID: <87ftt0fsur.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain X-ZohoMailClient: External X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 32953 Cc: 32953@debbugs.gnu.org, Efraim Flashner X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Marius, > Efraim Flashner writes: > >> On Sat, Jan 19, 2019 at 07:09:04PM +0200, Efraim Flashner wrote: >>> >>> I'm going to see if I can build hello --target=arm-linux-gnueabihf next >>> and see how that works. >> >> When I get to gcc-cross-arm-linux-gnueabihf it fails during configure, >> cannot find gmp.h. Looking at (gnu packages cross-base), I don't think >> there are any package-inputs for xgcc. I still thought gcc bundled its >> own gmp et. al. > > I'm happy to report that the cross-compilation issues are resolved with > this trivial patch: > > 2 files changed, 5 insertions(+), 11 deletions(-) > gnu/build/cross-toolchain.scm | 9 +++------ > gnu/packages/cross-base.scm | 7 ++----- > > modified gnu/build/cross-toolchain.scm > @@ -36,11 +36,8 @@ > > (define %gcc-include-paths > ;; Environment variables for header search paths. > - ;; Note: See for why not 'CPATH'. > - '("C_INCLUDE_PATH" > - "CPLUS_INCLUDE_PATH" > - "OBJC_INCLUDE_PATH" > - "OBJCPLUS_INCLUDE_PATH")) > + ;; Note: See for why not 'C_INCLUDE_PATH' & co. > + '("CPATH")) > > (define %gcc-cross-include-paths > ;; Search path for target headers when cross-compiling. > @@ -179,7 +176,7 @@ a target triplet." > ;; header" such that #include_next does the right thing. > (for-each (lambda (var) > (setenv var (string-append libc "/include"))) > - '("C_INCLUDE_PATH" "CPLUS_INCLUDE_PATH"))) > + '("CROSS_C_INCLUDE_PATH" "CROSS_CPLUS_INCLUDE_PATH"))) > #t))) > (add-after 'install 'make-cross-binutils-visible > (cut make-cross-binutils-visible #:target target <...>)) > modified gnu/packages/cross-base.scm > @@ -51,11 +51,8 @@ > > (define %gcc-include-paths > ;; Environment variables for header search paths. > - ;; Note: See for why not 'CPATH'. > - '("C_INCLUDE_PATH" > - "CPLUS_INCLUDE_PATH" > - "OBJC_INCLUDE_PATH" > - "OBJCPLUS_INCLUDE_PATH")) > + ;; Note: See for why not 'C_INCLUDE_PATH' & co. > + '("CPATH")) > > (define %gcc-cross-include-paths > ;; Search path for target headers when cross-compiling. > > [back] > Silly me for not catching the CROSS_C_INCLUDE_PATH issue earlier. But, > at least I got to know the GCC build processes and GDB better... ;-) > > I will commit this series shortly and work on a followup patch that > removes the various GCC5/C++14 workarounds in one go. Will this break compilation with GCC5 and older, when they are installed in a profile or used as inputs? Do we need copies of these variables and use different variants for different compiler versions? -- Ricardo From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 06 18:03:33 2019 Received: (at 32953) by debbugs.gnu.org; 6 Feb 2019 23:03:33 +0000 Received: from localhost ([127.0.0.1]:36345 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1grWE8-0002qH-V1 for submit@debbugs.gnu.org; Wed, 06 Feb 2019 18:03:33 -0500 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:45853) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1grWE5-0002q0-Mw for 32953@debbugs.gnu.org; Wed, 06 Feb 2019 18:03:31 -0500 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 98C733070; Wed, 6 Feb 2019 18:03:23 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Wed, 06 Feb 2019 18:03:23 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-type; s=fm2; bh=5hz5Y4c6uEnuCVdnZsS6CtUgnt 34jpHOaEUzevwpyzI=; b=XyuDzJ3FRZhsx77ftCH8TTD6rYfjYosjBUNZJ2zILY T7O/RU1EFglAhnS3XyxEjBHKQhtu/FlinIwRYG/UDUBxrT3SlRBqXE78bjKavlKv M38gkONK4Fhlr2dVn+bajZA5mX9lIb5SV13l5UmuM3mlfTtm1P4+JT1zcnXxzL+Z /P5WpxbN9OF/mG2Fe9ukrC2E386ayLJdSBpOl4MP32dq3Vuz3O9gDYjTAYu8CCvF UCOiDU5+JxYf+3FhcCrS2EENRPeer7oP5NGtEmq9173uE7VA1yDQvwvnFglh2qHn uzdvvsRn0ecWgZ9j64nQQcuLzs1c+m7YhuFpKMkVPQoA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=5hz5Y4 c6uEnuCVdnZsS6CtUgnt34jpHOaEUzevwpyzI=; b=hAu0iTjEF3Ys/nUP/4H2hF 8kBYAJ2yFWRgBiRj0k6Rbsly88F4xmI6qJpoCj17s7P8kuNExjF5o34zMqghBJlD UKz20OL51Hym3DW/8ry1TbJ+Wa51ouEtKYsbbAR4NHxyBbuEqMqf2rhAyCTVHSPI j3ZKk+3BKwOddnQ54k0ch7yoxNodfspTWpmCuyoHCgiJ4OysKyu7kSX/xwqSged6 Ghg4kJSxUQT1LMoW8Gtiqsh/2+/872W3Mk3mcscUMIiKMDNN5Y4cjHmaSE9LGsCd VPzupL7UFERj3pIqcK6ao+GfJPzb0vWwDiNIgLmvhCauwAw87CGtL3qylwZ5J2vw == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedtledrkeelgddtudcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfhuthenuceurghilhhouhhtmecufedt tdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvufgjfhgfff fkgggtsehgtderredtredtnecuhfhrohhmpeforghrihhushcuuegrkhhkvgcuoehmsggr khhkvgesfhgrshhtmhgrihhlrdgtohhmqeenucffohhmrghinhepghhnuhdrohhrghenuc fkphepiedvrdduiedrvddviedrudegtdenucfrrghrrghmpehmrghilhhfrhhomhepmhgs rghkkhgvsehfrghsthhmrghilhdrtghomhenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from localhost (140.226.16.62.customer.cdi.no [62.16.226.140]) by mail.messagingengine.com (Postfix) with ESMTPA id AED20E4364; Wed, 6 Feb 2019 18:03:21 -0500 (EST) From: Marius Bakke To: Ricardo Wurmus Subject: Re: [bug#32953] [PATCH core-updates-next 0/8] Use GCC7 as the default compiler. In-Reply-To: <87ftt0fsur.fsf@elephly.net> References: <20181006131420.8131-1-mbakke@fastmail.com> <87ftxjhux0.fsf@fastmail.com> <87a7krb5hf.fsf@gnu.org> <20181229175833.GU2581@macbook41> <8736psiu9h.fsf@fastmail.com> <20190119170904.GF25281@macbook41> <20190119200119.GA13339@macbook41> <871s4kpswz.fsf@fastmail.com> <87ftt0fsur.fsf@elephly.net> User-Agent: Notmuch/0.28 (https://notmuchmail.org) Emacs/26.1 (x86_64-pc-linux-gnu) Date: Thu, 07 Feb 2019 00:03:20 +0100 Message-ID: <87pns4o6yv.fsf@fastmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 32953 Cc: 32953@debbugs.gnu.org, Efraim Flashner X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Ricardo Wurmus writes: > Hi Marius, > >> Efraim Flashner writes: >> >>> On Sat, Jan 19, 2019 at 07:09:04PM +0200, Efraim Flashner wrote: >>>>=20 >>>> I'm going to see if I can build hello --target=3Darm-linux-gnueabihf n= ext >>>> and see how that works. >>> >>> When I get to gcc-cross-arm-linux-gnueabihf it fails during configure, >>> cannot find gmp.h. Looking at (gnu packages cross-base), I don't think >>> there are any package-inputs for xgcc. I still thought gcc bundled its >>> own gmp et. al. >> >> I'm happy to report that the cross-compilation issues are resolved with >> this trivial patch: >> >> 2 files changed, 5 insertions(+), 11 deletions(-) >> gnu/build/cross-toolchain.scm | 9 +++------ >> gnu/packages/cross-base.scm | 7 ++----- >> >> modified gnu/build/cross-toolchain.scm >> @@ -36,11 +36,8 @@ >>=20=20 >> (define %gcc-include-paths >> ;; Environment variables for header search paths. >> - ;; Note: See for why not 'CPATH'. >> - '("C_INCLUDE_PATH" >> - "CPLUS_INCLUDE_PATH" >> - "OBJC_INCLUDE_PATH" >> - "OBJCPLUS_INCLUDE_PATH")) >> + ;; Note: See for why not 'C_INCLUDE_PATH'= & co. >> + '("CPATH")) >>=20=20 >> (define %gcc-cross-include-paths >> ;; Search path for target headers when cross-compiling. >> @@ -179,7 +176,7 @@ a target triplet." >> ;; header" such that #include_next does the right thing. >> (for-each (lambda (var) >> (setenv var (string-append libc "/include"))) >> - '("C_INCLUDE_PATH" "CPLUS_INCLUDE_PATH"))) >> + '("CROSS_C_INCLUDE_PATH" "CROSS_CPLUS_INCLUDE_PAT= H"))) >> #t))) >> (add-after 'install 'make-cross-binutils-visible >> (cut make-cross-binutils-visible #:target target <...>)) >> modified gnu/packages/cross-base.scm >> @@ -51,11 +51,8 @@ >>=20=20 >> (define %gcc-include-paths >> ;; Environment variables for header search paths. >> - ;; Note: See for why not 'CPATH'. >> - '("C_INCLUDE_PATH" >> - "CPLUS_INCLUDE_PATH" >> - "OBJC_INCLUDE_PATH" >> - "OBJCPLUS_INCLUDE_PATH")) >> + ;; Note: See for why not 'C_INCLUDE_PATH'= & co. >> + '("CPATH")) >>=20=20 >> (define %gcc-cross-include-paths >> ;; Search path for target headers when cross-compiling. >> >> [back] >> Silly me for not catching the CROSS_C_INCLUDE_PATH issue earlier. But, >> at least I got to know the GCC build processes and GDB better... ;-) >> >> I will commit this series shortly and work on a followup patch that >> removes the various GCC5/C++14 workarounds in one go. > > Will this break compilation with GCC5 and older, when they are installed > in a profile or used as inputs? Do we need copies of these variables > and use different variants for different compiler versions? I believe using (CROSS_)CPATH will work for all GCC versions, whereas (CROSS_)C_INCLUDE_PATH are broken for GCC >=3D 6. We do use C_INCLUDE_PATH for GCC < 6 in (gnu packages gcc), but I don't think the added complexity is worth it for the cross-compiler infrastructure. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlxbZ7gACgkQoqBt8qM6 VPqi2ggArvfQTFTEDcbK8Fc4T99mjvEWPsxqJQPY5YBUPxfaXB2U+pYgRW6qoIjc rFR/AIacGrYhtBakiHrqek2p2ieUfcUg5hKGzbG4q1926qqDPgHXeH4ZFkKSrCqs Jo33r2d+A9ISOLR1+J7A5JEAV0iqsfVVZ2jglKC7cN8CHjckSCMupAviN+rXehS4 b274E6ooREwVwBKaizeEs9bkZWSJGUotfyk0H1osDkGHJo6lweCx20cciH9mGLWn K8TToKYrTjgnj5E2C5h+Yv9RhCD8FqjQP57PXfahJM6HBtQi3rPUCnbdSechnqbR J1F1UskE2pcSnn2iep5eS65982szHA== =3JNl -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 08 09:14:53 2019 Received: (at 32953) by debbugs.gnu.org; 8 Feb 2019 14:14:53 +0000 Received: from localhost ([127.0.0.1]:39005 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gs6vc-0006a7-LX for submit@debbugs.gnu.org; Fri, 08 Feb 2019 09:14:53 -0500 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21051) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gs6va-0006Zx-1i for 32953@debbugs.gnu.org; Fri, 08 Feb 2019 09:14:50 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1549628923; cv=none; d=zoho.com; s=zohoarc; b=QB1YOWUPBKC1NQWYdhS5d0XVqOinp/kNCvpcJQFdc9SSMvNXrvPxY67Cg4fveBLYadWXsGPa6IMgWiQt6/p9qMN7jtXGpRWH1x2mAfDgTlhcxvKAtmoihIlV99EwH0bu9igXV4JDNbB2RX6yelexJDklZ3umjX6aCsoHGszIx38= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1549628923; h=Content-Type:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To:ARC-Authentication-Results; bh=GXwz7rqE+o0grPtvFK/bGABDb7MiZjW/zhKW1Tt+Xrc=; b=XmvRhiC7CLSI6M0mfiNnCX3M2ov4Fjpmuc1Qdo1YFHW5xULlK5UOW2AuC38P3km40TRev/JQBYR+fFTWKIgpDCUJjfnoF7b95/+ERwTbxYgsWDd+LY6o9WmjPlI6dxSTSfoOxcMSZnNgglaqCpiE6iIIDLYcXHS3scoMYkGgxU0= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1549628923; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type; l=3309; bh=GXwz7rqE+o0grPtvFK/bGABDb7MiZjW/zhKW1Tt+Xrc=; b=NeoNiQCKC9Z7ypIkOW2bLRYw8RxH+gIJHCou6HJbcD5skK50pDggb+4ulwixs57b Tjvqh8ymfEeL9ZzjW14YxzggPJ5QfvOKhnTfqWWFcf1DWm18tsdrnsIJ0kDsGhw5gy2 KD1H2tEpINK41tBmrIWeBnnmhwDy3XEbPHd5mTOA= Received: from localhost (p3E9E9147.dip0.t-ipconnect.de [62.158.145.71]) by mx.zohomail.com with SMTPS id 1549628921866487.691349558542; Fri, 8 Feb 2019 04:28:41 -0800 (PST) References: <20181006131420.8131-1-mbakke@fastmail.com> <87ftxjhux0.fsf@fastmail.com> <87a7krb5hf.fsf@gnu.org> <20181229175833.GU2581@macbook41> <8736psiu9h.fsf@fastmail.com> <20190119170904.GF25281@macbook41> <20190119200119.GA13339@macbook41> <871s4kpswz.fsf@fastmail.com> <87ftt0fsur.fsf@elephly.net> <87pns4o6yv.fsf@fastmail.com> User-agent: mu4e 1.0; emacs 26.1 From: Ricardo Wurmus To: Marius Bakke Subject: Re: [bug#32953] [PATCH core-updates-next 0/8] Use GCC7 as the default compiler. In-reply-to: <87pns4o6yv.fsf@fastmail.com> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Fri, 08 Feb 2019 13:28:37 +0100 Message-ID: <87ftsympl6.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain X-ZohoMailClient: External X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 32953 Cc: 32953@debbugs.gnu.org, Efraim Flashner X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Marius Bakke writes: > Ricardo Wurmus writes: > >> Hi Marius, >> >>> Efraim Flashner writes: >>> >>>> On Sat, Jan 19, 2019 at 07:09:04PM +0200, Efraim Flashner wrote: >>>>> >>>>> I'm going to see if I can build hello --target=arm-linux-gnueabihf next >>>>> and see how that works. >>>> >>>> When I get to gcc-cross-arm-linux-gnueabihf it fails during configure, >>>> cannot find gmp.h. Looking at (gnu packages cross-base), I don't think >>>> there are any package-inputs for xgcc. I still thought gcc bundled its >>>> own gmp et. al. >>> >>> I'm happy to report that the cross-compilation issues are resolved with >>> this trivial patch: >>> >>> 2 files changed, 5 insertions(+), 11 deletions(-) >>> gnu/build/cross-toolchain.scm | 9 +++------ >>> gnu/packages/cross-base.scm | 7 ++----- >>> >>> modified gnu/build/cross-toolchain.scm >>> @@ -36,11 +36,8 @@ >>> >>> (define %gcc-include-paths >>> ;; Environment variables for header search paths. >>> - ;; Note: See for why not 'CPATH'. >>> - '("C_INCLUDE_PATH" >>> - "CPLUS_INCLUDE_PATH" >>> - "OBJC_INCLUDE_PATH" >>> - "OBJCPLUS_INCLUDE_PATH")) >>> + ;; Note: See for why not 'C_INCLUDE_PATH' & co. >>> + '("CPATH")) >>> >>> (define %gcc-cross-include-paths >>> ;; Search path for target headers when cross-compiling. >>> @@ -179,7 +176,7 @@ a target triplet." >>> ;; header" such that #include_next does the right thing. >>> (for-each (lambda (var) >>> (setenv var (string-append libc "/include"))) >>> - '("C_INCLUDE_PATH" "CPLUS_INCLUDE_PATH"))) >>> + '("CROSS_C_INCLUDE_PATH" "CROSS_CPLUS_INCLUDE_PATH"))) >>> #t))) >>> (add-after 'install 'make-cross-binutils-visible >>> (cut make-cross-binutils-visible #:target target <...>)) >>> modified gnu/packages/cross-base.scm >>> @@ -51,11 +51,8 @@ >>> >>> (define %gcc-include-paths >>> ;; Environment variables for header search paths. >>> - ;; Note: See for why not 'CPATH'. >>> - '("C_INCLUDE_PATH" >>> - "CPLUS_INCLUDE_PATH" >>> - "OBJC_INCLUDE_PATH" >>> - "OBJCPLUS_INCLUDE_PATH")) >>> + ;; Note: See for why not 'C_INCLUDE_PATH' & co. >>> + '("CPATH")) >>> >>> (define %gcc-cross-include-paths >>> ;; Search path for target headers when cross-compiling. >>> >>> [back] >>> Silly me for not catching the CROSS_C_INCLUDE_PATH issue earlier. But, >>> at least I got to know the GCC build processes and GDB better... ;-) >>> >>> I will commit this series shortly and work on a followup patch that >>> removes the various GCC5/C++14 workarounds in one go. >> >> Will this break compilation with GCC5 and older, when they are installed >> in a profile or used as inputs? Do we need copies of these variables >> and use different variants for different compiler versions? > > I believe using (CROSS_)CPATH will work for all GCC versions, whereas > (CROSS_)C_INCLUDE_PATH are broken for GCC >= 6. > > We do use C_INCLUDE_PATH for GCC < 6 in (gnu packages gcc), but I don't > think the added complexity is worth it for the cross-compiler > infrastructure. Thanks for the explanation. Will this allow us to close bug #30756? -- Ricardo From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 09 10:01:01 2019 Received: (at 32953) by debbugs.gnu.org; 9 Feb 2019 15:01:01 +0000 Received: from localhost ([127.0.0.1]:41425 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gsU7p-0003dI-AA for submit@debbugs.gnu.org; Sat, 09 Feb 2019 10:01:01 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:49786) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gsU7n-0003d8-80 for 32953@debbugs.gnu.org; Sat, 09 Feb 2019 10:01:00 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 016F9DBB1; Sat, 9 Feb 2019 16:00:58 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6RfauJvkke1k; Sat, 9 Feb 2019 16:00:57 +0100 (CET) Received: from ribbon (unknown [IPv6:2a01:e0a:1d:7270:af76:b9b:ca24:c465]) by hera.aquilenet.fr (Postfix) with ESMTPSA id C837BDB06; Sat, 9 Feb 2019 16:00:56 +0100 (CET) From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Marius Bakke Subject: Re: [bug#32953] [PATCH core-updates-next 0/8] Use GCC7 as the default compiler. References: <20181006131420.8131-1-mbakke@fastmail.com> <87ftxjhux0.fsf@fastmail.com> <87a7krb5hf.fsf@gnu.org> <20181229175833.GU2581@macbook41> <8736psiu9h.fsf@fastmail.com> <20190119170904.GF25281@macbook41> <20190119200119.GA13339@macbook41> <871s4kpswz.fsf@fastmail.com> Date: Sat, 09 Feb 2019 16:00:56 +0100 In-Reply-To: <871s4kpswz.fsf@fastmail.com> (Marius Bakke's message of "Wed, 06 Feb 2019 21:23:56 +0100") Message-ID: <87a7j5t39z.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 32953 Cc: 32953@debbugs.gnu.org, Efraim Flashner X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Hi Marius, Marius Bakke skribis: > Efraim Flashner writes: > >> On Sat, Jan 19, 2019 at 07:09:04PM +0200, Efraim Flashner wrote: >>>=20 >>> I'm going to see if I can build hello --target=3Darm-linux-gnueabihf ne= xt >>> and see how that works. >> >> When I get to gcc-cross-arm-linux-gnueabihf it fails during configure, >> cannot find gmp.h. Looking at (gnu packages cross-base), I don't think >> there are any package-inputs for xgcc. I still thought gcc bundled its >> own gmp et. al. > > I'm happy to report that the cross-compilation issues are resolved with > this trivial patch: Awesome! I think you could squash this with the =E2=80=9Cgnu: Use GCC 7 as= the default compiler.=E2=80=9D commit, and then go ahead and push. I=E2=80=99m happy we=E2=80=99ll soon have a more recent base compiler! Thank you, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 09 15:57:47 2019 Received: (at 32953-done) by debbugs.gnu.org; 9 Feb 2019 20:57:47 +0000 Received: from localhost ([127.0.0.1]:41584 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gsZh5-00063f-Ge for submit@debbugs.gnu.org; Sat, 09 Feb 2019 15:57:47 -0500 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:51815) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gsZh2-00063O-SA for 32953-done@debbugs.gnu.org; Sat, 09 Feb 2019 15:57:45 -0500 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id F05462AA2; Sat, 9 Feb 2019 15:57:38 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Sat, 09 Feb 2019 15:57:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-type; s=fm2; bh=Cv9HCwntJ4bVb63ntIIeyMvlFN JIlEjvJs0jWWi8bbI=; b=MOBjoMrH812xpkOSXjkzoy/C6DBIKFqkQK9jcHzzR9 TkFA/H0hs0ZheYxo1huQkzERrmcAmIb8vQlrMMykmmoM9Cc8ENTKnrAwuAiwthqF TILaWeGtqyTaWhh2fkd543MaGXuMHmtQ1KRZTg3LGoCM3GrSZXA9hcRyhzysSb6g z5+ANXMnFO56oC1rvtyU0CDiAicpPfyLwpkB7aWUfQJKPW+/5LYOafj9256p4o+6 QYSPzdBYFefycwppjhnA1/aOKwTwyhl7NjzGwYT/eyLvurWRiltrGksDEYOksw5K VcgFEsuFrSMe+cL44/FvDQ9pdwztHw2olju0KifGdIkQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=Cv9HCw ntJ4bVb63ntIIeyMvlFNJIlEjvJs0jWWi8bbI=; b=ldDlxVn6P9a5fYksHJoz8s 8Sf6c5O9+9cxcXRZAmvgdXkUb9qgwti7gkUbc3JXr9c4+xeOiW2y2OynojDxpbOa RzGICwHeoh7W4BxKYX4CigmiOW0wV04sNkESAphxdac+Fzn/jwSlQ/liphMYjJVg aYTWmcj2ckXAw5tN2h8oA/salCy6iIja02LlmtPX4v7/BOuj0B09/0PXwL0yuvlB EaH+mLzzL1zsMwL5KwgfftBfru955vTqyvRO9LKYZCUaJYYQ9AyxkXt6HbFCiddG JkuiUxWJLVqd0s/lgZjitHXj8lWqBsKqfDRSIZ6S4+PubovYPh2+QjpMvAPTpDjA == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedtledrleeggddugedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfquhhtnecuuegrihhlohhuthemucef tddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvffujghffg ffkfggtgesghdtreertderjeenucfhrhhomhepofgrrhhiuhhsuceurghkkhgvuceomhgs rghkkhgvsehfrghsthhmrghilhdrtghomheqnecukfhppeeivddrudeirddvvdeirdduge dtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehmsggrkhhkvgesfhgrshhtmhgrihhlrdgt ohhmnecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: from localhost (140.226.16.62.customer.cdi.no [62.16.226.140]) by mail.messagingengine.com (Postfix) with ESMTPA id 9E11610288; Sat, 9 Feb 2019 15:57:37 -0500 (EST) From: Marius Bakke To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: [bug#32953] [PATCH core-updates-next 0/8] Use GCC7 as the default compiler. In-Reply-To: <87a7j5t39z.fsf@gnu.org> References: <20181006131420.8131-1-mbakke@fastmail.com> <87ftxjhux0.fsf@fastmail.com> <87a7krb5hf.fsf@gnu.org> <20181229175833.GU2581@macbook41> <8736psiu9h.fsf@fastmail.com> <20190119170904.GF25281@macbook41> <20190119200119.GA13339@macbook41> <871s4kpswz.fsf@fastmail.com> <87a7j5t39z.fsf@gnu.org> User-Agent: Notmuch/0.28 (https://notmuchmail.org) Emacs/26.1 (x86_64-pc-linux-gnu) Date: Sat, 09 Feb 2019 21:57:36 +0100 Message-ID: <87bm3kof27.fsf@fastmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 32953-done Cc: Efraim Flashner , 32953-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s writes: > Hi Marius, > > Marius Bakke skribis: > >> Efraim Flashner writes: >> >>> On Sat, Jan 19, 2019 at 07:09:04PM +0200, Efraim Flashner wrote: >>>>=20 >>>> I'm going to see if I can build hello --target=3Darm-linux-gnueabihf n= ext >>>> and see how that works. >>> >>> When I get to gcc-cross-arm-linux-gnueabihf it fails during configure, >>> cannot find gmp.h. Looking at (gnu packages cross-base), I don't think >>> there are any package-inputs for xgcc. I still thought gcc bundled its >>> own gmp et. al. >> >> I'm happy to report that the cross-compilation issues are resolved with >> this trivial patch: > > Awesome! I think you could squash this with the =E2=80=9Cgnu: Use GCC 7 = as the > default compiler.=E2=80=9D commit, and then go ahead and push. > > I=E2=80=99m happy we=E2=80=99ll soon have a more recent base compiler! Merged in 01e8263febb9634564b4b73af49b81a36567a11b ! --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlxfPsAACgkQoqBt8qM6 VPpF+Af/df7+UQJ5rQHUQ80sm2VAoC30d4Fc7ndx79SBm7L/76T+nUM0fS2op44C dCUxC2UP50HWCmhqjORxYkuSiFlaNmus95dTAfMd4CLj+R15zueqqgTqN0ZzJ4QP Dj766ZYkLZz/e3niOP1IBeyy/EhmhcTvtwUXiudQ2MdwRTZfljrqmLjdx3eXCo0+ eBLVVXpd7RhRD2EyA4rB2d5iItE24VH4W+B80xPI3RsVyaDZ09fBdsGp2c/4r1FC FbjKJI7GPYu+Ksz788Oe4J2Ts2bTGsTRP2YrGp+KWCkO8IdKhFws+Q1hrG81hPyF EdJMvDrB30smBlqGD2TBhLHUod2q9Q== =8lRR -----END PGP SIGNATURE----- --=-=-=-- From unknown Mon Aug 18 04:42:30 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 10 Mar 2019 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator