From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 4O7XCtUjVWGwlQAAgWs5BA (envelope-from ) for ; Thu, 30 Sep 2021 04:41:25 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id yAjjBdUjVWGmTwAAbx9fmQ (envelope-from ) for ; Thu, 30 Sep 2021 02:41:25 +0000 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 59B7237BCA for ; Thu, 30 Sep 2021 04:41:20 +0200 (CEST) Received: from localhost ([::1]:50934 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mVm0d-0004Eo-An for larch@yhetil.org; Wed, 29 Sep 2021 22:41:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54524) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mVm0N-0003vX-Ky for bug-guix@gnu.org; Wed, 29 Sep 2021 22:41:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39559) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mVm0M-0000HQ-C4 for bug-guix@gnu.org; Wed, 29 Sep 2021 22:41:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mVm0M-0001F6-9c for bug-guix@gnu.org; Wed, 29 Sep 2021 22:41:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#49509: libsigsegv fails to build on emulated aarch64 [core-updates] Resent-From: Sarah Morgensen Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 30 Sep 2021 02:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49509 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by 49509-submit@debbugs.gnu.org id=B49509.16329696284715 (code B ref 49509); Thu, 30 Sep 2021 02:41:02 +0000 Received: (at 49509) by debbugs.gnu.org; 30 Sep 2021 02:40:28 +0000 Received: from localhost ([127.0.0.1]:51103 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mVlzn-0001Dz-Ka for submit@debbugs.gnu.org; Wed, 29 Sep 2021 22:40:27 -0400 Received: from out2.migadu.com ([188.165.223.204]:28445) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mVlzk-0001Dq-Ja for 49509@debbugs.gnu.org; Wed, 29 Sep 2021 22:40:26 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mgsn.dev; s=key1; t=1632969622; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=+JZ6IyoYED4Lj+Tlr6tYLc9NvT46fTE8mRK4OToNy9k=; b=KaH1LkHbGx0IubXgOZQ/vzNgpcG01FKMc6Qm9JYGqFATFRnEE137DJQ9E+HsKpX9kuxFQh o0C6fChMzMQfaDkBZ9G77WkrW9ggV4DGA+Gg5WTYUdloKnZnizHRyR2hxjpOCQk4hNuQTZ PENfK1COgN0YM94l6k4ZDtLUYWxq9uc= From: Sarah Morgensen References: <875yxhbynf.fsf@gnu.org> <87bl78akvx.fsf@gnu.org> Date: Wed, 29 Sep 2021 19:40:20 -0700 In-Reply-To: <87bl78akvx.fsf@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Sun, 11 Jul 2021 18:13:54 +0200 (11 weeks, 3 days, 10 hours ago)") Message-ID: <86czoqu6p7.fsf@mgsn.dev> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 49509@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1632969680; 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: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=+JZ6IyoYED4Lj+Tlr6tYLc9NvT46fTE8mRK4OToNy9k=; b=UfMIJEYBVgnxB92Hj+//MMLyP5EyNZnCPMttwYZCG9ShLyOMyNsu34cYVtZv/nejCq6Spu Z3HSxJN1h/35XU9xW9sLoDxSZN6yySb37P620Gp7pknDIrQ9Qba76mi79ktMC/gXNUSVWL kK84nRFK+/xb2LMOmJRIW+UafrEjxNuieyANVgjyacNYxvl2LWjDVdrnR01pkapTs5/D8w PWep8xQmY1e2pWPPCl1TwVE56GG5oXaIs4VvJBAhzNh6xqVkz5wtvogkW9MqrPBQd5yLYd 4dkB3WWfmP4FALmsgyLxG5H13ZcYK81d/q48QJWFUhdbXNKU04VMbsRKAADXzw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1632969680; a=rsa-sha256; cv=none; b=PdJWOojRx9sHhPyoY1wU8TqJ/V+tOe4XhyffoG/mip1fy/5a/KWBivVNzWDhxRvwoK29pP cm/tMQEWj8d8m3Lf/ZHSB6hPxhkf+jzEEN7+G65bpr/FpCOs3VFfn4KZylZJFEQxJV5lFq T6V06nPZL+eG/Oo9FqtuPH2M7dMbCgEj3kNLfOxQ9Q35pai6qzFpAdo8xsO+RmPpvsmlrF dxOxBX8JFIGUJiFV+JyRcV+ToFDV69xVEB0XjTuMhG84tLu1Q17ASXaiat7aUCngtZRslV 0+ydzDw5ITJGolSBbOeg9CwcZFOAiYifDk44/o0lqrN2iNpDfkvgGQoSIJOVyQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mgsn.dev header.s=key1 header.b=KaH1LkHb; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -1.30 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mgsn.dev header.s=key1 header.b=KaH1LkHb; dmarc=fail reason="SPF not aligned (relaxed)" header.from=mgsn.dev (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 59B7237BCA X-Spam-Score: -1.30 X-Migadu-Scanner: scn0.migadu.com X-TUID: 7VtB1F5HVLyF Hi all, Ludovic Court=C3=A8s writes: > Hello, > > Maxime Devos skribis: > >> Ludovic Court=C3=A8s schreef op zo 11-07-2021 om 00:19 [+0200]: >>> Hi, >>>=20 >>> Maxime Devos skribis: >>>=20 >>> > FAIL: stackoverflow1 >>> > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>> >=20 >>> > qemu: uncaught target signal 11 (Segmentation fault) - core dumped >>> > FAIL stackoverflow1 (exit status: 139) >>> >=20 >>> > FAIL: stackoverflow2 >>> > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>> >=20 >>> > Starting recursion pass 1. >>> > Stack overflow 1 missed. >>> > FAIL stackoverflow2 (exit status: 1) >>>=20 >>> For now I worked around it by offloading this to a =E2=80=9Creal=E2=80= =9D machine >>> (overdrive1), where it builds fine. I wonder if there=E2=80=99s much w= e can do >>> regarding QEMU=E2=80=99s behavior here. >> >> Maybe detect if QEMU is used, and if so, don't run the test suite? >> Not really a =E2=80=98clean=E2=80=99 solution though, w.r.t. reproducibi= lity, >> and I wouldn't know how to detect this. > > Yeah, I=E2=80=99d rather avoid that. > >> If this is a bug in QEMU, then ideally that would be fixed in QEMU, >> but I wouldn't know where to look. > > It could be that someone else on the intertubes stumbled upon that > issue, that=E2=80=99d be great. It could be that libsigsegv plays tricks= that > don=E2=80=99t fare well with QEMU=E2=80=99s expectations, as in > . We should ask > on bug-libsigsegv@gnu.org. > > Thanks, > Ludo=E2=80=99. (I just realized I never actually replied to this!) Configuring with "--disable-stackvma" seems to fix this. Doing this makes libsigsegv use a different heuristic for determining if a SIGSEGV was a stack overflow. I don't think it should impact functionality. Perhaps just apply that to aarch64 until there's a proper fix? This is probably a QEMU bug... I will try to report this to upstream QEMU when I can, as I can't find my notes on this right now. -- Sarah