Re: Build failures with gcc 4.5 and older

From: Linus Torvalds
Date: Wed Aug 15 2018 - 11:44:21 EST

On Wed, Aug 15, 2018 at 5:38 AM David Laight <David.Laight@xxxxxxxxxx> wrote:
> Never mind the version of gcc, the x86 kernel doesn't build with the
> default kernel options because the ORC unwinder hits a bug in libelf
> (in objtool) that was only fixed late last year.
> It isn't even obvious from the build log what has gone wrong.

Can you give more details? We should try to work around it.

It's one thing to care about a compiler that is almost a decade old.
At some point we just have to let it go.

But some libelf bug that is less than a year old is likely to bite people.