[PATCH] Make __always_inline macro compatible with glibc

Yaakov Selkowitz yselkowi@redhat.com
Wed Jan 17 09:55:00 GMT 2018


On 2018-01-17 03:42, Sebastian Huber wrote:
> On 16/01/18 20:30, Yaakov Selkowitz wrote:
>> For example, this is used when cross-compiling the Linux kernel on
>> Cygwin.

^^^

> Which problem resolves this patch? I ask since I added this for FreeBSD
> compatibility and here the definition is still the same.

The Linux kernel's hostprogs use __always_inline without __inline__,
because glibc's __always_inline includes it.  Without this, you get a
number of "always_inline function might not be inlinable" errors.

-- 
Yaakov Selkowitz
Software Engineer - Platform Enablement Group
Red Hat, Inc.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: OpenPGP digital signature
URL: <http://sourceware.org/pipermail/newlib/attachments/20180117/96ec3613/attachment.sig>


More information about the Newlib mailing list