Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp6934684rwp; Tue, 18 Jul 2023 07:50:16 -0700 (PDT) X-Google-Smtp-Source: APBJJlFG34gJZdVy8AJdAzK5Q6GS8AxmMebyPG+DZezI8pTlAiOOpCQgNdPg+vHuPnekPP4Axuaa X-Received: by 2002:a17:907:7f15:b0:997:e8ab:fdf1 with SMTP id qf21-20020a1709077f1500b00997e8abfdf1mr96581ejc.51.1689691816192; Tue, 18 Jul 2023 07:50:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689691816; cv=none; d=google.com; s=arc-20160816; b=IAQeNKDJHsClBOzZKEk2mMjqxg+jBPLIZ4V3VBfobv7Vq7vFPHs//YdenqDXB8u66P PKqHTPpzIX47GUHqIWuYqURJ5QjcBz5i9KpBHPDmN2nfMt0XdxK8YnVa6kJ/VKbU/EIG o1mGNC0gSMAmfHJrreTWwRFOFI5ocpg6sw/PSUWpmFjJ7xeKt/rP0MdXIJTW/siCSdDD zwnJaRN/nJikcuDXr8Z/trcndwQquaSDTC0iHh1hLfkEoV84o9ri0Kd6jsgPEtl4ysZp JRvDlhaB2U2tvtzGTQOxGxxvUXC9e3gXmF8+dnW0BClZ/m6BFwhOhGY3ZTjnrZmxfzvU v6jw== 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:dkim-signature:dkim-signature:from; bh=fDWCSjXXEjX/JODVcgeDXco/4WMx9FK0mGR8q+fC6xQ=; fh=XyVJJUgZwds4nPASqCSQAM707/iDTo1zZJGlu4X2ERU=; b=M9oyCLUdMH+gTT4A3eybmFMoAWwhKjmwALNT98dmo00gdcC6O1GWEPicdHc3qa7dBy rO59TIDgPG9ZikY1ZwCo/QzXsEvSVvHpr5ATI0PBcSu8NDh8U5YRZExuXj/ZeDXGiTpk G8BQ+moemXsnqAbpnWh6JkB9lrA3kYnZrmo9QzRG3cNCHff30rDrJk5tj3KOGnXBAPXq wHps4WKuuE/R81sFvHUb+BJiUe4SBY+PT4kBzD+anSqzBQ4HV7KbOMFiXLNQbfp/omjL 5Y1pAqVbIjCruWRfVjPXyPuJ7xmx1CUN1DPVfrL7BcRXqjeuBIsI11uykMghQ5M9xjyl hxfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b="qAXNX/lA"; dkim=neutral (no key) header.i=@linutronix.de; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id rp26-20020a170906d97a00b0099279210460si1248591ejb.643.2023.07.18.07.49.51; Tue, 18 Jul 2023 07:50:16 -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=@linutronix.de header.s=2020 header.b="qAXNX/lA"; dkim=neutral (no key) header.i=@linutronix.de; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231470AbjGROWp (ORCPT + 99 others); Tue, 18 Jul 2023 10:22:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46206 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230206AbjGROWo (ORCPT ); Tue, 18 Jul 2023 10:22:44 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9DEC7123 for ; Tue, 18 Jul 2023 07:22:40 -0700 (PDT) From: John Ogness DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1689690158; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=fDWCSjXXEjX/JODVcgeDXco/4WMx9FK0mGR8q+fC6xQ=; b=qAXNX/lAeJqtzaQ8nkhj1vDqiyGCCqLkDf3gypZGmi+V9INLceXoGIOn2wbuSBZpyhzpkM Y0Wckb3qc9MqPembkuys1PqsYsdfG8H+DJ0JQmoBCxVTwRPuobCrR6c9J9vg110ahlgLOk HaVdtc3fQpRAwpFxXKXhUw1RGH6MMEF5orcaL+EKZmjpAi9qE3WTrNXgUT5/gl34aDQWQr oLsyCW9E4HHiK09Uj0Ux20c/i6v4eVQWv6NHxfe2cCQZdA9xuDaFxkBa79jQZAINYcReP+ Pf1q3sWqHxAk66ivgBV80FL4CjNmr/2J2/jYMqiaLms2d2xxIQJsjIEnwnFxlA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1689690158; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=fDWCSjXXEjX/JODVcgeDXco/4WMx9FK0mGR8q+fC6xQ=; b=EjBcdbH7zAovwjWUL22ZOe1cLiBklkUiP9RmMz6urf5mO80PVKt5JDYF6x5Mks4jkuJ9iy P/A3MBd5RoXoOsBA== To: Michael Ellerman , 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: <871qh5jrz2.fsf@mail.lhotse> References: <20230609051002.3342-1-npiggin@gmail.com> <871qh6wcgb.fsf@jogness.linutronix.de> <871qh5jrz2.fsf@mail.lhotse> Date: Tue, 18 Jul 2023 16:28:36 +0206 Message-ID: <87o7k9l2oj.fsf@jogness.linutronix.de> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,INVALID_DATE_TZ_ABSURD, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=no 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 2023-07-18, Michael Ellerman wrote: >> ld: warning: discarding dynamic section .rela.opd >> >> and bisects to: >> >> 8ad57add77d3 ("powerpc/build: vdso linker warning for orphan sections") > > Can you test with a newer compiler/binutils? Testing the Debian release cross compilers/binutils: Debian 10 / gcc 8.3.0 / ld 2.31.1: generates the warning Debian 11 / gcc 10.2.1 / ld 2.35.2: generates the warning Debian 12 / gcc 12.2.0 / ld 2.40: does _not_ generate the warning I suppose moving to the newer toolchain is the workaround. Although it is a bit unusual to require such a modern toolchain in order to build a kernel without warnings. John Ogness