Re: [RHEL7.2 PATCH] lib/mpi: Teach the code inline 101

From: Linus Torvalds
Date: Tue Aug 04 2015 - 15:56:25 EST


On Tue, Aug 4, 2015 at 11:18 AM, <Jes.Sorensen@xxxxxxxxxx> wrote:
>
> The broken extern inline usage resulted in gcc5 duplicating the
> functions causing link errors due to duplicate symbols.

Why isn't gcc fixed instead? The whole "extern inline" thing was
documented to work the way it did, this gcc breakage is annoying, and
I refuse tp apply patches that imply that it is a bug in the kernel
when it's the compiler that messes up.

So it's not "broken extern inline usage". It's a broken compiler
changing things. Again.

Linus
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/