From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ot1-x335.google.com (mail-ot1-x335.google.com [IPv6:2607:f8b0:4864:20::335]) by sourceware.org (Postfix) with ESMTPS id 3FEC23858D32 for ; Thu, 13 Apr 2023 19:12:14 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 3FEC23858D32 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ot1-x335.google.com with SMTP id w19-20020a9d6393000000b006a43ff0f57cso53055otk.5 for ; Thu, 13 Apr 2023 12:12:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1681413133; x=1684005133; h=content-transfer-encoding:in-reply-to:organization:from:references :cc:to:content-language:subject:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to; bh=kJPtc9YE6XVc8H3ehHnrUGS/tyjvfhNvJ5oIyXTJsmo=; b=Rn5AKSQZq7pW2Sz42GX/Db2HVUT75CQb2a4fevZRnyr3R9aUUzoSGlyN5JgX0QUojB gcLeJynjH78K0QvTAYM1iUnLc9FNZ9cFEtlY1xOvwRTVtxd6g1oCOFPQNnuA82xNhSdn ZPLL04WSq+BhiqzWWH8D7MS8JAy15iMCCiGOOULBGalstdLzucVgbKCOkznVg4G0YD41 arDo89l3GicoKJj4QBzGu0TpvjAfEtdoIsOeTk0A9auNKklxFvYNVomNW/WrT1JVQjk8 JByA3mNb9GjN54qiubB/38pGaeFZgcKyKx0UPpAUySv/+l0hfKDp4xhLdF4Tpu6QXgpi ZhMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681413133; x=1684005133; h=content-transfer-encoding:in-reply-to:organization:from:references :cc:to:content-language:subject:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=kJPtc9YE6XVc8H3ehHnrUGS/tyjvfhNvJ5oIyXTJsmo=; b=fFCUYF/mwMWJYCDkZ37aDrrn/ivP/WrCKA+H8eG2bfj0lxU7/eg+xQA+p9LsYDK4KI h8I2JNGR1DKEU7jl0vX+NqcxyY/5Mb4jI0JI5/TndrLaYBSoMRamMyniSbLU1shcli6u eMrOZO6ZzsQ61X1D7Ei42LBixotNrfX0lKOYLBqWoBh78LHopuEQquUn0wbLx7JJ6Ve+ Fue4oJKkWoOw6MNlO4ktN2ay+Q8kV9m0AFXNPF+FQ0yzgZmeWRpnXgcrO4tTOlI3w6GW 0O0omDtdCh40lUiyvMjZ1bnJjMgsX1lSWOUcm3voEt2aCn1km5Gcqv1dJzzAkPZdidpH zlUA== X-Gm-Message-State: AAQBX9e/r8yTqVDahPpDMB+hF28/no/o7kI/0pzR0F8ACmMKEJ/yB8qN ZxaTE/IN2Qt5JcfgvY8E2FtPhOfHDVOSqyT0M+AoEw== X-Google-Smtp-Source: AKy350YGZIuujjrOkGt0C1X0aJwB0Wjpr2zQTkxoCzrtOt9UDx3WS4gH9LilCXqnS4zKvmPH9dvtmQ== X-Received: by 2002:a9d:7b57:0:b0:69f:b37f:5ff9 with SMTP id f23-20020a9d7b57000000b0069fb37f5ff9mr1454938oto.12.1681413133557; Thu, 13 Apr 2023 12:12:13 -0700 (PDT) Received: from ?IPV6:2804:1b3:a7c2:55a1:24f5:87d:bc38:ae5e? ([2804:1b3:a7c2:55a1:24f5:87d:bc38:ae5e]) by smtp.gmail.com with ESMTPSA id b6-20020a9d7546000000b006a2ce5f3641sm1006900otl.8.2023.04.13.12.12.11 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 13 Apr 2023 12:12:12 -0700 (PDT) Message-ID: Date: Thu, 13 Apr 2023 16:12:09 -0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.9.1 Subject: Re: [PATCH v9 0/13] implement dlmem() function Content-Language: en-US To: stsp , Szabolcs Nagy , Rich Felker Cc: libc-alpha@sourceware.org, janderson@rice.edu, Carlos O'Donell References: <298b04a6-3055-b89b-59c1-4cfbe955848e@yandex.ru> <81749d04-8cdb-de0b-b88e-24347ed535ba@yandex.ru> <729710b5-6dae-d5f2-99ee-6923be5e627d@yandex.ru> <20230412182043.GI3298@brightrain.aerifal.cx> <08d9ca95-112c-d85e-8e82-7a595ef4d051@yandex.ru> <78b5b5dc-5657-4bf8-24c6-6c00afb1cc40@yandex.ru> <83ee7b42-7a50-e8d1-e9ca-58ec2a12a995@linaro.org> <59862084-0fe3-7642-d3b3-01bb87eef7db@yandex.ru> From: Adhemerval Zanella Netto Organization: Linaro In-Reply-To: <59862084-0fe3-7642-d3b3-01bb87eef7db@yandex.ru> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.7 required=5.0 tests=BAYES_00,BODY_8BITS,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On 13/04/23 15:59, stsp wrote: > Hi Adhemerval, > > 13.04.2023 23:09, Adhemerval Zanella Netto пишет: >> It is being tiring to work with your proposal because Rich already >> brought the inherent issue of exposing the loader internals for ELF >> objects [1] about 10 years ago, > > My proposal did not exist 10 years ago. > Maybe we all do not properly document > our proposals or an objections. So let me > ask you to please refer to a particular > comment rather than to some 10 years > ago thread, and then carefully document > how can that be the problem in my patches. > > I think its a fair ask, e.g. Szabolcs asked > me for a more precise spec - I write. We > progress. Why can't you write the objections > in a detalization level that is enough to > make a progress? Sigh, we are going into circles again. > > I admit you probably couldn't do that initially, > because I poorly documented my API. But > when Carlos asked for a more detailed spec, > I did. Now you can express your objections > in a detailed manner, let me even attach > the prev API draft to help you doing that. > Of course this draft will be simplified a lot, > but for such a "generic" objections please > use its current form. The problem is not a poor documented ABI, the ABI itself has inherent corner cases brought multiple times. The problem you are trying to solve would be better served with a custom loader. > > I have expressed the plans at removing all the > corner cases that Szabolcs pointed to. If you > point more, I'll definitely take an actions. > Off-loading the biggest part to RTLD_NORELOC > will reduce the proposal considerably, avoid > the callback and most of other complexity, so > why such a prejudice? Why can't we just discuss, > amend, see what happens? The RTLD_NORELOC itself is not a better approach, is just moving the same corner cases that we brought to a different symbol... against walking in cycles. > > Ok, should I post the next drafts to the bugzilla > then, if flooding ML is bad? > Its not a problem, really! > You tell me what to do, I do. > Why such a policy things are even becoming > a problems? I didn't mean to offend anyone > by flooding the ML, I'll post to bugzilla, and I > don't want you to be offended on me just because > of that. :) Do not bother, I think the best course of action is just to drop the RFE.