public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Chris Clayton <chris2553@googlemail.com>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: LKML <linux-kernel@vger.kernel.org>, stable@vger.kernel.org
Subject: Re: linux-5.10.11 build failure
Date: Thu, 28 Jan 2021 10:05:43 +0000	[thread overview]
Message-ID: <fef32b91-89fe-64b8-fe57-d681db29f86e@googlemail.com> (raw)
In-Reply-To: <YBKFNUp5WYtdg9pE@kroah.com>


On 28/01/2021 09:34, Greg Kroah-Hartman wrote:
> On Thu, Jan 28, 2021 at 09:17:10AM +0000, Chris Clayton wrote:
>> Hi,
>>
>> Building 5.10.11 fails on my (x86-64) laptop thusly:
>>
>> ..
>>
>>  AS      arch/x86/entry/thunk_64.o
>>   CC      arch/x86/entry/vsyscall/vsyscall_64.o
>>   AS      arch/x86/realmode/rm/header.o
>>   CC      arch/x86/mm/pat/set_memory.o
>>   CC      arch/x86/events/amd/core.o
>>   CC      arch/x86/kernel/fpu/init.o
>>   CC      arch/x86/entry/vdso/vma.o
>>   CC      kernel/sched/core.o
>> arch/x86/entry/thunk_64.o: warning: objtool: missing symbol for insn at offset 0x3e
>>
>>   AS      arch/x86/realmode/rm/trampoline_64.o
>> make[2]: *** [scripts/Makefile.build:360: arch/x86/entry/thunk_64.o] Error 255
>> make[2]: *** Deleting file 'arch/x86/entry/thunk_64.o'
>> make[2]: *** Waiting for unfinished jobs....
>>
>> ..
>>
>> Compiler is latest snapshot of gcc-10.
>>
>> Happy to test the fix but please cc me as I'm not subscribed
> 
> Can you do 'git bisect' to track down the offending commit?
> 

Sure, but I'll hold that request for a while. I updated to binutils-2.36 on Monday and I'm pretty sure that is a feature
of this build fail. I've reverted binutils to 2.35.1, and the build succeeds. Updated to 2.36 again and, surprise,
surprise, the kernel build fails again.

I've had a glance at the binutils ML and there are all sorts of issues being reported, but it's beyond my knowledge to
assess if this build error is related to any of them.

I'll stick with binutils-2.35.1 for the time being.

> And what exact gcc version are you using?
>

 It's built from the 10-20210123 snapshot tarball.

I can report this to the binutils folks, but might it be better if the objtool maintainer looks at it first? The
binutils change might just have opened the gate to a bug in objtool.

> thanks,
> 
> greg k-h
> 

Thanks.

Chris

  parent reply	other threads:[~2021-01-28 10:06 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-28  9:17 linux-5.10.11 build failure Chris Clayton
2021-01-28  9:34 ` Greg Kroah-Hartman
2021-01-28 10:00   ` Bhaskar Chowdhury
2021-01-28 10:05   ` Chris Clayton [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-01-28 10:19 torvic9
2021-01-28 11:24 Thomas Backlund
2021-01-28 13:38 ` Chris Clayton
2021-01-28 14:41   ` Greg Kroah-Hartman
2021-01-28 15:36     ` Chris Clayton
2021-01-28 16:00   ` Josh Poimboeuf
     [not found]     ` <YBPfQXSrz+P3TOZf@kroah.com>
     [not found]       ` <f9f8e2c9-3690-52f3-8d96-4f2b735dd6bd@googlemail.com>
     [not found]         ` <YBPtAYK1Nj/WpiTo@kroah.com>
     [not found]           ` <20210129151423.rsyubljbrzxicleq@treble>
2021-02-01  8:59             ` Chris Clayton
2021-02-01  9:37               ` Greg Kroah-Hartman
2021-01-28 15:52 ` Josh Poimboeuf
2021-01-28 16:03   ` Chris Clayton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=fef32b91-89fe-64b8-fe57-d681db29f86e@googlemail.com \
    --to=chris2553@googlemail.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=stable@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox