Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp5115639rwd; Tue, 23 May 2023 18:47:56 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5SllB7BY/+pbVUZU2iwVHujfGjo7MsLDN0YNEmEYeYIxKhJjVSL2w35JXfIeh5Ym6DNtvL X-Received: by 2002:a05:6a00:2343:b0:64c:a554:f577 with SMTP id j3-20020a056a00234300b0064ca554f577mr1109703pfj.11.1684892876527; Tue, 23 May 2023 18:47:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684892876; cv=none; d=google.com; s=arc-20160816; b=hUrPIupjYj2VK1Ou4dpiSmtwnZQuVJeYMFk5aQdNDixbK/Adess59yJn8dgUFeu/n+ M9mLhxrTMOlnGYIMIx9MJX+lwJBq3YjBfWk2W9Wn2KM0X6iE/xjPN+Ad1ohTye4lKOuk HzJVlzXEgVT2YvzgdbIBuUWML2um0Gv3Dmyv8+zOkUBE1YwBl5dIXd7zGfDyDYAzIQAs pVly+iJAqDZIDG3WAfG35M805DuryVXvRWyJJYG+Hvc2gZQYP4JdeZwfpwQoTXlv5hTm 7jLbkQVGqQGZMfhe25lbLV04hof7xhhNrlLwPBlM9HyaX7KbsU8GpqqQt8n9uAyskr7D 717w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:to:from:cc:in-reply-to:subject:date:dkim-signature; bh=Ovs5IDEUt1HNCdjzOE1h75uJJvQKIJ+i/NKnFH6yQjY=; b=XrrPKFtNau/ehYTxNI/l6WlIB+sBoqFfs4L3qW3dwarxtME80AgDStAJZetFjMam81 r/q2yQwjbXMsp4gzM4P4dS3eAGPmbdHusgyNhzgS6oWYYrjW9bmdXk0a8A1GVKAZed7Z gub57khy0OGRChi2J9nGHnAFqhA4j1DGtrbPyS6Q+iI4DnnTlvOQDQu6b9g75HGp2i/p pPsfnp3AIuSb8NPfumwmW3qkb7u7giQcIfHdFp2Bb2+OssJjSnoKUAEDONH77NKMFihQ T4A+upADbL1d0caukrD/2rmZj0SMEgM55M/4jQ+QmyCP4yntZKMLr7V98VBamCzhZBdw ZVTA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@dabbelt-com.20221208.gappssmtp.com header.s=20221208 header.b=gNIWrdMP; 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 v11-20020aa799cb000000b0064d28796335si2170607pfi.92.2023.05.23.18.47.42; Tue, 23 May 2023 18:47:56 -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; dkim=pass header.i=@dabbelt-com.20221208.gappssmtp.com header.s=20221208 header.b=gNIWrdMP; 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 S238985AbjEXB3i (ORCPT + 99 others); Tue, 23 May 2023 21:29:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35280 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238735AbjEXB3h (ORCPT ); Tue, 23 May 2023 21:29:37 -0400 Received: from mail-pf1-x433.google.com (mail-pf1-x433.google.com [IPv6:2607:f8b0:4864:20::433]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 17C96E5 for ; Tue, 23 May 2023 18:29:35 -0700 (PDT) Received: by mail-pf1-x433.google.com with SMTP id d2e1a72fcca58-64d4e4598f0so242259b3a.2 for ; Tue, 23 May 2023 18:29:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dabbelt-com.20221208.gappssmtp.com; s=20221208; t=1684891774; x=1687483774; h=content-transfer-encoding:mime-version:message-id:to:from:cc :in-reply-to:subject:date:from:to:cc:subject:date:message-id :reply-to; bh=Ovs5IDEUt1HNCdjzOE1h75uJJvQKIJ+i/NKnFH6yQjY=; b=gNIWrdMP8NyKVYUYP4pw0tVp1AEQl8s0FnZM6sfdnLouw7sRoSspjvwNjZFP213FA8 deD89aXfjMPjsShZh+v0ww8X7Kvbf8/0SoncN2PA5tLW85kBf5yhGhZuVX0JAUN7t5dH iNO89PkFhHBvc0a21z+sAUUCOQTUOGbZuQ4eYebIAryWP7W2pU8ZvY1YYg5Frgh7nx5S 6ueyxSE6jO/9LZtwgx/7XkKq6QvdSSXAr5uFrgY1fXeEcWsTAtcxXRIkjI4n4BsMUB2e wYAdrV3pSCbqKEF7/bKXqonOK0Yhep7nTgpW6AjKsh9vpyMTJiKW9YfAY3wJSnAtPgff CRTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684891774; x=1687483774; h=content-transfer-encoding:mime-version:message-id:to:from:cc :in-reply-to:subject:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=Ovs5IDEUt1HNCdjzOE1h75uJJvQKIJ+i/NKnFH6yQjY=; b=HTHCRpXz5vv9nMXl+iuDpqN0zTRjgcQN3/S3pNkWNQPMzcHFeNY2vpdSAoyj0vvmKQ 0j2lSJjnti/aCQm8sqFDCQaV80nhR0hRm7ovCemUDJmAPSLn+pAiPC8pDxG3Lz2mVe4w 5Qm40JHGjixghYEVQqebBjqndSiINcS138pFVGCYHRzXh8cEyPN8BBkoL5yik27EO+wT W8/DQ6iOEc1AGUhEkVtHiYpKg5yAJejzw95cQiGqmPRWQoZ/4sBB69qE1qQ1CLo777pH gdCu/FTuT1wHZczx+bdKOD8IMDlRnrF23Nats/il2poGqeSV2+62mRUUuqSbEe+J1qk4 ckNw== X-Gm-Message-State: AC+VfDyipHmaB+rrgOeiAaTQIIaRMwwDyYrWpEVIQLK5OErw7iXKNP8s 8hrtq0PkEcou2MELPQbXx/Jehg== X-Received: by 2002:a05:6a00:1486:b0:63b:64f7:45a0 with SMTP id v6-20020a056a00148600b0063b64f745a0mr1158431pfu.12.1684891774395; Tue, 23 May 2023 18:29:34 -0700 (PDT) Received: from localhost ([50.221.140.188]) by smtp.gmail.com with ESMTPSA id l19-20020a635713000000b00530621e5ee4sm6663669pgb.9.2023.05.23.18.29.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 May 2023 18:29:33 -0700 (PDT) Date: Tue, 23 May 2023 18:29:33 -0700 (PDT) X-Google-Original-Date: Tue, 23 May 2023 18:29:08 PDT (-0700) Subject: Re: linux-next: Tree for May 15 (several RV64 build errors) In-Reply-To: CC: alex@ghiti.fr, Stephen Rothwell , linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, Paul Walmsley , aou@eecs.berkeley.edu, linux-riscv@lists.infradead.org, Conor Dooley From: Palmer Dabbelt To: rdunlap@infradead.org Message-ID: Mime-Version: 1.0 (MHng) Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 Tue, 23 May 2023 17:22:20 PDT (-0700), rdunlap@infradead.org wrote: > > > On 5/23/23 06:07, Alexandre Ghiti wrote: >> >> On 23/05/2023 04:28, Randy Dunlap wrote: >>> Hi, >>> >>> On 5/19/23 03:42, Alexandre Ghiti wrote: >>>>>> /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? >>> Does this mean exclude XIP_KERNEL or something else from randconfigs? >> >> >> I meant excluding XIP_KERNEL from randconfigs: it has very strict constraints regarding what can/can't be enabled then it needs human intervention to make sure the error above does not happen. So I would not bother testing this in randconfigs if possible. > > I can exclude it from my randconfig builds, but I don't know of a way to exclude it from randconfig builds in general (i.e., for everyone). Arnd had suggested a trick related to menus that would result in randconfig never enabling some config. It'd suggested for CONFIG_NONPORTABLE, but we didn't use it because it'd reduce randconfig coverage. Maybe we should add a CONFIG_VERYSPECIAL of some sort and hide things like XIP behind it (maybe M-mode too)?