Re: Build failures with gcc 4.5 and older
From: Linus Torvalds
Date: Wed Aug 15 2018 - 12:33:47 EST
On Wed, Aug 15, 2018 at 9:16 AM David Laight <David.Laight@xxxxxxxxxx> wrote:
>
> >
> > But some libelf bug that is less than a year old is likely to bite people.
>
> See https://lkml.org/lkml/2017/9/10/186 for the libelf fix.
> It isn't anything like as rare as those emails suggest.
> An 'allmodconfig' build fails on a lot of object files after 4.15-rc9.
Ok, but that patch that fixes it was merged a long time ago already.
See commit 97dab2ae7e84 ("objtool: Fix object file corruption")
So I'm a bit confused by your issue. The thing you point to from last
year was literall fixed and committed to the tree in a couple of days
days.
> When I fell over the problem I found a few reports on the ubuntu lists
> but they all just said the ubuntu version was unsupported.
>
> There is this patch I did https://lkml.org/lkml/2018/7/26/266 that got
> no comments.
>
> But really something needs to be done to objtool.
I think you need to make a report about the exact problem with objtool
and your issue.
Not on the ubuntu lists, but to Josh.
Linus