From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS17314 8.43.84.0/22 X-Spam-Status: No, score=-4.2 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (server2.sourceware.org [8.43.85.97]) (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 dcvr.yhbt.net (Postfix) with ESMTPS id 5BF761F8C8 for ; Wed, 22 Sep 2021 17:55:17 +0000 (UTC) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id EDCCA385843E for ; Wed, 22 Sep 2021 17:55:15 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EDCCA385843E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1632333316; bh=GAFVeh74RwpAggCKkmr4XDe+3MbimSSMaHhDL1IXCXA=; h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=UH3ppHpSed+wPKr0i33bWyy4TSzWkf4z+8Len3RJaA+DP8S/JaYYko1+81mw/JypC xiTowwkRBTPpb/qwbNwVeGdd0hNOXxl/FoJJHnr6+VmOh3hOQAnZuf9zva+ckT+We9 2riLfdZ9l2kbMClW/Cgw/WI8PCsiAghckS8GWZnU= Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by sourceware.org (Postfix) with ESMTP id 65BF4385801A for ; Wed, 22 Sep 2021 17:53:49 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 65BF4385801A Received: from mail-qv1-f71.google.com (mail-qv1-f71.google.com [209.85.219.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-67-9FMTu2jNM5CL3sVYAMDvOQ-1; Wed, 22 Sep 2021 13:53:47 -0400 X-MC-Unique: 9FMTu2jNM5CL3sVYAMDvOQ-1 Received: by mail-qv1-f71.google.com with SMTP id h25-20020a0cab19000000b0037a49d15c93so12675494qvb.22 for ; Wed, 22 Sep 2021 10:53:47 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:organization:in-reply-to :content-transfer-encoding; bh=GAFVeh74RwpAggCKkmr4XDe+3MbimSSMaHhDL1IXCXA=; b=3qoamve3E/pYOFo+UaAq9dYEQb6Nb89kcNylaABcsa71AZ3hrd88aq50PIcupzWYL+ BwHpe+l9gGdS2flBohVRxTK9G1uOuPpXlxUYLsnVCIFdQGdZ/XfnR0wHl4xQNB5HGrr/ YwhUJoDrMLo9W0LoL6ImuwucXys2Z2ds0X3NMWL7p5vvNOyDudpuaAuz4cctWI+0dCFI Upw09NpwPQGg5JBJ1xL98Y1wjGwAyZAInCvDdfksD3bdy2j+eh5OdhrMdle9cPGkruf6 Y/nJeGF+RuXhtYijNq0fuMy6QelEKEfF5loU1wVl+DXcG894DLNEN8NfHrWfhkMx9bRJ /D0Q== X-Gm-Message-State: AOAM530jlBkOBApVISrEbsiTOtkRdr03RwZNOWsQ1drZqB+bkBYHLnfH 73K2rTT8uWCGRaxLss9TEqxZk1LhpC+yt1tNn87G+2mo5FHvTOMMxVEIFfgFy5CdTNL/pMSAEgv oKmhXROpN7fs5msqlT5dM X-Received: by 2002:ae9:d61c:: with SMTP id r28mr543330qkk.122.1632333227348; Wed, 22 Sep 2021 10:53:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzn5maRMNugWfB0gCuBZXEUvMz8AU90yNdQJm+rDBodX80BTtX4Q3WNN0Lm7VD7z258i1lpDA== X-Received: by 2002:ae9:d61c:: with SMTP id r28mr543303qkk.122.1632333226930; Wed, 22 Sep 2021 10:53:46 -0700 (PDT) Received: from [192.168.1.16] (198-84-214-74.cpe.teksavvy.com. [198.84.214.74]) by smtp.gmail.com with ESMTPSA id u7sm1948064qtc.75.2021.09.22.10.53.46 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 22 Sep 2021 10:53:46 -0700 (PDT) Message-ID: Date: Wed, 22 Sep 2021 13:53:45 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.1.0 Subject: Re: PING^2: [PATCH] elf: Avoid nested functions in the loader (all ports) [BZ #27220] To: =?UTF-8?B?RsSBbmctcnXDrCBTw7JuZw==?= , Florian Weimer References: <20210823043648.2648608-1-maskray@google.com> <87tuj255se.fsf@oldenburg.str.redhat.com> <20210904035235.giercjqdwzjukxb5@google.com> Organization: Red Hat In-Reply-To: X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Carlos O'Donell via Libc-alpha Reply-To: Carlos O'Donell Cc: Fangrui Song via Libc-alpha Errors-To: libc-alpha-bounces+e=80x24.org@sourceware.org Sender: "Libc-alpha" On 9/20/21 13:55, Fāng-ruì Sòng wrote: > ping Thanks for pinging and continuing to ping this issue. Thanks also for raising this issue at the glibc bof in the GNU Tools track at LPC. The consensus in the room was that two things need to be done next: - Split this patch up into more logical changes. - Serious review of the changes in bootstrap relocation requirements due to the removal of nested functions. That in some cases switching to static may create bootstrap relocation requirements that aren't currently met. This may mean we need to refactor how the data is passed around to avoid those relocations. -- Cheers, Carlos.