Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2289523rwd; Fri, 19 May 2023 03:50:50 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6BukwvM6hWepqvidxnOqkSuTYN3vz2/bvD4CzcLampLro88emNV2EHJ/dWsC4Sf/Yc9wQu X-Received: by 2002:a17:902:c20c:b0:1ac:3739:9969 with SMTP id 12-20020a170902c20c00b001ac37399969mr2275119pll.48.1684493449877; Fri, 19 May 2023 03:50:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684493449; cv=none; d=google.com; s=arc-20160816; b=UM17xVjFbym15SwROC7GcB+uQkY4sgtG3e1/Q5IAnYR3hDtOBEpVeCARTZLN4J90Bx mOO3FGqoA8/sAiTnNcRxc9BoeGGlIafKksN/Q12mkxnJLPMZFihsmRT22tFtglaC68DI yxWyoed/eRnrW/DCrMw34L59HMaW0P49ursaqubu7EGH8rJqEL8XcBxakZ92QUYJlkcE ki9CFjSzcGr6nASL/K77t/bvQfmofmFD2XFGTFAdy8d04KUcFZ5aKvtflg6rjiGQef43 yhZTLeoutlvYEJOmz7Cri4HSwKuPL/OOznnSLrXwqhnjv4AaaDpDAZw3+CTN/jRe5v/o i23Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:references :cc:to:from:content-language:subject:user-agent:mime-version:date :message-id; bh=suEBjeQvJbc4zIqTKNuYV+SGJdjakccW9exXeV7g5gg=; b=NvBGjVde28EPaz1R3FOf/8sCyC8Jz4nV6ioc51G+TyFrZJyYoMRhkzfoO8M7WeGID/ fYhrEhLe0Qc9maVAD7tkmk9GtjpVAmheLxfc1d0aG7OqT6jLMz5AVF4g2dyKixC11nAM M1U+vIdHAPtGhQTP2udcrFBWiBfsZ98+8cYH3rI+mhtcpCbAKQizr9Zf6kTw7bmgZXl1 UH5HCqlB7b3U3vpGhIankKz3iUm3X3Cl53Cd8bYrL/t8o4em9YO4c2vvW4BIGjuTqEHX Q9KbgKtWDcLQTg6bi9cGISvm1doogOjqHunVLjo3LGYmgsg21b7LM4wavDL6FdDcGNRJ ToiA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ix2-20020a170902f80200b001a2513b8e14si3281622plb.84.2023.05.19.03.50.36; Fri, 19 May 2023 03:50:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230200AbjESKnO (ORCPT + 99 others); Fri, 19 May 2023 06:43:14 -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 X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE,T_SPF_TEMPERROR, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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