From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:700:3204::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id KKXvGr0glWV6EQAAkFu2QA (envelope-from ) for ; Wed, 03 Jan 2024 09:54:21 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id 4AdQE70glWXtGAEAe85BDQ (envelope-from ) for ; Wed, 03 Jan 2024 09:54:21 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=lymEDAOX; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1704272060; 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:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=994LEaS3FNDggFeI9opNtBSO2NSdtLbLSp+AefjVRJc=; b=K6FXUnmGexDMNxzEjS4Ko5zTFTzdnsW2fjUNE8k74qiHfCUI9Qvp/+Dv9gyi4M78/qbNSJ Ys/wFxORYD+2uXntpkpiqpv1p6j1hDTZqxLTQKpJy93ozrkbHaVjwiV7dnizW1JlTBkjAG zb5D0QGxM8T841mcdxXyJe6DrVFGfKDoK/XfeasCvJJ4xas2QRP92tg2PdMZeUAP17MEA8 AJxBFJKjN+tVC6RyaXrhrf0QxQrZIN7rTkpIcd+fPU79fZ32pMPDE7Sz20kxgTS/EMl9iu p0fbEe45HU1SSL6lO++/wcgUWB9JwudRTYE763aVMorSULuwcMFvjP8EOi4hxQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1704272060; a=rsa-sha256; cv=none; b=U8BfAUiw8HS6CEkVugsBKrOtH93S1RxMocPMzjv77r/Lz1zY2HPW01lFUVjifetq/gkNr0 YcmN6ry7A8rIsDc+2HHZg5j74FQY47DqoNFzQwwx6B+yi/lQnG62WhEfxzjRaNnIUbdHii zFb800VFUzqB10B4VhLLqhAcSaqS9oHwirhCqOc9pLeXY83uLnfvip9EhFNCXUaFZnOkDl X1eVKcG+msFlVQ9n3oL/8RdEjnZ93GnkKsh/Sazy7CqS4rAjM1g+i2kCrKLWTCIHLnPrz/ cyJCjME/mqTrFCA7Z8nOh2zE4qe8v7R6IWNlgOkXdD3FlStF4J1jxiItGnis+g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=lymEDAOX; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none 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 B35B44076B for ; Wed, 3 Jan 2024 09:54:20 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rKx0k-0003ZU-2Y; Wed, 03 Jan 2024 03:54:02 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rKx0h-0003Yx-Tg for guix-patches@gnu.org; Wed, 03 Jan 2024 03:53:59 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rKx0h-0002WA-LN for guix-patches@gnu.org; Wed, 03 Jan 2024 03:53:59 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rKx0k-0000dT-7G for guix-patches@gnu.org; Wed, 03 Jan 2024 03:54:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68202] [PATCH 5/5] gnu: libsigsegv: Fix building for x86_64-linux-gnux32. Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 03 Jan 2024 08:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68202 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Mathieu Othacehe Cc: 68202@debbugs.gnu.org Received: via spool by 68202-submit@debbugs.gnu.org id=B68202.17042720182413 (code B ref 68202); Wed, 03 Jan 2024 08:54:02 +0000 Received: (at 68202) by debbugs.gnu.org; 3 Jan 2024 08:53:38 +0000 Received: from localhost ([127.0.0.1]:51831 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rKx0M-0000cq-9K for submit@debbugs.gnu.org; Wed, 03 Jan 2024 03:53:38 -0500 Received: from mail-wr1-x429.google.com ([2a00:1450:4864:20::429]:56708) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rKx0J-0000cc-EH for 68202@debbugs.gnu.org; Wed, 03 Jan 2024 03:53:37 -0500 Received: by mail-wr1-x429.google.com with SMTP id ffacd0b85a97d-336979a566aso8525715f8f.1 for <68202@debbugs.gnu.org>; Wed, 03 Jan 2024 00:53:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704272006; x=1704876806; darn=debbugs.gnu.org; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date:sender:from:to :cc:subject:date:message-id:reply-to; bh=994LEaS3FNDggFeI9opNtBSO2NSdtLbLSp+AefjVRJc=; b=lymEDAOXyER2yRwZPjshASZmYasbrneoxdouOcZuovUYljSmNwQujJXg63xqDyHB4i MykuC+1PckDMSSjINiUd0fVyBZpzGK0D2N9FIPbfEMKLoy7blJ+jMh0UL/CwoQZQ+2ix inOI1n1n3MJ/lF3jS2Hx8nVUuSaehdrL9ozYy2yrs/pyi0bb0WNukAThlgfNbM9Zi0bo s/Nte77Q6Od/1mqzjvCVH3AUKeBQhwA8/lQbxgqxI+nMCi75TM+4srDqo1XIycTOaxTx yA3ijtjDbO+oewv8CwFLq8fiNRtydi5TBQa3QSHOOXQAyd58wbwy/p0OHr+M/RgGRiTA G4qQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704272006; x=1704876806; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date:sender :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=994LEaS3FNDggFeI9opNtBSO2NSdtLbLSp+AefjVRJc=; b=IUwI0XaZMuBXb1m6qmTrK5YAAz2R4NmO7CttVS+T7oP4xxWTk69RqdY2U3UwLfDhJX ckj+awqo8K0S7EmiKxitH3PMf/5dG6rX2xSSjQldota+ElGHhJGTfzqaMYED4yXNfaDx amvh1iIbNOMM2HGSviqsyqVOXNEJh2ZC162i6kqs+/hQvvPR10Bt7rEAVM9GCqdTfQ3J e72VkoSN5K1gxMJx2+KJw5hs8YsPBZ+CDu4iL4Fe45wNtrkj56cXpTdgRx8muxp1eVn9 JFskHLq9DLVewJXkzZV3atNYQpiZyZxllZVSwkAfqip+2e6er0mqGzYz+YZI1+oDwnSU E7Aw== X-Gm-Message-State: AOJu0YzWUdDUKzYfGJWedcWlh37dgg/lqfG9dqCbSN1Ft1N0yzBeupcd nCkxoKs2xUqQTYxCECFHD1g= X-Google-Smtp-Source: AGHT+IFas6fUgC4fKApRt+j6SPAsBYyJ1Lr0lS8o7dfAaFvRGVkRzzYHTPXkP4LQNpgufqCtA7retA== X-Received: by 2002:a05:600c:3b27:b0:40d:87e9:6efe with SMTP id m39-20020a05600c3b2700b0040d87e96efemr2083293wms.1.1704272006389; Wed, 03 Jan 2024 00:53:26 -0800 (PST) Received: from localhost ([141.226.15.142]) by smtp.gmail.com with ESMTPSA id q8-20020a05600c46c800b0040d2d33312csm1648927wmo.2.2024.01.03.00.53.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jan 2024 00:53:25 -0800 (PST) Date: Wed, 3 Jan 2024 10:53:24 +0200 From: Efraim Flashner Message-ID: Mail-Followup-To: Efraim Flashner , Mathieu Othacehe , 68202@debbugs.gnu.org References: <8e2a3ae4b8c3088d7c6d857e88b3dd394afb57c6.1704179455.git.efraim@flashner.co.il> <87sf3ezu17.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="OQVu68dcPMfISowR" Content-Disposition: inline In-Reply-To: <87sf3ezu17.fsf@gnu.org> 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 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -6.86 X-Spam-Score: -6.86 X-Migadu-Queue-Id: B35B44076B X-Migadu-Scanner: mx11.migadu.com X-TUID: rIOg3+0xF0Cv --OQVu68dcPMfISowR Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jan 03, 2024 at 09:43:32AM +0100, Mathieu Othacehe wrote: >=20 > Hello Efraim, >=20 > > + ;; On some architectures 'struct sigcontext' gets redefined from > > + ;; %linux-libre-headers/include/asm/sigcontext.h > > + ,@(cond ((target-mips64el?) > > + `(#:phases (modify-phases %standard-phases > > + (add-before 'configure 'patch-mips-old-h > > + (lambda _ > > + (substitute* "src/fault-linux-mips-old= =2Eh" > > + (("#include ") "= "))))))) > > + ((target-x32?) > > + `(#:phases (modify-phases %standard-phases > > + (add-before 'configure 'patch-linux-x86_64= -old-h > > + (lambda _ > > + (substitute* "src/fault-linux-x86_64-o= ld.h" > > + (("#include ") "= "))))))) > > + (else '())))) > > (description > > "GNU libsigsegv is a library to handle page faults, which occur wh= en a > > program tries to access an unavailable region of memory, in user mode.= By >=20 > #67859 is doing more or less the same thing, but for x86_64 as a > whole. Could you maybe replace `target-x32` by `target-x86`? >=20 > Maybe we should come up with a list of architectures that need that kind > of fix in libsigsegv and patch all the src/fault-linux-xxx-old-h? I don't have a mips machine hooked up so I can't test if its needed natively. I did check debian's packaging of libsigsegv and they don't have anything like this for any architecture. It wouldn't be hard to change it to (if (%current-target-system) ... (substitute* (find-files "src" "fault.*-old\\.h$") which would hit every instance of this include > The rest of the series seems fine to me. >=20 > Thanks, >=20 > Mathieu --=20 Efraim Flashner =D7=A8=D7=A0=D7=A9=D7=9C=D7=A4 = =D7=9D=D7=99=D7=A8=D7=A4=D7=90 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --OQVu68dcPMfISowR Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmWVIIEACgkQQarn3Mo9 g1GDBA/7B4iIQt0oHymoGluiL7ncDdOe108h8JWLARpl8c6en/ZDFZp/p/RgIXOp keWO9CDZX7Aai37cO12sbQd6mWEUsJgLFxxScUaOBgP+GZMZ9CSN8W+Un0tM7wg0 9pxXXa4b6HJQfAPEI/XbnTfRDnSV53hE0+rF+IHhF6Ou4ywVt1GTI0tiWSio/O+6 KpJkA4EwdY8Wnl5KecjHcknxDVNvANjWZY+MwRrou5KH9ujoE+K5JuAgs84rCNV7 N09C+e81k/fJF0QgIDM7/Gkn9A30BU7DLDBK4rpp51+ugOpBh6iCV7/wuv9fwHrR 7VgMYBfkm8z9MYv9Wt/O08pmekXrxcRWZJQXVKLbrsjtUMbRIxIkL7QAUZdeul62 eH+JAVuk+kFU5Iohr12hSHNE1h1sx9JxF2PiNRd1JHzfHncneOUyGGIvXca1Pn1Q Jh7eybs7Evr05oInxFtJsM04Dm84EDIqrHovBXGAOyBJbdAVS/cMUfu6We9sei/m Yis43KhpGjuDUMKb8duPyJMHeo0Yjd5ENtcAD+RnDHRS5OE+s5K1LC5xXSI3zaQC RvYrY2gWd5GMSGCIBIqng6FCMwkvrt5mTJv2o8RCBEqKoS4+3IRgBVE5Nn3AkJIu p1Ad2FCRdSWqzXOi5EQwhd7DJMN7h4bg6znIYUYhxYQvrJ838I8= =RHP+ -----END PGP SIGNATURE----- --OQVu68dcPMfISowR--