This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] MIPS: Add `-mfix-r5900' option for the R5900 short loop erratum


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]