From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8CFF0C7EE23 for ; Fri, 19 May 2023 10:43:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230445AbjESKnP (ORCPT ); Fri, 19 May 2023 06:43:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34024 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229514AbjESKnN (ORCPT ); Fri, 19 May 2023 06:43:13 -0400 Received: from relay7-d.mail.gandi.net (relay7-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::227]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E7C1CE66; Fri, 19 May 2023 03:43:01 -0700 (PDT) Received: (Authenticated sender: alex@ghiti.fr) by mail.gandi.net (Postfix) with ESMTPSA id 6732A20005; Fri, 19 May 2023 10:42:56 +0000 (UTC) Message-ID: Date: Fri, 19 May 2023 12:42:55 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: linux-next: Tree for May 15 (several RV64 build errors) Content-Language: en-US From: Alexandre Ghiti To: Randy Dunlap , Stephen Rothwell , Linux Next Mailing List Cc: Linux Kernel Mailing List , Paul Walmsley , Palmer Dabbelt , Albert Ou , linux-riscv , Conor Dooley References: <20230515141235.0777c631@canb.auug.org.au> <54244db6-ff69-4cf8-894c-c3dd2f12df9c@infradead.org> <5d894e71-25ad-8ba0-f632-2eec6e017f46@ghiti.fr> In-Reply-To: <5d894e71-25ad-8ba0-f632-2eec6e017f46@ghiti.fr> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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