X-Loop: help-debbugs@HIDDEN Subject: bug#49415: =?UTF-8?Q?=E2=80=98Internal?= compiler error: Segmentation =?UTF-8?Q?fault=E2=80=99?= when building aarch64-linux-gnu cross-compiler [core-updates] Resent-From: Maxime Devos <maximedevos@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guix@HIDDEN Resent-Date: Mon, 05 Jul 2021 11:54:01 +0000 Resent-Message-ID: <handler.49415.B.162548599321733 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 49415 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 49415 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-guix@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.162548599321733 (code B ref -1); Mon, 05 Jul 2021 11:54:01 +0000 Received: (at submit) by debbugs.gnu.org; 5 Jul 2021 11:53:13 +0000 Received: from localhost ([127.0.0.1]:44288 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1m0NA1-0005eT-Cs for submit <at> debbugs.gnu.org; Mon, 05 Jul 2021 07:53:13 -0400 Received: from lists.gnu.org ([209.51.188.17]:41982) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <maximedevos@HIDDEN>) id 1m0N9z-0005eL-AB for submit <at> debbugs.gnu.org; Mon, 05 Jul 2021 07:53:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:32792) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <maximedevos@HIDDEN>) id 1m0N9z-0004Rr-1K for bug-guix@HIDDEN; Mon, 05 Jul 2021 07:53:11 -0400 Received: from baptiste.telenet-ops.be ([2a02:1800:120:4::f00:13]:33866) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <maximedevos@HIDDEN>) id 1m0N9w-0005dE-I6 for bug-guix@HIDDEN; Mon, 05 Jul 2021 07:53:10 -0400 Received: from butterfly.local ([188.189.37.160]) by baptiste.telenet-ops.be with bizsmtp id RPt22500N3TK16401Pt3s2; Mon, 05 Jul 2021 13:53:04 +0200 Message-ID: <4f47afb158f34d9d2513abfd785a28bfcfa6d8f1.camel@HIDDEN> From: Maxime Devos <maximedevos@HIDDEN> Date: Mon, 05 Jul 2021 13:52:53 +0200 Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-O0QUR/U9XZTA62UDN6eW" 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=1625485984; bh=yB3pGDa9MczMjFVjq4rxDNJZlqj5rAQKykaTcpVCeWM=; h=Subject:From:To:Date; b=VmpvcVE7AhiHoWgnxcCBih9w6wAWjb1nCwdhxmT/JZVD05vv7U81zau6dEfokLcz0 VxhWBaKd439TvgdD8TnVnnuunS71zoRQxpaeQToHNSdT02a+Zw4dRRgWTBLQR7I6Ji cogZKgf6cLlG4xfQh2/0kyZOjBc7bIUk4aMcMm9D1o2/dIxwimglpcWQ/RGJ7G9Mxa xPcpVdoJjpASFshIl/1/ehWdlAuCikJNfNDaNqZw22BaoVKMUAsfksE+yVnmFEQrRM eEBFpmU0YtSNpUFVKbtc57zip/07Bt4+h2CQNXH8vkmAbppb64M5PJn/0HYElBZvei NqgBE+H2Wh/8w== Received-SPF: pass client-ip=2a02:1800:120:4::f00:13; envelope-from=maximedevos@HIDDEN; helo=baptiste.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.6 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.3 (--) --=-O0QUR/U9XZTA62UDN6eW Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi guix, While testing a patch re-introducing %build-inputs when cross-compiling (probably irrelevant to the build failure though), I encountered an ICE (internal compiler error). I checked 'dmesg'; it is not an OOM. I believe I encountered similar errors in the past, though they disappeared when I retried the build, so this looks like a non-determenistic build failure. Greetings, Maxime g++ -fno-PIE -c -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-excep= tions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrit= e-strings -Wcast-qual -Wno-error=3Dformat-diag -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -W= no-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -I. -I. -I../.= ./gcc-10.3.0/gcc -I../../gcc-10.3.0/gcc/. -I../../gcc-10.3.0/gcc/../include -I../../gcc-10.3.0/gcc/../libcpp/include = -I../../gcc-10.3.0/gcc/../libdecnumber -I../../gcc-10.3.0/gcc/../libdecnum= ber/dpd -I../libdecnumber -I../../gcc- 10.3.0/gcc/../libbacktrace -o tree-ssa-strlen.o -MT tree-ssa-strlen.o -MM= D -MP -MF ./.deps/tree-ssa-strlen.TPo ../../gcc-10.3.0/gcc/tree-ssa-strlen.= c g++ -fno-PIE -c -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-excep= tions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrit= e-strings -Wcast-qual -Wno-error=3Dformat-diag -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -W= no-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -I. -I. -I../.= ./gcc-10.3.0/gcc -I../../gcc-10.3.0/gcc/. -I../../gcc-10.3.0/gcc/../include -I../../gcc-10.3.0/gcc/../libcpp/include = -I../../gcc-10.3.0/gcc/../libdecnumber -I../../gcc-10.3.0/gcc/../libdecnum= ber/dpd -I../libdecnumber -I../../gcc- 10.3.0/gcc/../libbacktrace -o tree-ssa-structalias.o -MT tree-ssa-structa= lias.o -MMD -MP -MF ./.deps/tree-ssa-structalias.TPo ../../gcc-10.3.0/gcc/t= ree-ssa-structalias.c during RTL pass: vartrack ../../gcc-10.3.0/gcc/tree-ssa-strlen.c: In function =E2=80=98void maybe_war= n_overflow(gimple*, tree, const vr_values*, strinfo*, bool, bool)=E2=80=99: ../../gcc-10.3.0/gcc/tree-ssa-strlen.c:2336:1: internal compiler error: Seg= mentation fault 2336 | } | ^ Please submit a full bug report, with preprocessed source if appropriate. See <https://gcc.gnu.org/bugs/> for instructions. make[2]: *** [Makefile:1117: tree-ssa-strlen.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory '/tmp/guix-build-gcc-cross-sans-libc-aarch64-lin= ux-gnu-10.3.0.drv-0/build/gcc' make[1]: *** [Makefile:4372: all-gcc] Error 2 make[1]: Leaving directory '/tmp/guix-build-gcc-cross-sans-libc-aarch64-lin= ux-gnu-10.3.0.drv-0/build' make: *** [Makefile:939: all] Error 2 error: in phase 'build': uncaught exception: %exception #<&invoke-error program: "make" arguments: ("-j" "4" "CFLAGS=3D-= g0 -O2") exit-status: 2 term-signal: #f stop-signal: #f>=20 phase `build' failed after 644.1 seconds command "make" "-j" "4" "CFLAGS=3D-g0 -O2" failed with status 2 builder for `/gnu/store/j7qm4fhxbm85jg0nzhqm0h0bfc8gdlkx-gcc-cross-sans-lib= c-aarch64-linux-gnu-10.3.0.drv' failed with exit code 1 build of /gnu/store/j7qm4fhxbm85jg0nzhqm0h0bfc8gdlkx-gcc-cross-sans-libc-aa= rch64-linux-gnu-10.3.0.drv failed View build log at '/var/log/guix/drvs/j7/qm4fhxbm85jg0nzhqm0h0bfc8gdlkx-gcc= -cross-sans-libc-aarch64-linux-gnu-10.3.0.drv.bz2'. cannot build derivation `/gnu/store/96m9gb9dsxd6adpgfyds86ndnxhf2rw9-glibc-= cross-aarch64-linux-gnu-2.33.drv': 1 dependencies couldn't be built building /gnu/store/5n3y8gy3w924xm5zv1v65fz7lga8hs2d-pkg-config-aarch64-lin= ux-gnu-0.29.2.drv... cannot build derivation `/gnu/store/nzb1jx1xvp4vsh9qgbq455m1fvnj2vsn-grep-3= .6.drv': 1 dependencies couldn't be built guix build: error: build of `/gnu/store/nzb1jx1xvp4vsh9qgbq455m1fvnj2vsn-gr= ep-3.6.drv' failed --=-O0QUR/U9XZTA62UDN6eW 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+4iGRcl7gUCYOLylhccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7v0mAP9vfas9MNfZGTEvjqRe7RvfgLDH w4McMawya9eaVKZ2IAD9FkEaF5QNT5JfHjcl9qM4g0JHCmxT/ZwGrz01Ts7IuAc= =3ZMa -----END PGP SIGNATURE----- --=-O0QUR/U9XZTA62UDN6eW--
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Maxime Devos <maximedevos@HIDDEN> Subject: bug#49415: Acknowledgement (=?UTF-8?Q?=E2=80=98Internal?= compiler error: Segmentation =?UTF-8?Q?fault=E2=80=99?= when building aarch64-linux-gnu cross-compiler [core-updates]) Message-ID: <handler.49415.B.162548599321733.ack <at> debbugs.gnu.org> References: <4f47afb158f34d9d2513abfd785a28bfcfa6d8f1.camel@HIDDEN> X-Gnu-PR-Message: ack 49415 X-Gnu-PR-Package: guix Reply-To: 49415 <at> debbugs.gnu.org Date: Mon, 05 Jul 2021 11:54:01 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-guix@HIDDEN If you wish to submit further information on this problem, please send it to 49415 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 49415: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D49415 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#49415: =?UTF-8?Q?=E2=80=98Internal?= compiler error: Segmentation =?UTF-8?Q?fault=E2=80=99?= when building aarch64-linux-gnu cross-compiler [core-updates] Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guix@HIDDEN Resent-Date: Tue, 06 Jul 2021 10:14:02 +0000 Resent-Message-ID: <handler.49415.B49415.16255664074436 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 49415 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Maxime Devos <maximedevos@HIDDEN> Cc: 49415 <at> debbugs.gnu.org Received: via spool by 49415-submit <at> debbugs.gnu.org id=B49415.16255664074436 (code B ref 49415); Tue, 06 Jul 2021 10:14:02 +0000 Received: (at 49415) by debbugs.gnu.org; 6 Jul 2021 10:13:27 +0000 Received: from localhost ([127.0.0.1]:47473 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1m0i50-00019T-UB for submit <at> debbugs.gnu.org; Tue, 06 Jul 2021 06:13:27 -0400 Received: from eggs.gnu.org ([209.51.188.92]:46784) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ludo@HIDDEN>) id 1m0i4z-00019H-Lv for 49415 <at> debbugs.gnu.org; Tue, 06 Jul 2021 06:13:26 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:36754) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from <ludo@HIDDEN>) id 1m0i4t-0000FY-4t; Tue, 06 Jul 2021 06:13:19 -0400 Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=36618 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <ludo@HIDDEN>) id 1m0i4s-0000pb-Og; Tue, 06 Jul 2021 06:13:18 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN> References: <4f47afb158f34d9d2513abfd785a28bfcfa6d8f1.camel@HIDDEN> Date: Tue, 06 Jul 2021 12:13:16 +0200 In-Reply-To: <4f47afb158f34d9d2513abfd785a28bfcfa6d8f1.camel@HIDDEN> (Maxime Devos's message of "Mon, 05 Jul 2021 13:52:53 +0200") Message-ID: <87tul7rbr7.fsf@HIDDEN> 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-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Hi, Maxime Devos <maximedevos@HIDDEN> skribis: > While testing a patch re-introducing %build-inputs when cross-compiling > (probably irrelevant to the build failure though), I encountered an ICE > (internal compiler error). I checked 'dmesg'; it is not an OOM. > I believe I encountered similar errors in the past, though they disappear= ed > when I retried the build, so this looks like a non-determenistic build > failure. [...] > g++ -fno-PIE -c -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-exc= eptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwr= ite-strings -Wcast-qual -Wno-error=3Dformat-diag > -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long = -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -I. -I. -I..= /../gcc-10.3.0/gcc -I../../gcc-10.3.0/gcc/. > -I../../gcc-10.3.0/gcc/../include -I../../gcc-10.3.0/gcc/../libcpp/includ= e -I../../gcc-10.3.0/gcc/../libdecnumber -I../../gcc-10.3.0/gcc/../libdecn= umber/dpd -I../libdecnumber -I../../gcc- > 10.3.0/gcc/../libbacktrace -o tree-ssa-structalias.o -MT tree-ssa-struc= talias.o -MMD -MP -MF ./.deps/tree-ssa-structalias.TPo ../../gcc-10.3.0/gcc= /tree-ssa-structalias.c > during RTL pass: vartrack > ../../gcc-10.3.0/gcc/tree-ssa-strlen.c: In function =E2=80=98void maybe_w= arn_overflow(gimple*, tree, const vr_values*, strinfo*, bool, bool)=E2=80= =99: > ../../gcc-10.3.0/gcc/tree-ssa-strlen.c:2336:1: internal compiler error: S= egmentation fault > 2336 | } > | ^ > Please submit a full bug report, > with preprocessed source if appropriate. > See <https://gcc.gnu.org/bugs/> for instructions. > make[2]: *** [Makefile:1117: tree-ssa-strlen.o] Error 1 I built it a few times in recent days (from x86_64-linux) and did not experience this bug (didn=E2=80=99t see it on ci.guix either). So yes, may= be it=E2=80=99s a non-deterministic bug? Ludo=E2=80=99.
Received: (at control) by debbugs.gnu.org; 7 Jul 2021 09:36:28 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jul 07 05:36:28 2021 Received: from localhost ([127.0.0.1]:50912 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1m13ym-0004hu-IN for submit <at> debbugs.gnu.org; Wed, 07 Jul 2021 05:36:28 -0400 Received: from eggs.gnu.org ([209.51.188.92]:42676) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ludo@HIDDEN>) id 1m13yl-0004hf-6B for control <at> debbugs.gnu.org; Wed, 07 Jul 2021 05:36:27 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:52120) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from <ludo@HIDDEN>) id 1m13yf-0003bY-Qn for control <at> debbugs.gnu.org; Wed, 07 Jul 2021 05:36:21 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=42800 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <ludo@HIDDEN>) id 1m13yf-00056p-JA for control <at> debbugs.gnu.org; Wed, 07 Jul 2021 05:36:21 -0400 Date: Wed, 07 Jul 2021 11:36:19 +0200 Message-Id: <87y2aipiss.fsf@HIDDEN> To: control <at> debbugs.gnu.org From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN> Subject: control message for bug #49415 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) tags 49415 + unreproducible quit
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.