Re: linux-next: Tree for May 15 (several RV64 build errors)

From: Alexandre Ghiti
Date: Fri May 19 2023 - 06:43:16 EST



On 5/16/23 08:18, Alexandre Ghiti wrote:
On 5/16/23 04:45, Randy Dunlap wrote:

On 5/14/23 21:12, Stephen Rothwell wrote:
Hi all,

Changes since 20230512:

../arch/riscv/mm/init.c: In function 'create_fdt_early_page_table':
../arch/riscv/mm/init.c:925:19: warning: unused variable 'pa' [-Wunused-variable]
   925 |         uintptr_t pa = dtb_pa & ~(PMD_SIZE - 1);
       |                   ^~


This one slipped through, I'm adding !BUILTIN_DTB to our internal CI, I'll send a fix today.


I'll send a fix for this one today.





/opt/crosstool/gcc-12.2.0-nolibc/riscv64-linux/bin/riscv64-linux-ld: section .data LMA [000000000041a000,00000000075bffd7] overlaps section .text LMA [00000000000f09d4,00000000033562ab]
/opt/crosstool/gcc-12.2.0-nolibc/riscv64-linux/bin/riscv64-linux-ld: section .init.pi.text LMA [00000000033562ac,0000000003359137] overlaps section .data LMA [000000000041a000,00000000075bffd7]


I'll check this one too which seems to be related to kernel/pi introduction.


Thanks to Bjorn: this is caused by XIP_KERNEL, which is known to have limited size, hence the overlap, so no fix for this one. Is there a way to exclude this config from randconfig?




/opt/crosstool/gcc-12.2.0-nolibc/riscv64-linux/bin/riscv64-linux-ld: drivers/iommu/io-pgtable-arm.o: in function `.L227':
io-pgtable-arm.c:(.init.text+0x444): undefined reference to `alloc_io_pgtable_ops'
/opt/crosstool/gcc-12.2.0-nolibc/riscv64-linux/bin/riscv64-linux-ld: drivers/iommu/io-pgtable-arm.o: in function `.L0 ':
io-pgtable-arm.c:(.init.text+0xc4c): undefined reference to `free_io_pgtable_ops'
/opt/crosstool/gcc-12.2.0-nolibc/riscv64-linux/bin/riscv64-linux-ld: drivers/iommu/ipmmu-vmsa.o: in function `.L690':
ipmmu-vmsa.c:(.text+0x2260): undefined reference to `free_io_pgtable_ops'
/opt/crosstool/gcc-12.2.0-nolibc/riscv64-linux/bin/riscv64-linux-ld: drivers/iommu/ipmmu-vmsa.o: in function `.L1309':
ipmmu-vmsa.c:(.text+0x3f24): undefined reference to `alloc_io_pgtable_ops'


Ok, those ones too....


Those ones are fixed by Randy.




Thanks for the report,


Alex




Full randconfig file is attached.


Thanks again!

Alex





_______________________________________________
linux-riscv mailing list
linux-riscv@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/linux-riscv

_______________________________________________
linux-riscv mailing list
linux-riscv@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/linux-riscv