public inbox for linux-next@vger.kernel.org 
 help / color / mirror / Atom feed
From: Alexandre Ghiti <alex@ghiti•fr>
To: Randy Dunlap <rdunlap@infradead•org>,
	Stephen Rothwell <sfr@canb•auug.org.au>,
	Linux Next Mailing List <linux-next@vger•kernel.org>
Cc: Linux Kernel Mailing List <linux-kernel@vger•kernel.org>,
	Paul Walmsley <paul.walmsley@sifive•com>,
	Palmer Dabbelt <palmer@dabbelt•com>,
	Albert Ou <aou@eecs•berkeley.edu>,
	linux-riscv <linux-riscv@lists•infradead.org>,
	Conor Dooley <conor@kernel•org>
Subject: Re: linux-next: Tree for May 15 (several RV64 build errors)
Date: Fri, 19 May 2023 12:42:55 +0200	[thread overview]
Message-ID: <ee3bc2ce-5ebe-927e-5b6d-0b9490ef3875@ghiti.fr> (raw)
In-Reply-To: <5d894e71-25ad-8ba0-f632-2eec6e017f46@ghiti.fr>


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@lists•infradead.org
>> http://lists.infradead.org/mailman/listinfo/linux-riscv
>
> _______________________________________________
> linux-riscv mailing list
> linux-riscv@lists•infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-riscv

  reply	other threads:[~2023-05-19 10:43 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-15  4:12 linux-next: Tree for May 15 Stephen Rothwell
2023-05-16  2:18 ` linux-next: Tree for May 15 (drivers/dma/ti/k3-udma.c) Randy Dunlap
2023-05-16 17:35   ` Vinod Koul
2023-05-16  2:23 ` linux-next: Tree for May 15 (net/ipv4/ipconfig.c:) Randy Dunlap
2023-05-18  3:57   ` David Ahern
2023-05-16  2:26 ` linux-next: Tree for May 15 (drivers/macintosh/ams/ams-core.c) Randy Dunlap
2023-05-16  2:40 ` linux-next: Tree for May 15 (drivers/tty/serial/8250/8250_omap.c) Randy Dunlap
2023-05-17  5:51   ` Tony Lindgren
2023-05-16  2:45 ` linux-next: Tree for May 15 (several RV64 build errors) Randy Dunlap
2023-05-16  6:18   ` Alexandre Ghiti
2023-05-19 10:42     ` Alexandre Ghiti [this message]
2023-05-19 11:22       ` Conor Dooley
2023-05-19 12:09         ` Alexandre Ghiti
2023-05-23  2:28       ` Randy Dunlap
2023-05-23 13:07         ` Alexandre Ghiti
2023-05-24  0:22           ` Randy Dunlap
2023-05-24  1:29             ` Palmer Dabbelt
2023-05-24  6:23               ` Arnd Bergmann
2023-05-24 22:41                 ` Randy Dunlap
2023-05-24 22:49                   ` Conor Dooley
2023-05-24 23:11                     ` Palmer Dabbelt
2023-05-25 12:50                       ` Conor Dooley
2023-05-16  2:51 ` linux-next: Tree for May 15 (config SERIAL_CPM) Randy Dunlap
2023-05-18  5:49   ` Jiri Slaby
2023-05-18  5:50     ` Jiri Slaby

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ee3bc2ce-5ebe-927e-5b6d-0b9490ef3875@ghiti.fr \
    --to=alex@ghiti$(echo .)fr \
    --cc=aou@eecs$(echo .)berkeley.edu \
    --cc=conor@kernel$(echo .)org \
    --cc=linux-kernel@vger$(echo .)kernel.org \
    --cc=linux-next@vger$(echo .)kernel.org \
    --cc=linux-riscv@lists$(echo .)infradead.org \
    --cc=palmer@dabbelt$(echo .)com \
    --cc=paul.walmsley@sifive$(echo .)com \
    --cc=rdunlap@infradead$(echo .)org \
    --cc=sfr@canb$(echo .)auug.org.au \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox