From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 89AC1C433E2 for ; Wed, 2 Sep 2020 18:02:37 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 61A10206EB for ; Wed, 2 Sep 2020 18:02:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727889AbgIBSCf (ORCPT ); Wed, 2 Sep 2020 14:02:35 -0400 Received: from pegase1.c-s.fr ([93.17.236.30]:2571 "EHLO pegase1.c-s.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726177AbgIBSC3 (ORCPT ); Wed, 2 Sep 2020 14:02:29 -0400 Received: from localhost (mailhub1-int [192.168.12.234]) by localhost (Postfix) with ESMTP id 4BhWxC1zCZzB09b7; Wed, 2 Sep 2020 20:02:23 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at c-s.fr Received: from pegase1.c-s.fr ([192.168.12.234]) by localhost (pegase1.c-s.fr [192.168.12.234]) (amavisd-new, port 10024) with ESMTP id Y2_RjFip5Jy2; Wed, 2 Sep 2020 20:02:23 +0200 (CEST) Received: from messagerie.si.c-s.fr (messagerie.si.c-s.fr [192.168.25.192]) by pegase1.c-s.fr (Postfix) with ESMTP id 4BhWxC0S8FzB09b6; Wed, 2 Sep 2020 20:02:23 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id E95C88B7F9; Wed, 2 Sep 2020 20:02:24 +0200 (CEST) X-Virus-Scanned: amavisd-new at c-s.fr Received: from messagerie.si.c-s.fr ([127.0.0.1]) by localhost (messagerie.si.c-s.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id N2vQUO36_13H; Wed, 2 Sep 2020 20:02:24 +0200 (CEST) Received: from [192.168.4.90] (unknown [192.168.4.90]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 4CA458B7EA; Wed, 2 Sep 2020 20:02:24 +0200 (CEST) Subject: Re: [PATCH 1/2] powerpc/vdso64: link vdso64 with linker To: Nick Desaulniers , Michael Ellerman Cc: Christophe Leroy , Joe Lawrence , Kees Cook , Fangrui Song , LKML , Nicholas Piggin , clang-built-linux , Paul Mackerras , linuxppc-dev References: <20200901222523.1941988-1-ndesaulniers@google.com> <20200901222523.1941988-2-ndesaulniers@google.com> <87blio1ilu.fsf@mpe.ellerman.id.au> From: Christophe Leroy Message-ID: <3d837a36-a186-6789-7924-eaa97f056b68@csgroup.eu> Date: Wed, 2 Sep 2020 20:02:00 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: fr Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Le 02/09/2020 à 19:41, Nick Desaulniers a écrit : > On Wed, Sep 2, 2020 at 5:14 AM Michael Ellerman wrote: >> >> Nick Desaulniers writes: >>> Fixes: commit f2af201002a8 ("powerpc/build: vdso linker warning for orphan sections") >> >> I think I'll just revert that for v5.9 ? > > SGTM; you'll probably still want these changes with some modifications > at some point; vdso32 did have at least one orphaned section, and will > be important for hermetic builds. Seeing crashes in supported > versions of the tools ties our hands at the moment. > Keeping the tool problem aside with binutils 2.26, do you have a way to really link an elf32ppc object when building vdso32 for PPC64 ? Christophe