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

Alexandre Ghiti alex at ghiti.fr
Mon May 15 23:18:47 PDT 2023


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.


>
> /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.


>
> /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....


Thanks for the report,


Alex


>
>
> Full randconfig file is attached.
>
>
>
> _______________________________________________
> linux-riscv mailing list
> linux-riscv at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-riscv



More information about the linux-riscv mailing list