From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 112397 invoked by alias); 13 Nov 2018 01:00:42 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 112103 invoked by uid 89); 13 Nov 2018 01:00:28 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE,UNPARSEABLE_RELAY autolearn=no version=3.3.2 spammy=Maciej, Fredrik, r5900, fredrik X-HELO: cvs.linux-mips.org Received: from eddie.linux-mips.org (HELO cvs.linux-mips.org) (148.251.95.138) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 13 Nov 2018 01:00:26 +0000 Received: (from localhost user: 'macro', uid#1010) by eddie.linux-mips.org with ESMTP id S23992925AbeKMA7hz6cVK (ORCPT ); Tue, 13 Nov 2018 01:59:37 +0100 Date: Tue, 13 Nov 2018 01:00:00 -0000 Sender: "Maciej W. Rozycki" From: "Maciej W. Rozycki" To: Fredrik Noring cc: Matthew Fortune , gcc-patches@gcc.gnu.org, =?UTF-8?Q?J=C3=BCrgen_Urban?= Subject: Re: [PATCH] MIPS: Add `-mfix-r5900' option for the R5900 short loop erratum In-Reply-To: <20181111123105.GC2435@sx9> Message-ID: References: <3124fcb08e433bc230f53fae9d0e7bd6998f8538.1541607095.git.noring@nocrew.org> <20181109184319.GA18544@sx9> <20181111123105.GC2435@sx9> User-Agent: Alpine 2.21 (LFD 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT X-IsSubscribed: yes X-SW-Source: 2018-11/txt/msg01010.txt.bz2 On Sun, 11 Nov 2018, Fredrik Noring wrote: > ../../../../libsanitizer/sanitizer_common/sanitizer_platform_limits_linux.cc:71:1: note: in expansion of macro ‘COMPILER_CHECK’ > 71 | COMPILER_CHECK(struct_kernel_stat_sz == sizeof(struct stat)); > | ^~~~~~~~~~~~~~ I guess `struct_kernel_stat_sz' and `sizeof(struct stat)' do not match. You may try making a preprocessed source with the same GCC invocation (possibly with `-dD' added if needed) to see how these items have been defined in your build environment. This may reveal something obvious. Also unless you realise the problem is due to misconfiguration, please file it in GCC bugzilla as a GCC 9 regression (since as you say 8.2.0 builds just fine in your environment). We don't want things to break with new releases. Maciej