net/xfrm/xfrm_output.o: warning: objtool: xfrm_output_resume()+0xdb4:
unreachable instruction
On Sat, Dec 12, 2020 at 1:42 AM 'Nick Desaulniers' via Clang Built
Linux wrote:
>
> On Fri, Dec 11, 2020 at 12:57 PM Nick Desaulniers
> wrote:
> >
> > Thanks for the patch!
> >
> > Reviewed-by: Nick Desa
On Fri, Dec 11, 2020 at 4:42 PM Nick Desaulniers
wrote:
>
> On Fri, Dec 11, 2020 at 12:57 PM Nick Desaulniers
> wrote:
> >
> > Thanks for the patch!
> >
> > Reviewed-by: Nick Desaulniers
> > Link: https://github.com/ClangBuiltLinux/linux/issues/1207
>
> Arnd reported another objtool warning/erro
On Fri, Dec 11, 2020 at 12:57 PM Nick Desaulniers
wrote:
>
> Thanks for the patch!
>
> Reviewed-by: Nick Desaulniers
> Link: https://github.com/ClangBuiltLinux/linux/issues/1207
Arnd reported another objtool warning/error from another randconfig in
https://github.com/ClangBuiltLinux/linux/issues
On Fri, Dec 11, 2020 at 9:46 AM Josh Poimboeuf wrote:
>
> On Fri, Dec 11, 2020 at 05:49:15PM +0100, Peter Zijlstra wrote:
> > Do we want to capture all that gunk in something like
> > elf_reloc_to_insn(reloc, insn) instead of duplicating the magic?
>
> Yup, here's an actual patch
>
> From: Josh Po
On Fri, Dec 11, 2020 at 05:49:15PM +0100, Peter Zijlstra wrote:
> Do we want to capture all that gunk in something like
> elf_reloc_to_insn(reloc, insn) instead of duplicating the magic?
Yup, here's an actual patch
From: Josh Poimboeuf
Subject: [PATCH] objtool: Support Clang non-section symbols
On Fri, Dec 11, 2020 at 10:37:48AM -0600, Josh Poimboeuf wrote:
> On Fri, Dec 11, 2020 at 10:32:05AM +0100, Peter Zijlstra wrote:
> > Looking at elf.c, it seems we're missing an STT_SECTION symbol for
> > .text.
> >
> > And indeed, when I add -fno-asynchronous-unwind-tables to clang-11, that
> > g
On Fri, Dec 11, 2020 at 10:32:05AM +0100, Peter Zijlstra wrote:
> Looking at elf.c, it seems we're missing an STT_SECTION symbol for
> .text.
>
> And indeed, when I add -fno-asynchronous-unwind-tables to clang-11, that
> goes missing from the readelf .symtab listing. Help ?!
I had a similar probl
On Thu, Dec 10, 2020 at 03:35:45PM -0800, Nick Desaulniers wrote:
> > $ echo "__SCK__tp_func_cdev_update() { __SCT__tp_func_cdev_update(); }" >
> > file.c
> > $ clang-12 -S file.c -O2 -fno-asynchronous-unwind-tables -o-
> > .text
> > .file "file.c"
> > .globl __SCK__tp_func_cdev_update # --
On Thu, Dec 10, 2020 at 03:35:45PM -0800, Nick Desaulniers wrote:
> On Thu, Dec 3, 2020 at 5:56 AM Arnd Bergmann wrote:
> >
> > I see occasional randconfig builds failing on x86 with clang-11
> > and clang-12 when objtool crashes with a segmentation fault.
> >
> > The simplest test case I managed
On Thu, Dec 3, 2020 at 5:56 AM Arnd Bergmann wrote:
>
> I see occasional randconfig builds failing on x86 with clang-11
> and clang-12 when objtool crashes with a segmentation fault.
>
> The simplest test case I managed to create is
>
> $ echo "__SCK__tp_func_cdev_update() { __SCT__tp_func_cdev_up
I see occasional randconfig builds failing on x86 with clang-11
and clang-12 when objtool crashes with a segmentation fault.
The simplest test case I managed to create is
$ echo "__SCK__tp_func_cdev_update() { __SCT__tp_func_cdev_update(); }" > file.c
$ clang-12 -c file.c -O2 -fno-asynchronous-un
11 matches
Mail list logo