From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.polymtl.ca (smtp.polymtl.ca [132.207.4.11]) by sourceware.org (Postfix) with ESMTPS id 6B2703858002 for ; Tue, 7 Sep 2021 14:27:11 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 6B2703858002 Received: from simark.ca (simark.ca [158.69.221.121]) (authenticated bits=0) by smtp.polymtl.ca (8.14.7/8.14.7) with ESMTP id 187ER4ul019135 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 7 Sep 2021 10:27:09 -0400 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp.polymtl.ca 187ER4ul019135 Received: from [10.0.0.11] (192-222-157-6.qc.cable.ebox.net [192.222.157.6]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by simark.ca (Postfix) with ESMTPSA id CE7CF1EDF0; Tue, 7 Sep 2021 10:27:03 -0400 (EDT) Subject: Re: Array out of bounds To: Jan-Benedict Glaw Cc: gdb@sourceware.org References: <20210905064035.azigz657cpfjonoo@lug-owl.de> <20210905180613.ykl6f3lvsio46jdg@lug-owl.de> <6e5e153c-e540-63d5-4f5d-e1e700ee08d7@polymtl.ca> <20210906060302.wltmsjzf6aadsg3e@lug-owl.de> From: Simon Marchi Message-ID: Date: Tue, 7 Sep 2021 10:27:03 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: <20210906060302.wltmsjzf6aadsg3e@lug-owl.de> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Poly-FromMTA: (simark.ca [158.69.221.121]) at Tue, 7 Sep 2021 14:27:04 +0000 X-Spam-Status: No, score=-5.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, NICE_REPLY_A, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: gdb@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Sep 2021 14:27:13 -0000 On 2021-09-06 2:03 a.m., Jan-Benedict Glaw wrote: > Hi! > > On Sun, 2021-09-05 21:48:22 -0400, Simon Marchi wrote: >> On 2021-09-05 2:06 p.m., Jan-Benedict Glaw wrote: >>> On Sun, 2021-09-05 08:40:35 +0200, Jan-Benedict Glaw wrote: >>>> Hi! >>>> >>>> As I started with automated building/testing the GNU Toolchain again, >>>> I found this when building GDB (make all-gdb) with a fairly recent GCC >>>> on a Linux system (PC) when GDB is configured for >>>> --target=aarch64-linux: >>> >>> Just to add: Seems to be independent of a target. Produces the same >>> warning/error for all tested targets using a current GCC. >> >> I just built gcc at 66bba4dc263d ("Daily bump."), and I don't see it. > > For which target did you build? I actually don't see it for a small > number, ie: > * xtensa-linux > * fr30-elf > * hppa2.0-hpux11.9 > * hppa64-hpux > * hppa64-hpux11.0 > * hppa64-hpux11.3 > * ia64-elf > * ia64-hpux > * mmix-knuth-mmixware > * powerpc-darwin7 > * pdp11-aout > * powerpc-darwin8 > * s390x-ibm-tpf > * x86_64-apple-darwin > > Maybe you had a lucky pick? Only IPv6 connectivity at the moment, but > here are a few (failed) build logs for more common targets: > > http://wolf.lug-owl.de:8080/jobs/gdb-alpha-netbsd/6 > http://wolf.lug-owl.de:8080/jobs/gdb-m68k-linux/6 > http://wolf.lug-owl.de:8080/jobs/gdb-mips-linux/6 > http://wolf.lug-owl.de:8080/jobs/gdb-powerpc-linux/6 > http://wolf.lug-owl.de:8080/jobs/gdb-x86_64-linux/6 > > MfG, JBG Since the failure is in language.c, the target should not matter, as language.c is compiled the same way whatever the target. Anyway, seems like Tom managed to reproduce it and filed a gcc bug, thanks Tom! Simon