Ludovic Courtès <ludo@HIDDEN>
to control <at> debbugs.gnu.org.
Full text available.Received: (at 49415) by debbugs.gnu.org; 6 Jul 2021 10:13:27 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jul 06 06:13:27 2021 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: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN> To: Maxime Devos <maximedevos@HIDDEN> Subject: Re: 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] 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-Debbugs-Envelope-To: 49415 Cc: 49415 <at> debbugs.gnu.org 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.
bug-guix@HIDDEN:bug#49415; Package guix.
Full text available.
Received: (at submit) by debbugs.gnu.org; 5 Jul 2021 11:53:13 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jul 05 07:53:13 2021
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>
Subject: =?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]
From: Maxime Devos <maximedevos@HIDDEN>
To: bug-guix@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-Debbugs-Envelope-To: submit
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--
Maxime Devos <maximedevos@HIDDEN>:bug-guix@HIDDEN.
Full text available.bug-guix@HIDDEN:bug#49415; Package guix.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.