From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:1008:1e59::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id MBucJ2kelWWRKAAAkFu2QA (envelope-from ) for ; Wed, 03 Jan 2024 09:44:25 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id qBFlImkelWVziAAA62LTzQ (envelope-from ) for ; Wed, 03 Jan 2024 09:44:25 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=BR2RKl4C; 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=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1704271465; 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=yjtXLa9c/blPjzni/GMXmEY0R8q9ajjq0U5FqoAuRLo=; b=iYpvb2SCIDWo+ciomuzdZQOVRFaowhu9+zR5QRnCejn3AxccLrX479jj8e9tZVNk7DuYuj xuC9Eo2qFEBFAv1oBnhVhstYhWzZKT5kTj7HBD3t+Dwl+KdgvgryyreEZb8HmOD4KtqCV2 GjdP8oyVHfoHo5fqRoTZw/2anYXkb40CZDRyeOLyPzVjD9JLdqsaKXK7Zn+X4qo94kiTLh Men3GRkPpTJK2PdT4NI5jkLxKFWXWSw/zNfM4QDKBtAAdYTYIMSB+g1oWHHd+KtKyjPVnP 77FtNECuPMJSlPiYYZCccqkSV+NTRWPj8xlR3DG0C2b906PGOrtD4PLgColvjg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1704271465; a=rsa-sha256; cv=none; b=H6KaabZ0h8hXHpPrUg3scwIIRAxO3UeIGPss79IpWrxlsKAAtkgvq7gLFPvf992IjO2gFL W0QJ2pf+e+JwOha3BC+KxNsuhRAJlKzEivJmB2fIr+IRJlJgqRdVmml+HQ4ugf66EYjUBp ZH14Aa/ypZd6K4sBAfQdo9//Nbvqq2vCHGXcS/TL7tyDzASOgGnhon49ULj6o7dFQlMs/j w93BqzNbanM5CIwixq9HUN2oYZjEmJQ0KItznoKFbdhusnLCcBmXOTK135K7oI33kMqpN5 r8fx7zA6rFNxQQvtiOVFVp1B14uUikOmRrn3acd/LPLe31P4tk5NigHjpvUUhA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=BR2RKl4C; 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=pass (policy=none) header.from=gnu.org 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 CF0AD405C3 for ; Wed, 3 Jan 2024 09:44:24 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rKwr3-00079x-Ca; Wed, 03 Jan 2024 03:44:01 -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 1rKwr1-00079n-N3 for guix-patches@gnu.org; Wed, 03 Jan 2024 03:43: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 1rKwr1-00059e-EJ for guix-patches@gnu.org; Wed, 03 Jan 2024 03:43:59 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rKwr4-00063D-Ac for guix-patches@gnu.org; Wed, 03 Jan 2024 03:44: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: Mathieu Othacehe Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 03 Jan 2024 08:44: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: Efraim Flashner Cc: 68202@debbugs.gnu.org Received: via spool by 68202-submit@debbugs.gnu.org id=B68202.170427142523227 (code B ref 68202); Wed, 03 Jan 2024 08:44:02 +0000 Received: (at 68202) by debbugs.gnu.org; 3 Jan 2024 08:43:45 +0000 Received: from localhost ([127.0.0.1]:51827 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rKwqn-00062Z-5c for submit@debbugs.gnu.org; Wed, 03 Jan 2024 03:43:45 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:44944) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rKwql-00062M-5J for 68202@debbugs.gnu.org; Wed, 03 Jan 2024 03:43:43 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rKwqc-00050A-HE; Wed, 03 Jan 2024 03:43:34 -0500 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=yjtXLa9c/blPjzni/GMXmEY0R8q9ajjq0U5FqoAuRLo=; b=BR2RKl4CUZ/EEtsxxcMe dfHzQmFsurGfoqMgIV+lWA/mwz+lSonn4qjCr24HQxmEOyA27bsQOnD2suQYqpSeFIDXjA2sG6XD6 U09S9XYc++IWJEnysM8ugUzZ06iNLcQOtwORV6BQdS+nVdZodspG0AaLZqL8lEfaVbd72ufbQZP1v GW0ursX8NMGyqALZpSBKS5UOzfyHbstnJC1NeI/kpBTjxFhU4TomgUYpVD06P/0U3CY85/Rjhqjyw LUBBJNqV10gLfVoDaS3BOwxbqg0X5FHRKg82LK0L8vy7/YeOy2vmsjLcqRYDwr6KGop+1gAxhBEVK hfdR+2qugYrEDw==; From: Mathieu Othacehe In-Reply-To: <8e2a3ae4b8c3088d7c6d857e88b3dd394afb57c6.1704179455.git.efraim@flashner.co.il> (Efraim Flashner's message of "Tue, 2 Jan 2024 09:27:36 +0200") References: <8e2a3ae4b8c3088d7c6d857e88b3dd394afb57c6.1704179455.git.efraim@flashner.co.il> Date: Wed, 03 Jan 2024 09:43:32 +0100 Message-ID: <87sf3ezu17.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain 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.96 X-Spam-Score: -6.96 X-Migadu-Queue-Id: CF0AD405C3 X-Migadu-Scanner: mx11.migadu.com X-TUID: LW9Vc/+IvhZr Hello Efraim, > + ;; 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.h" > + (("#include ") ""))))))) > + ((target-x32?) > + `(#:phases (modify-phases %standard-phases > + (add-before 'configure 'patch-linux-x86_64-old-h > + (lambda _ > + (substitute* "src/fault-linux-x86_64-old.h" > + (("#include ") ""))))))) > + (else '())))) > (description > "GNU libsigsegv is a library to handle page faults, which occur when a > program tries to access an unavailable region of memory, in user mode. By #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`? 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? The rest of the series seems fine to me. Thanks, Mathieu