Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp6818149rwp; Tue, 18 Jul 2023 06:22:54 -0700 (PDT) X-Google-Smtp-Source: APBJJlGr1NDC+PqvBu0dzFq3kigosn+/Fd+exAeBd3XO0A/YK8bQt1KK0+VtrJdwa6/8ZM7AYi0V X-Received: by 2002:a17:906:2213:b0:993:f996:52d4 with SMTP id s19-20020a170906221300b00993f99652d4mr13907459ejs.22.1689686574666; Tue, 18 Jul 2023 06:22:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689686574; cv=none; d=google.com; s=arc-20160816; b=DX0hzj7J232rspyqVXh3EWd589dKLvjDZU6qxGYEkLgUpuSfIOXwSQIJjWif9Aiqli kOlrLC4y9Qga6DQkr/QNZil30Mp7ZqPNcMB8FFvvv/xJagBE5GY2qgUbuID4PJDuejsq DUXw7mP5wEd0It7lepivfXmpQ8U82jvoNHo+b+eGlfXzdfR9X78ZC5HfV0Q570LTAMIU j5c2k5vrdmXU8QOyJzO2gHbEVay3AyCRPQsk29dUX2LG6Jd6Z/4Hk0JPnaOg2fT05R/7 l3f9j8CroShbs1Xg8WDPuqCKvnMP5yhv22JUTtR2u14AEy4V5OsLrWlCPFk4U2azM5l1 sv8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:dkim-signature; bh=acJNVov+LEY5vzZF2D/HTZd1dJc8QADqtfbwJQh2Skg=; fh=kck/MLFCSlcEwpr0NvtpA7BJr6EjQYJ44bIRo/eceG0=; b=v6X7iG/rwomjm8oPPsW27/48NEz6IDqC0GrLX0Ofy1+AHP3ZLkZvSEc73KaVfoetfU rYZb4RNpgo/9TYFJihcMyEa2HrVWJyGnObLuFzPVSeq7Xy+JrMTaTvli8N0V7Cwr9+4k 7tLWVoXnde4F7iqA+ifkKF2i6nYzs9J9IW7IAAvuLLJXijcY9q+vAbkzd7BZo2Ze7n69 lkUOsFghtYq/HpU2DMnv0wy0AbgAYHfzvq/IVl9hMGhBddzmeda4vljmBVFNIqoEvG2o i1Z+Z+xFeX9S9xcwBOQddovaysFW2VntL2mb07mLA/BKVpj0ZoBh5jrUAI3EuRTYiXER pRyQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ellerman.id.au header.s=201909 header.b="r6tVW/Rc"; 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 k10-20020a1709065fca00b009937256ad95si1206230ejv.370.2023.07.18.06.22.27; Tue, 18 Jul 2023 06:22:54 -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=@ellerman.id.au header.s=201909 header.b="r6tVW/Rc"; 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 S232382AbjGRM7Y (ORCPT + 99 others); Tue, 18 Jul 2023 08:59:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39406 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229886AbjGRM7X (ORCPT ); Tue, 18 Jul 2023 08:59:23 -0400 Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9A63A1B6 for ; Tue, 18 Jul 2023 05:59:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ellerman.id.au; s=201909; t=1689685159; bh=acJNVov+LEY5vzZF2D/HTZd1dJc8QADqtfbwJQh2Skg=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=r6tVW/RcSC1U72NGhCYDHUMHKZKIGJOXGCJF/+RE0O2c7z8GdbGwX+kdyMO7zpQ2f /Po1Ds78wdOzXCGnpUIWeq4QT3eK7sHRnw55x/yplEJmP+GKIRuZs+1GGDPJeXrBSG g80rRSEIA7UuDQGJQpYVWVpVXrOwfZ4sj5yzQ3LUbyQv7lJJEsAsfB4efJECmnsW53 wYXt+0iaGhrzbSqp9i50Ro0ka6Cr0lq1BxJMSaOwmh5I94RRhd8SmVdI7FsAcHsNG/ HBzsk2S/hwigjyGp/tJbp+s+vqjqJJ4a8Dt/TA2tsdr6t1iRqXTBzqPlA90UEtwqZB pEo9BOidgT9PA== Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4R4zYM5xYRz4wZt; Tue, 18 Jul 2023 22:59:19 +1000 (AEST) From: Michael Ellerman To: John Ogness , Nicholas Piggin Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] powerpc/build: vdso linker warning for orphan sections In-Reply-To: <871qh6wcgb.fsf@jogness.linutronix.de> References: <20230609051002.3342-1-npiggin@gmail.com> <871qh6wcgb.fsf@jogness.linutronix.de> Date: Tue, 18 Jul 2023 22:59:13 +1000 Message-ID: <871qh5jrz2.fsf@mail.lhotse> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_PASS,SPF_PASS,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 John Ogness writes: > Hi Nicholas, > > On 2023-06-09, Nicholas Piggin wrote: >> Add --orphan-handlin for vdsos, and adjust vdso linker scripts to deal >> with orphan sections. > > I'm reporting that I am getting a linker warning with 6.5-rc2. The > warning message is: > > ld: warning: discarding dynamic section .rela.opd > > and bisects to: > > 8ad57add77d3 ("powerpc/build: vdso linker warning for orphan sections") > > Despite the warning, my ppc64 system seems to run fine. Let me know if > you need any other information from me. We already discard .opd and .rela*, so I guess we should also be discarding .rela.opd. Can you test with a newer compiler/binutils? cheers