From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id wJoyMYka12LVuAAAbAwnHQ (envelope-from ) for ; Tue, 19 Jul 2022 22:56:41 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 4KtRMYka12KpuQAA9RJhRA (envelope-from ) for ; Tue, 19 Jul 2022 22:56:41 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 9E24719F2C for ; Tue, 19 Jul 2022 22:56:41 +0200 (CEST) Received: from localhost ([::1]:37212 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oDuGm-0000bu-Go for larch@yhetil.org; Tue, 19 Jul 2022 16:56:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52540) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oDuGX-0000bl-Jn for guix-devel@gnu.org; Tue, 19 Jul 2022 16:56:25 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:43528) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oDuGX-0004uG-7B; Tue, 19 Jul 2022 16:56:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=9876+RbNlV+JvBi+z2ZESHfewFJfVSArA77vaRVGz7w=; b=m36BrtlvkB8y2buMlpQL p81DOMGlMtk28xBJtueooZsa/Y66ka37Yu4bHypL6pFsqq3bOJ72ofl+Y7EDfb7E6iJWC9aSLTlRM Bp5Yek6X6TmHYmQobkGILj6yNJA7Dl/djGyUeAOgq0zmSOZuM7wiAMoE1++q2KHv9X8qjh1/Wp9jE pWSkqlVfEE1iDUfTCZKwJMyMUNobB15juSr4x7h+F4nEOpWWVHPUdf9kUrmg7c12HwJLC348pJsHH vI6JMFqftRlTkUnVtAZLgYsJSMxokbNsy95jYYedflXrvMQLuvA54K3GqlPlyIlSL7eMHiDnXkmm/ wXk1FlDpci+USA==; Received: from [2001:4652:9717:0:52eb:71ff:fe49:3a13] (port=50974 helo=localhost) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oDuGS-0004Hr-EM; Tue, 19 Jul 2022 16:56:24 -0400 From: Marius Bakke To: Greg Hogan Cc: guix-devel Subject: Re: Dealing with non-ASCII file names in BOOTSTRAP-ORIGIN In-Reply-To: References: <87bktmnref.fsf@gnu.org> Date: Tue, 19 Jul 2022 22:56:17 +0200 Message-ID: <877d48om8e.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1658264201; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=9876+RbNlV+JvBi+z2ZESHfewFJfVSArA77vaRVGz7w=; b=Kef6mK2bAzH+8ghN3MtJY8NWjMaPGuR4y9gnFqh+Y+MxtDsnoNLWbWDbAMcMPIEmaP7s/m VUpZrA+yfZ6R5bvP65fa6NlYIXVTGpY8AR/yzw9SGC29jUgsXcuHgqUjaN7njr9HK0cj1R tviUxKlJjiKfU2HL7sbd2nXfkCQvVddd6WpPfsAqM/ntGquHEZ404Kpwk95suyf7eaNOBf jWorK7JKw4TGAQ6btllpV8xDpsZPCcZzkxU41Pzn3SNL/k4nn0GaPZgnrnz08Djsnz8QEc 1NNIm+YEGx/jHLLdXM9BaqCxQV9atIcYKGm7luc1D5O4vdLix0R34FcFxDaU/g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1658264201; a=rsa-sha256; cv=none; b=J1lNReOBxVLiABf5kGmMdOGPzFuWjQ8SkN/gl9ZgXlj+QFS1Q7lV3NtyyVPlTN+wEFjrg1 ESTs9UupXenm7WPpkTL+A1OLi5is+oPK4Ne1hvgsjn+783dzU4DZ9lrcsylZk9pK1ESwFI 513fv39WaBEAz1kbOLC7AevVrfG1SNe5v6VENCjJ1xV6Uk94oQ4qDgOhCaqXjzTr7AEYMi dPkU1kANRI1/HvodehgWrRFkIB+WlM5Oby6kmG1puij1WN23ECwsvndhbhuJ3jpfEkzNNb DAKALQukK5dgyJrkmU8STdFRk/4LTZ4kNYqts4tOeVGKTrGANuUpCvsaiRoA4Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=m36Brtlv; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -11.13 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=m36Brtlv; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 9E24719F2C X-Spam-Score: -11.13 X-Migadu-Scanner: scn0.migadu.com X-TUID: 5ND6q4puzOun --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Greg Hogan skriver: > On the off chance that the following is helpful, in order to switch > the build to GCC 11 or 12 I had to apply the patch (with the missing > endif) from > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D100017#c12 > > You may have avoided or worked around this issue, but even though a > different fix from the ticket was patched into our GCC 11.3 and 12.1, > these would not bootstrap for me without that patch. Neat. Do you have a patch submitted to the tracker already? Did you also find a solution to the file name problem? I took a slightly different route to work around the libstdc++ bootstrap issue (see bottom hunk): =2D-8<---------------cut here---------------start------------->8--- (add-after 'unpack 'apply-patches-and-snippet (lambda* (#:key inputs #:allow-other-keys) (let ((patch1 (assoc-ref inputs "patch1")) (patch2 (assoc-ref inputs "patch2")) (libstdc++ (assoc-ref inputs "libstdc++"))) ;; Apply the patch inputs added below. (for-each (lambda (patch) (invoke "patch" "-p1" "--input" patch "--no-backup-if-mismatch")) (list patch1 patch2)) ;; Apply the gcc-canadian-cross-objdump snippet. (substitute* "libcc1/configure" (("\\$gcc_cv_objdump -T") "$OBJDUMP_FOR_TARGET -T")) ;; Fix a regression in GCC 11 where the libstc++ input ;; shadows glibc headers when building libstdc++. An ;; upstream fix was added in GCC 11.3.0, but it only ;; hides system include directories, not those on ;; CPLUS_INCLUDE_PATH. See discussion at ;; . (substitute* "libstdc++-v3/src/c++17/Makefile.in" (("^AM_CXXFLAGS =3D ") (string-append "CPLUS_INCLUDE_PATH =3D " (string-join (remove (cut string-prefix? libstdc= ++ <>) (string-split (getenv "CPLUS_INCLUDE_PAT= H") #\:)) ":") "\nAM_CXXFLAGS =3D ")))))))) =2D-8<---------------cut here---------------end--------------->8--- It's not pretty, but does the job! I won't push it right away though, waiting for feedback and checking that things generally work first. =2D-=20 Thanks, Marius --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIUEARYKAC0WIQRNTknu3zbaMQ2ddzTocYulkRQQdwUCYtcacQ8cbWFyaXVzQGdu dS5vcmcACgkQ6HGLpZEUEHc6NQD/QqUhvxZKwChHm5xsrtg0OFjM2UXGRGJP4+fO IYyPdKgA/j+3rKHeVXKmshab9yG5cUHsHTzvonMDUG4ICOYZBuYI =tqeX -----END PGP SIGNATURE----- --=-=-=--