On Tue, Mar 15, 2022 at 04:37:47PM +1100, Stephen Rothwell wrote: > Hi all, > > On Tue, 15 Mar 2022 16:23:27 +1100 Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote: > > > > On Tue, 15 Mar 2022 14:06:44 +1100 Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote: > > > > > > After merging the irqchip tree, today's linux-next build (x86_64 > > > allmodconfig) failed like this: > > > > > > arch/x86/kernel/cpuid.o: warning: objtool: file already has .orc_unwind section, skipping > > > make[3]: *** [/home/sfr/next/next/scripts/Makefile.modfinal:61: arch/x86/kernel/cpuid.ko] Error 255 > > > arch/x86/kernel/msr.o: warning: objtool: file already has .orc_unwind section, skipping > > > make[3]: *** [/home/sfr/next/next/scripts/Makefile.modfinal:61: arch/x86/kernel/msr.ko] Error 255 > > > arch/x86/events/intel/intel-uncore.o: warning: objtool: file already has .retpoline_sites, skipping > > > arch/x86/events/intel/intel-uncore.o: warning: objtool: file already has .ibt_endbr_seal, skipping > > > arch/x86/events/intel/intel-uncore.o: warning: objtool: file already has .orc_unwind section, skipping > > > make[3]: *** [/home/sfr/next/next/scripts/Makefile.modfinal:61: arch/x86/events/intel/intel-uncore.ko] Error 255 > > > > > > I couldn't see anything int the irqchip tree that would cause this, > > > so I deleted my object directory and redid the build and this time > > > it succeeded. > > > > > > I suspect some change in the tip tree has brought this on (it is merged > > > just a bit before the irqchip tree). > > > > This time after the merging usb trees: > > > > drivers/phy/qualcomm/phy-qcom-usb-hs.o: warning: objtool: file already has .orc_unwind section, skipping > > make[3]: *** [scripts/Makefile.modfinal:61: drivers/phy/qualcomm/phy-qcom-usb-hs.ko] Error 255 > > drivers/phy/qualcomm/phy-qcom-usb-hsic.o: warning: objtool: file already has .orc_unwind section, skipping > > make[3]: *** [scripts/Makefile.modfinal:61: drivers/phy/qualcomm/phy-qcom-usb-hsic.ko] Error 255 > > > > I just removed the drivers/phy/qualcomm directory from the object tree > > and rebuilt. > > > > Then got this: > > > > drivers/phy/ti/phy-tusb1210.o: warning: objtool: file already has .orc_unwind section, skipping > > make[3]: *** [/home/sfr/next/next/scripts/Makefile.modfinal:61: drivers/phy/ti/phy-tusb1210.ko] Error 255 > > > > So removed the drivers/phy/ti directory and rebuilt and the build > > succeeded. > > > > I assume that something is being left around or reprocessed when it > > should not be. > > Maybe commit > > 8856dadf7ad3 ("Kbuild: Allow whole module objtool runs") Almost, it's this in combination with a follow up that uses it. I've just managed to beat it into submission, will hopefully be cured for tomorrow's build.