From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 06 06:13:27 2021 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 ) id 1m0i50-00019T-UB for submit@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 ) id 1m0i4z-00019H-Lv for 49415@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 ) 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 ) id 1m0i4s-0000pb-Og; Tue, 06 Jul 2021 06:13:18 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Maxime Devos 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@telenet.be> Date: Tue, 06 Jul 2021 12:13:16 +0200 In-Reply-To: <4f47afb158f34d9d2513abfd785a28bfcfa6d8f1.camel@telenet.be> (Maxime Devos's message of "Mon, 05 Jul 2021 13:52:53 +0200") Message-ID: <87tul7rbr7.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: 49415 Cc: 49415@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: > 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 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.