Re: [tip: objtool/urgent] objtool: Fix seg fault with Clang non-section symbols
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- Subject: Re: [tip: objtool/urgent] objtool: Fix seg fault with Clang non-section symbols
- From: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
- Date: Sat, 13 Feb 2021 17:25:18 +0100
- Cc: Steven Rostedt <rostedt@xxxxxxxxxxx>, Nick Desaulniers <ndesaulniers@xxxxxxxxxx>, Xi Ruoyao <xry111@xxxxxxxxxxxxxxxx>, "# 3.4.x" <stable@xxxxxxxxxxxxxxx>, Arnd Bergmann <arnd@xxxxxxxxxx>, "Peter Zijlstra (Intel)" <peterz@xxxxxxxxxxxxx>, Miroslav Benes <mbenes@xxxxxxx>, "maintainer:X86 ARCHITECTURE (32-BIT AND 64-BIT)" <x86@xxxxxxxxxx>, LKML <linux-kernel@xxxxxxxxxxxxxxx>, linux-tip-commits@xxxxxxxxxxxxxxx
- In-reply-to: <20210213155203.lehuegwc3h42nebs@treble>
- References: <160812658044.3364.4188208281079332844.tip-bot2@tip-bot2> <dded80b60d9136ea90987516c28f93273385651f.camel@mengyan1223.wang> <YCU3Vdoqd+EI+zpv@kroah.com> <CAKwvOd=GHdkvAU3u6ROSgtGqC_wrkXo8siL1nZHE-qsqSx0gsw@mail.gmail.com> <YCafKVSTX9MxDBMd@kroah.com> <20210212170750.y7xtitigfqzpchqd@treble> <20210212124547.1dcf067e@gandalf.local.home> <YCfdfkoeh8i0baCj@kroah.com> <20210213091304.2dd51e5f@oasis.local.home> <20210213155203.lehuegwc3h42nebs@treble>
On Sat, Feb 13, 2021 at 09:52:03AM -0600, Josh Poimboeuf wrote:
> On Sat, Feb 13, 2021 at 09:13:04AM -0500, Steven Rostedt wrote:
> > On Sat, 13 Feb 2021 15:09:02 +0100
> > Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> wrote:
> >
> > > Thanks for the patch, but no, still fails with:
> > >
> > > Cannot find symbol for section 8: .text.unlikely.
> > > kernel/kexec_file.o: failed
> > > make[1]: *** [scripts/Makefile.build:277: kernel/kexec_file.o] Error 1
> > > make[1]: *** Deleting file 'kernel/kexec_file.o'
> >
> > It was just a guess.
> >
> > I guess I'll need to find some time next week to set up a VM with
> > binutils 2.36 (I just checked, and all my development machines have
> > 2.35). Then I'll be able to try and debug it.
>
> FWIW, I wasn't able to recreate. I tried both binutils 2.36 and
> 2.36.1, with gcc 11 and a 'make allmodconfig' kernel.
I'm using whatever the latest is in Arch, which is gcc 10.2 and binutils
2.36. My config is here:
https://github.com/gregkh/gregkh-linux/blob/master/stable/configs/4.4.y
thanks,
greg k-h
[Index of Archives]
[Linux Stable Commits]
[Linux Stable Kernel]
[Linux Kernel]
[Linux USB Devel]
[Linux Video &Media]
[Linux Audio Users]
[Yosemite News]
[Linux SCSI]