From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 10 14:08:07 2021 Received: (at submit) by debbugs.gnu.org; 10 Jul 2021 18:08:07 +0000 Received: from localhost ([127.0.0.1]:33420 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m2HOL-0001qS-Gs for submit@debbugs.gnu.org; Sat, 10 Jul 2021 14:08:07 -0400 Received: from lists.gnu.org ([209.51.188.17]:52998) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m2HOJ-0001qL-J2 for submit@debbugs.gnu.org; Sat, 10 Jul 2021 14:07:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47294) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m2HOJ-00068K-DP for bug-guix@gnu.org; Sat, 10 Jul 2021 14:07:51 -0400 Received: from xavier.telenet-ops.be ([2a02:1800:120:4::f00:14]:60626) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m2HOG-0004Ed-LN for bug-guix@gnu.org; Sat, 10 Jul 2021 14:07:51 -0400 Received: from butterfly.local ([188.188.20.250]) by xavier.telenet-ops.be with bizsmtp id TW7e2500E5PkMxG01W7g56; Sat, 10 Jul 2021 20:07:40 +0200 Message-ID: Subject: libsigsegv fails to build on emulated aarch64 [core-updates] From: Maxime Devos To: bug-guix@gnu.org Date: Sat, 10 Jul 2021 20:07:27 +0200 Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-A3FxapKDYub141vH7HQ2" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21; t=1625940460; bh=6frxfDMhAHCSDSCI8XCjzH9rG4TyzEf9M4rDW4fmFuM=; h=Subject:From:To:Date; b=ZPZ1MRqGBp7mBUh8+FcoZCAg9+4rxMSaRp1AEKMXVPHNzfU/KLcqb5rbho2cVSSe7 +bvov52f76ix2HwuBQ/A7C7Kxx+J3AotoeOGysLZCnN5b+Xugrjbw8qK1QRNIKyIvf IUU6PpAQcxRdzua1Uw/+6q/GHSBCtYr5g7USMlTsT5V3Tapa7jXnARPZavOLeb1XO3 kAY3AjDHCENgLu7V1YUdeutV3p3BEpok9f3q51wvr8kIhRd/VPa5STqFf19S+0zARE W6owZHOhY1wiNGD7a27+Gzkc6M1Ku9u3c/IHVXQJSb3nysnX3vVZOceaOGfmdo9Dm9 Vv+u0VuR8x4gw== Received-SPF: pass client-ip=2a02:1800:120:4::f00:14; envelope-from=maximedevos@telenet.be; helo=xavier.telenet-ops.be X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.2 (/) 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: -0.0 (/) --=-A3FxapKDYub141vH7HQ2 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi guix I noticed a new build failure on ci.guix.gnu.org: . Relevant log output: make[2]: Leaving directory '/tmp/guix-build-libsigsegv-2.13.drv-0/libsigseg= v-2.13' make[1]: Leaving directory '/tmp/guix-build-libsigsegv-2.13.drv-0/libsigseg= v-2.13' phase `build' succeeded after 44.7 seconds starting phase `check' yes checking for working strerror function... Making check in src make[1]: Entering directory '/tmp/guix-build-libsigsegv-2.13.drv-0/libsigse= gv-2.13/src' make[1]: Nothing to be done for 'check'. make[1]: Leaving directory '/tmp/guix-build-libsigsegv-2.13.drv-0/libsigseg= v-2.13/src' Making check in tests make[1]: Entering directory '/tmp/guix-build-libsigsegv-2.13.drv-0/libsigse= gv-2.13/tests' make check-TESTS make[2]: Entering directory '/tmp/guix-build-libsigsegv-2.13.drv-0/libsigse= gv-2.13/tests' time.h checking for struct tm.tm_zone... yes checking for fake locale system (OpenBSD)... make[3]: Entering directory '/= tmp/guix-build-libsigsegv-2.13.drv-0/libsigsegv-2.13/tests' yes checking for struct tm.tm_gmtoff... FAIL: stackoverflow2 PASS: sigsegv2 ../build-aux/test-driver: line 109: 6663 Segmentation fault "$@" > $l= og_file 2>&1 PASS: sigsegv3 PASS: sigsegv1 FAIL: stackoverflow1 yes checking for nlink_t... (cached) yes checking whether unlink honors trailing slashes... yes checking for O_CLOEXEC... no checking for Solaris 11.4 locale system... no checking for getlocalename_l... =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Testsuite summary for libsigsegv 2.13 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D # TOTAL: 5 # PASS: 3 # SKIP: 0 # XFAIL: 0 # FAIL: 2 # XPASS: 0 # ERROR: 0 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D See tests/test-suite.log =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D make[3]: *** [Makefile:729: test-suite.log] Error 1 make[3]: Leaving directory '/tmp/guix-build-libsigsegv-2.13.drv-0/libsigseg= v-2.13/tests' make[2]: *** [Makefile:837: check-TESTS] Error 2 make[2]: Leaving directory '/tmp/guix-build-libsigsegv-2.13.drv-0/libsigseg= v-2.13/tests' make[1]: *** [Makefile:966: check-am] Error 2 make[1]: Leaving directory '/tmp/guix-build-libsigsegv-2.13.drv-0/libsigseg= v-2.13/tests' make: *** [Makefile:432: check-recursive] Error 1 Test suite failed, dumping logs. --- ./tests/test-suite.log ------------------------------------------------= -- =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D libsigsegv 2.13: tests/test-suite.log =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D # TOTAL: 5 # PASS: 3 # SKIP: 0 # XFAIL: 0 # FAIL: 2 # XPASS: 0 # ERROR: 0 .. contents:: :depth: 2 FAIL: stackoverflow1 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D qemu: uncaught target signal 11 (Segmentation fault) - core dumped FAIL stackoverflow1 (exit status: 139) FAIL: stackoverflow2 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Starting recursion pass 1. Stack overflow 1 missed. FAIL stackoverflow2 (exit status: 1) error: in phase 'check': uncaught exception: %exception #<&invoke-error program: "make" arguments: ("check" "-j" "16") e= xit-status: 2 term-signal: #f stop-signal: #f>=20 phase `check' failed after 3.5 seconds command "make" "check" "-j" "16" failed with status 2 builder for `/gnu/store/ww5bf6xz13wxjs1sjvjc2kmwq5mrjdj5-libsigsegv-2.13.dr= v' failed with exit code 1 @ build-failed /gnu/store/ww5bf6xz13wxjs1sjvjc2kmwq5mrjdj5-libsigsegv-2.13.= drv - 1 builder for `/gnu/store/ww5bf6xz13wxjs1sjvjc2kmwq5mrjdj5-libsigsegv= -2.13.drv' failed with exit code 1 cannot build derivation `/gnu/store/5pfnq2666wp2gg1h6yl0c92din8n24wc-gawk-5= .1.0.drv': 1 dependencies couldn't be built Greetings, Maxime. --=-A3FxapKDYub141vH7HQ2 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYOnh4BccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7sDpAQCOet6UBr/wfKFkj+nQGg+bQ071 DnOUOTossS7m6dqX3wEAoKK6jtqMQVdZ3jvIB1h/5Q5R6UjTj9nLHATS4d0jkw0= =5rQv -----END PGP SIGNATURE----- --=-A3FxapKDYub141vH7HQ2-- From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 10 18:19:09 2021 Received: (at 49509) by debbugs.gnu.org; 10 Jul 2021 22:19:09 +0000 Received: from localhost ([127.0.0.1]:33597 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m2LJV-0007nK-5Y for submit@debbugs.gnu.org; Sat, 10 Jul 2021 18:19:09 -0400 Received: from eggs.gnu.org ([209.51.188.92]:54496) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m2LJT-0007n7-FJ for 49509@debbugs.gnu.org; Sat, 10 Jul 2021 18:19:07 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:47782) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m2LJO-00071U-4L; Sat, 10 Jul 2021 18:19:02 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=42918 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m2LJN-0004d5-Q8; Sat, 10 Jul 2021 18:19:01 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Maxime Devos Subject: Re: bug#49509: libsigsegv fails to build on emulated aarch64 [core-updates] References: Date: Sun, 11 Jul 2021 00:19:00 +0200 In-Reply-To: (Maxime Devos's message of "Sat, 10 Jul 2021 20:07:27 +0200") Message-ID: <875yxhbynf.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 49509 Cc: 49509@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: -3.3 (---) Hi, Maxime Devos skribis: > FAIL: stackoverflow1 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > qemu: uncaught target signal 11 (Segmentation fault) - core dumped > FAIL stackoverflow1 (exit status: 139) > > FAIL: stackoverflow2 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > Starting recursion pass 1. > Stack overflow 1 missed. > FAIL stackoverflow2 (exit status: 1) For now I worked around it by offloading this to a =E2=80=9Creal=E2=80=9D m= achine (overdrive1), where it builds fine. I wonder if there=E2=80=99s much we ca= n do regarding QEMU=E2=80=99s behavior here. Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 11 10:46:09 2021 Received: (at 49509) by debbugs.gnu.org; 11 Jul 2021 14:46:09 +0000 Received: from localhost ([127.0.0.1]:35584 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m2aif-0003Gp-CJ for submit@debbugs.gnu.org; Sun, 11 Jul 2021 10:46:09 -0400 Received: from laurent.telenet-ops.be ([195.130.137.89]:43062) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m2aia-0003Ge-0X for 49509@debbugs.gnu.org; Sun, 11 Jul 2021 10:46:08 -0400 Received: from butterfly.local ([213.119.203.145]) by laurent.telenet-ops.be with bizsmtp id Tqm02500T38kD0501qm2PL; Sun, 11 Jul 2021 16:46:02 +0200 Message-ID: Subject: Re: bug#49509: libsigsegv fails to build on emulated aarch64 [core-updates] From: Maxime Devos To: Ludovic =?ISO-8859-1?Q?Court=E8s?= In-Reply-To: <875yxhbynf.fsf@gnu.org> References: <875yxhbynf.fsf@gnu.org> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-/X0pXqfijEpCJJn6FYK+" Date: Sun, 11 Jul 2021 16:11:38 +0200 MIME-Version: 1.0 User-Agent: Evolution 3.34.2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21; t=1626014762; bh=D3R5ryGAH9R6uWoyCGsECvRxeMTXfeP4CjoLzNGl+B8=; h=Subject:From:To:Cc:In-Reply-To:References:Date; b=tjxNlhaLPDsDC+Tag9lZIRG0iVXC7wkTFM/Q9fhhP1R3ULfmDncKcwgTvmvD01jFf r187oseEaAeDx3y8R8QIqaZZ3xIauhUWWkjXVVMpupDgSRSLYmpESeGlg1dMmoQbxT vZhXfnmwnLkGoCey2RlLyqR1H5Qd2OP6Y2oIW+eVHS6+OOjGdpPBZkjokyHb76DVQ+ K/10Sd8JB8ACpz0oE5LBP7+HiF1IxJittkFd2Bt/XDt9b0YipPbbU7TJft6B/BgviR fKX8tW1gK4XlYsPR0877xjNrGtuWD1qBNvlGjrWtssdxcD3CBz7L8SfQc5H+EcwrAU qeS9KBoNM5GXQ== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 49509 Cc: 49509@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 (-) --=-/X0pXqfijEpCJJn6FYK+ Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 we = 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. reproducibilit= y, and I wouldn't know how to detect this. If this is a bug in QEMU, then ideally that would be fixed in QEMU, but I wouldn't know where to look. Greetings, Maxime. --=-/X0pXqfijEpCJJn6FYK+ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYOr8EhccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7h+uAQCvWZ7HoMRFLQmtAyEZkERzmSuz oMq7vHvegRmbBKVabgEA+vHx39SfoEMKHKowgCZ3QAZPZjGRpi8BzwaD+rWpsAI= =YqQa -----END PGP SIGNATURE----- --=-/X0pXqfijEpCJJn6FYK+-- From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 11 12:14:09 2021 Received: (at 49509) by debbugs.gnu.org; 11 Jul 2021 16:14:09 +0000 Received: from localhost ([127.0.0.1]:35780 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m2c5p-0005W3-0L for submit@debbugs.gnu.org; Sun, 11 Jul 2021 12:14:09 -0400 Received: from eggs.gnu.org ([209.51.188.92]:49226) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m2c5k-0005VN-E3 for 49509@debbugs.gnu.org; Sun, 11 Jul 2021 12:14:08 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:51664) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m2c5e-0004go-Ax; Sun, 11 Jul 2021 12:13:58 -0400 Received: from [2a01:e34:ec7d:930:eb2e:c349:7011:a75] (port=42654 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m2c5e-0005QK-3n; Sun, 11 Jul 2021 12:13:58 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Maxime Devos Subject: Re: bug#49509: libsigsegv fails to build on emulated aarch64 [core-updates] References: <875yxhbynf.fsf@gnu.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 23 Messidor an 229 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Sun, 11 Jul 2021 18:13:54 +0200 In-Reply-To: (Maxime Devos's message of "Sun, 11 Jul 2021 16:11:38 +0200") Message-ID: <87bl78akvx.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 49509 Cc: 49509@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: -3.3 (---) 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 we= 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. reproducibil= ity, > 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 t= hat 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. From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 29 22:40:27 2021 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 To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#49509: libsigsegv fails to build on emulated aarch64 [core-updates] 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=22'?= =?utf-8?Q?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-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: iskarian@mgsn.dev X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 49509 Cc: 49509@debbugs.gnu.org, Maxime Devos 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 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 From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 30 04:38:32 2021 Received: (at 49509) by debbugs.gnu.org; 30 Sep 2021 08:38:32 +0000 Received: from localhost ([127.0.0.1]:51420 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mVraI-0006Vv-8W for submit@debbugs.gnu.org; Thu, 30 Sep 2021 04:38:32 -0400 Received: from flashner.co.il ([178.62.234.194]:42824) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mVra2-0006VS-BB for 49509@debbugs.gnu.org; Thu, 30 Sep 2021 04:38:28 -0400 Received: from localhost (unknown [141.226.169.107]) by flashner.co.il (Postfix) with ESMTPSA id 86163404D4; Thu, 30 Sep 2021 08:38:08 +0000 (UTC) Date: Thu, 30 Sep 2021 11:37:36 +0300 From: Efraim Flashner To: Sarah Morgensen Subject: Re: bug#49509: libsigsegv fails to build on emulated aarch64 [core-updates] Message-ID: Mail-Followup-To: Efraim Flashner , Sarah Morgensen , Ludovic =?utf-8?Q?Court=C3=A8s?= , 49509@debbugs.gnu.org References: <875yxhbynf.fsf@gnu.org> <87bl78akvx.fsf@gnu.org> <86czoqu6p7.fsf@mgsn.dev> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="K0asxcKWfcmO/p8t" Content-Disposition: inline In-Reply-To: <86czoqu6p7.fsf@mgsn.dev> 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-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 49509 Cc: Ludovic =?utf-8?Q?Court=C3=A8s?= , 49509@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 (-) --K0asxcKWfcmO/p8t Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Sep 29, 2021 at 07:40:20PM -0700, Sarah Morgensen wrote: > Hi all, >=20 > Ludovic Court=C3=A8s writes: >=20 > > 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= we 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. reproduci= bility, > >> 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 tric= ks 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. >=20 > (I just realized I never actually replied to this!) >=20 > 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? >=20 > 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. >=20 I came across this on x86_64 when using our qemu-binfmt service when building for powerpc-linux too, and I'm pretty sure powerpc64le-linux and armhf-linux also. I haven't tried going the other direction, from aarch64-linux and emulating x86_64/i686 to see if it happens there too. --=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 --K0asxcKWfcmO/p8t Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmFVd0oACgkQQarn3Mo9 g1GlZQ/5AUiyGiR0Ej/zy+QUn02GNVJqWJrkX1TSpIiu2DKHv11ypk3lply3qYJw 5Coqg9PoecY6HUGgdobmJZDF8v19aFdFS/C172cYD0zVT0VXXSuNm1K8uO6VWNXX 7LUQ9AaBhKhxoNObnyn1ODGGt/q0P4JJuhjB72lrAt/Jq6RGReznRjnmjoZFDlOu T47dODs6ILF1ZMkdg6Vg18iqCVhCiNB1NyHbGCq8jf34IZXayYjtoJnNAItD2/xq WwkjCZC/iWqSePVTJ9iVR39v12oGOq+ROkkIBAdK0b3vm9xqa7lDyU9sk1ovjRqM bwBAMNFaWYNsCw1gaExQjwpcJ7MnAI3mRF4yX/yNi45qRnZ8bXPgMBrbDt+qN2R6 Px3Hj8Hk3dT8L1tmVriuVTp8XvrWZIaBuKgFRRgIyl2QF2Vzx+htROKtyzSCHSGd dgyouvW+e9ZqXBYHR7FXPYcT6LmhAhwkHUvX/kRnsk9MvXdbWnB9dRML5XuFDgX+ lbiSk7nnYXODGfnwnmdKvmlVimBo3r7g+1n3UbDwnvZcDyeH0bTEAbJt5gmOCqOX 1WKMABo7R/M74bjQMPwEqJObP1ceaaBswL1+rucOafabugevAvQ4EPMyO6ytwmYS JbnYRztWanR2baeBc4EzVsv/s1qXAkay3pI+O96w6ptptuY0OkM= =nt/r -----END PGP SIGNATURE----- --K0asxcKWfcmO/p8t-- From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 30 16:20:53 2021 Received: (at 49509) by debbugs.gnu.org; 30 Sep 2021 20:20:53 +0000 Received: from localhost ([127.0.0.1]:54107 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mW2Y1-00051h-Ho for submit@debbugs.gnu.org; Thu, 30 Sep 2021 16:20:53 -0400 Received: from eggs.gnu.org ([209.51.188.92]:47676) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mW2Y0-00051V-3U for 49509@debbugs.gnu.org; Thu, 30 Sep 2021 16:20:52 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:58896) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mW2Xs-0002Hk-3k; Thu, 30 Sep 2021 16:20:44 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=36438 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mW2XU-0008UI-S4; Thu, 30 Sep 2021 16:20:33 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Sarah Morgensen Subject: Re: bug#49509: libsigsegv fails to build on emulated aarch64 [core-updates] References: <875yxhbynf.fsf@gnu.org> <87bl78akvx.fsf@gnu.org> <86czoqu6p7.fsf@mgsn.dev> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 9 =?utf-8?Q?Vend=C3=A9miaire?= an 230 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Thu, 30 Sep 2021 22:20:19 +0200 In-Reply-To: <86czoqu6p7.fsf@mgsn.dev> (Sarah Morgensen's message of "Wed, 29 Sep 2021 19:40:20 -0700") Message-ID: <87fstl3jek.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 49509 Cc: 49509@debbugs.gnu.org, Maxime Devos 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: -3.3 (---) Hi! Sarah Morgensen skribis: > 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? Sounds like a good interim measure, for aarch64 and powerpc at least as Efraim writes. If you can come up with a patch, we could apply it in the upcoming rebuild. Thanks, Ludo=E2=80=99.