Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp225840rwd; Mon, 15 May 2023 23:32:52 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5yzG2o6oPrhoLIPCtvzxLcDIOkMcysojG0ZiN1FktN4nlhZ1frtr2/nYiy/2alIsqUzJpw X-Received: by 2002:a05:6a20:d70b:b0:f3:33fb:a62b with SMTP id iz11-20020a056a20d70b00b000f333fba62bmr38543749pzb.9.1684218771826; Mon, 15 May 2023 23:32:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684218771; cv=none; d=google.com; s=arc-20160816; b=q/YXzpW+JOZqh8ml5y3x18pP8uKZHhjxOCIu8p2lyogictUvguXUjkFbRJjR9fsUKG D0r699v5X4vWyryXaGyAQiwXfzncZU/u2uPgGLJUOsNGcekkgHI0uQfJok4d9JqlsfPE LbTNqyNo4h5N+XIyvEe/2Y1PixmwDI2x5bRRJNcC1RxdNBTrpfdHA7/zOv6GOeNEXLrN 0bUZhGsipDsXTKF/uAjtXD73g2HZf9VnHmJ51QTBLguQxT0CxF9jD+wvMPYWkDHJIhzh lQd8rTXIkpXrBFRGMkeQJUqHNms5sK6yZgHPWmezk79t84tLD3DHIcGzvjwPEgiib10y DVdA== 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:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id; bh=h+eDHZTq2+4lMEJy0aJkTv17HMeJIgEmry0R05+mzKc=; b=L+qUWgQicu+DOKFzzAe4wp35k/LybRmYtFy3VHtAnLoLKeySR5l/3Wt7Sj90SbOsJ4 gwqFIsd8IkNl8dZUoyeVwHpsGKJXkI7v26T/hqi9XgEb7SdLB9yOD989C0N9TPA9l8k0 noI7NF6Vk9KMDZhYA6DGoVU/G8yzA3ZIbpvlMWgtTwVHIdKJYezokEHSTlaeyJEs00zv UOjD1gve6u1cUSSlx6JXT2O9lWMAKoM9UppZbbyFSTvWG+8qbbEhZ2+IHGKOaqtG3uY/ 2gq/YSDqqkZmpr6mXKmEEP/qDPGTjgu0+w98/nQELI69HGvcU6ErHyZOwmEXgW4Zlmlv ZcHA== 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 137-20020a63018f000000b005215235fbd7si17568657pgb.365.2023.05.15.23.32.38; Mon, 15 May 2023 23:32:51 -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 S230005AbjEPGS5 (ORCPT + 99 others); Tue, 16 May 2023 02:18:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37550 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229572AbjEPGS4 (ORCPT ); Tue, 16 May 2023 02:18:56 -0400 Received: from relay4-d.mail.gandi.net (relay4-d.mail.gandi.net [217.70.183.196]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9383B2D42; Mon, 15 May 2023 23:18:53 -0700 (PDT) Received: (Authenticated sender: alex@ghiti.fr) by mail.gandi.net (Postfix) with ESMTPSA id 0FBEDE0005; Tue, 16 May 2023 06:18:47 +0000 (UTC) Message-ID: <5d894e71-25ad-8ba0-f632-2eec6e017f46@ghiti.fr> Date: Tue, 16 May 2023 08:18:47 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: linux-next: Tree for May 15 (several RV64 build errors) 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> Content-Language: en-US From: Alexandre Ghiti In-Reply-To: <54244db6-ff69-4cf8-894c-c3dd2f12df9c@infradead.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE,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 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@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-riscv