This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] libctf: mark swap.h inline functions as static
- From: Jeff Law <law at redhat dot com>
- To: Nick Alcock <nick dot alcock at oracle dot com>, Simon Marchi <simon dot marchi at polymtl dot ca>
- Cc: binutils at sourceware dot org
- Date: Tue, 15 Oct 2019 10:23:22 -0600
- Subject: Re: [PATCH] libctf: mark swap.h inline functions as static
- References: <20191015025025.365312-1-simon.marchi@polymtl.ca> <87h84aasku.fsf@esperi.org.uk>
On 10/15/19 10:20 AM, Nick Alcock wrote:
> On 15 Oct 2019, Simon Marchi said:
>
>> When building binutils with mingw-w64, I get the following errors:
>
> I do wonder why I didn't hit this, given that I do test compiles with
> mingw64 as well (from cygwin, bcause that's the only way I've found to
> both build and test mingw binutils).
>
> Maybe there's another way to do mingw tests-and-crosses, or a version
> difference, or something, that's affecting things? I'm about to replace
> my ancient crippled mingw test box, but once the new one arrives next
> month I'd like to be able to find these things myself so nobody else
> needs to be bothered with this sort of fallout.
>
The GCC inliner heuristics just changed recently. That's likely the
triggering event and if you weren't building with gcc-10 trunk you
wouldn't see the change in behavior.
jeff