Re: [PATCH v9 00/16] Add support for Clang LTO

From: Sedat Dilek
Date: Sat Jan 09 2021 - 11:46:55 EST


On Sat, Jan 9, 2021 at 5:33 PM Josh Poimboeuf <jpoimboe@xxxxxxxxxx> wrote:
>
> > > > Did you push it (oh ah push it push it really really really good...)
> > > > to your remote Git please :-).
> > >
> > > I thought I already pushed it pretty good ;-) do you not see it?
> > >
> > > git://git.kernel.org/pub/scm/linux/kernel/git/jpoimboe/linux.git objtool-vmlinux
> > >
> > > d6baee244f2d — objtool: Alphabetize usage option list (3 weeks ago)
> > > c0b2a6a625ac — objtool: Separate vmlinux/noinstr validation config options (3 weeks ago)
> > > 84c53551ad17 — objtool: Enable full vmlinux validation (3 weeks ago)
> > > e518ac0801cd — x86/power: Support objtool validation in hibernate_asm_64.S (3 weeks ago)
> > > d0ac4c7301c1 — x86/power: Move restore_registers() to top of the file (3 weeks ago)
> > > d3389bc83538 — x86/power: Convert indirect jumps to retpolines (3 weeks ago)
> > > 7a974d90aa40 — x86/acpi: Support objtool validation in wakeup_64.S (3 weeks ago)
> > > 6693e26cd6cc — x86/acpi: Convert indirect jump to retpoline (3 weeks ago)
> > > 0dfb760c74d1 — x86/ftrace: Support objtool vmlinux.o validation in ftrace_64.S (3 weeks ago)
> > > 89a4febfd7bf — x86/xen/pvh: Convert indirect jump to retpoline (3 weeks ago)
> > > b62837092140 — x86/xen: Support objtool vmlinux.o validation in xen-head.S (3 weeks ago)
> > > 705e18481ed9 — x86/xen: Support objtool validation in xen-asm.S (3 weeks ago)
> > > 3548319e21b9 — objtool: Add xen_start_kernel() to noreturn list (3 weeks ago)
> > > 6016e8da8c3d — objtool: Combine UNWIND_HINT_RET_OFFSET and UNWIND_HINT_FUNC (3 weeks ago)
> > > 56d6a7aee8b1 — objtool: Add asm version of STACK_FRAME_NON_STANDARD (3 weeks ago)
> > > 68259d951f1a — objtool: Assume only ELF functions do sibling calls (3 weeks ago)
> > > 0d6c8816cf91 — x86/ftrace: Add UNWIND_HINT_FUNC annotation for ftrace_stub (3 weeks ago)
> > > 24d6ce8cd8f6 — objtool: Support retpoline jump detection for vmlinux.o (3 weeks ago)
> > > 8145ea268f16 — objtool: Fix ".cold" section suffix check for newer versions of GCC (3 weeks ago)
> > > b3dfca472514 — objtool: Fix retpoline detection in asm code (3 weeks ago)
> > > b82402fa5211 — objtool: Fix error handling for STD/CLD warnings (3 weeks ago)
> > > 1f02defb4b79 — objtool: Fix seg fault in BT_FUNC() with fake jump (3 weeks ago)
> > > 2c85ebc57b3e — Linux 5.10 (4 weeks ago)
> > >
> >
> > I already have this one in my patch-series - I hoped you pushed
> > something new to your objtool-vmlinux Git branch.
> > That is what I mean by shortened... <jpoimboe.git#objtool-vmlinux>.
> >
> > Hey, it's based on Linux v5.10 - I can test this with Linux v5.10.6 :-).
>
> This is the most recent version of the patches. I only pushed them this
> morning since you said the prior version wasn't applying on Sami's
> clang-cfi branch. This version rebases fine on 'clang-cfi'.
>

I tried merging with clang-cfi Git which is based on Linux v5.11-rc2+
with a lot of merge conflicts.

Did you try on top of cfi-10 Git tag which is based on Linux v5.10?

Whatever you successfully did... Can you give me a step-by-step instruction?

- Sedat -