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

From: Arnd Bergmann
Date: Wed Dec 09 2020 - 05:00:50 EST


On Tue, Dec 8, 2020 at 10:02 PM Arnd Bergmann <arnd@xxxxxxxxxx> wrote:
>
> On Tue, Dec 8, 2020 at 9:59 PM Arnd Bergmann <arnd@xxxxxxxxxx> wrote:
> >
> > Attaching the config for "ld.lld: error: Never resolved function from
> > blockaddress (Producer: 'LLVM12.0.0' Reader: 'LLVM 12.0.0')"

After rerunning this one with thinlto, it disappeared.

> And here is a new one: "ld.lld: error: assignment to symbol
> init_pg_end does not converge"

this one is still there.

and I reproduced another one with thinlto now:

mm/highmem.o: no symbols
lib/nmi_backtrace.o: no symbols
lib/bitrev.o: no symbols
mm/highmem.o: no symbols
lib/nmi_backtrace.o: no symbols
lib/bitrev.o: no symbols
mm/highmem.o: no symbols
lib/nmi_backtrace.o: no symbols
lib/bitrev.o: no symbols
ERROR: modpost: "memset" [drivers/most/most_cdev.ko] undefined!
ERROR: modpost: "__stack_chk_guard" [drivers/most/most_cdev.ko] undefined!
ERROR: modpost: "__stack_chk_fail" [drivers/most/most_cdev.ko] undefined!
ERROR: modpost: "memset" [drivers/most/most_usb.ko] undefined!
ERROR: modpost: "memmove" [drivers/most/most_usb.ko] undefined!
ERROR: modpost: "__stack_chk_guard" [drivers/most/most_usb.ko] undefined!
ERROR: modpost: "__stack_chk_fail" [drivers/most/most_usb.ko] undefined!
ERROR: modpost: "__stack_chk_guard" [drivers/most/most_core.ko] undefined!
ERROR: modpost: "__stack_chk_fail" [drivers/most/most_core.ko] undefined!
ERROR: modpost: "memset" [drivers/ntb/ntb_transport.ko] undefined!
ERROR: modpost: "memcpy" [drivers/ntb/ntb_transport.ko] undefined!
ERROR: modpost: "__stack_chk_guard" [drivers/ntb/ntb_transport.ko] undefined!
ERROR: modpost: "__stack_chk_fail" [drivers/ntb/ntb_transport.ko] undefined!
ERROR: modpost: "__stack_chk_guard" [drivers/ntb/test/ntb_perf.ko] undefined!
ERROR: modpost: "__stack_chk_fail" [drivers/ntb/test/ntb_perf.ko] undefined!
...

Arnd

Attachment: 0x15EFB1B4_defconfig
Description: Binary data