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: AS31976 209.132.180.0/23 X-Spam-Status: No, score=-4.0 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id E16021F463 for ; Wed, 18 Dec 2019 16:32:39 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id:references :in-reply-to:content-type:content-transfer-encoding :mime-version; q=dns; s=default; b=E8xOMZZ3t6RuMBn1tXdW6LBwORgPN Fulgd5RF7Z9T297D3PXfM8HpKBw8IBtx3l1sBNxh/aeE4SP1hcxG13yzez2yJUWg 2B4X62+Oocf0kxLfYrdhuldXNCGsaiZxZEbCPOG+iGjp3NI6FsLRpxcBxsRWrO4w 5ZZqs1CnDZFo2Q= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id:references :in-reply-to:content-type:content-transfer-encoding :mime-version; s=default; bh=PiJIgaqZw7vPHqqorOvP1EG4woQ=; b=feA CRVuhDCoUKApZq/byAewvi9tT/rOfstzep565Xim/puupcoogsHqropbET4dDQjl kFhQGker4StzoGl5WG6spjvZVjAtr5dDUhrdRsZ0vKx2O7ofN4HEyxcg2bfh5Fed rWLHC7LvYE+9XXkYT35UvmI3OZuhXeY+bDmrZgPo= Received: (qmail 115588 invoked by alias); 18 Dec 2019 16:32:37 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 115576 invoked by uid 89); 18 Dec 2019 16:32:37 -0000 Authentication-Results: sourceware.org; auth=none X-HELO: EUR03-AM5-obe.outbound.protection.outlook.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=15uYHgZb9KWSPy+OTpR0FtyL4kxh0Fc+tulWFKbJm6I=; b=Dvhy/psdbqS/D7AjWJaZ5r8fVdrnuvZZZrwWSMPXSKieDP6Sb8p/n0VGEtJOO7rZST7jphtfSXXz8SyOrgYmxinZO2nZuaGLKuyxXYjlA7ANR9RVciG/DIRnNIlUqe+PCft1kgSSQuc3J4SqZTFUrF+rAkEJMhuLDDS7nehOSpg= Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; sourceware.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;sourceware.org; dmarc=bestguesspass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; X-CR-MTA-TID: 64aa7808 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=M3QuH62egDOgRFIKn9MNahzWlUUEJYU+pZOQyJOrXGZmUvqAy0KJWbQ2RSUBUSQz1OU9DwCv6Rin91zj+B7JB9KDVZe4exkFl2fDGPx9nL0ZK6WDoJSGHXyXMup3RbkSRv4JrXYSiHgnDqX2llHKXkzRa1RREUtP53FycFDa3NnADwBQ6NLUxdCa40Vs860AW0lPi7eD+DbFTsqUru4kV5Ntweim9+Ey7qnZlZ7Y3Kyo2REI1Or1/A8nyhaTkmqH4veUK7fGc4M6beyIdUds/IfWskwncKpk9OnwSs+0AqSvJYr+NdYCNksk5OGrUuj2yLYolchPu97luclBzyfMiA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=15uYHgZb9KWSPy+OTpR0FtyL4kxh0Fc+tulWFKbJm6I=; b=G+o3AN75AAUoZiWxhi78yMtabOwZSxTSLVIHmtgNDAZli1U6/PwFJVQvUkRk5I4V3RCbdSwnYnaCa/wjWlB1TgEoZXd05GQBj7oXuAVVOtttdwOEu9kSQ/3hLvtN0J11wqxDR8mUAkJIg7DXyOR6tLhskYonwvVsJLk8UbaVk2195TdLvoc8w2LMqTR5cnziqp79w7IiTrCvjx563x0ZrSeTHee7x+hVi6ZXOusqwgTIbyjG2XNss3oagVtKI3JtedHab7He0b3Kx8zsnjDvy8Y3rHwwacD1xsxT/0XhGJ0NIwlyLMDC+u+v4MwSVKcs2w6HkAVzGCbvLq0Z/8O11g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=15uYHgZb9KWSPy+OTpR0FtyL4kxh0Fc+tulWFKbJm6I=; b=Dvhy/psdbqS/D7AjWJaZ5r8fVdrnuvZZZrwWSMPXSKieDP6Sb8p/n0VGEtJOO7rZST7jphtfSXXz8SyOrgYmxinZO2nZuaGLKuyxXYjlA7ANR9RVciG/DIRnNIlUqe+PCft1kgSSQuc3J4SqZTFUrF+rAkEJMhuLDDS7nehOSpg= From: David Kilroy To: David Kilroy , "libc-alpha@sourceware.org" CC: nd Subject: RE: [PATCH v3 0/3] elf: Allow dlopen of filter object to work [BZ #16272] Date: Wed, 18 Dec 2019 16:32:25 +0000 Message-ID: References: <1575394197-18006-1-git-send-email-david.kilroy@arm.com> In-Reply-To: <1575394197-18006-1-git-send-email-david.kilroy@arm.com> x-ts-tracking-id: fa0f0949-554e-4126-9b3c-971a6f8f62fd.0 x-checkrecipientchecked: true Authentication-Results-Original: spf=none (sender IP is ) smtp.mailfrom=David.Kilroy@arm.com; x-ms-exchange-transport-forked: True x-checkrecipientrouted: true x-ms-oob-tlc-oobclassifiers: OLM:10000;OLM:10000; X-Forefront-Antispam-Report-Untrusted: SFV:NSPM;SFS:(10001)(10009020)(4636009)(366004)(396003)(136003)(346002)(39860400002)(376002)(199004)(189003)(52536014)(478600001)(33656002)(66446008)(66556008)(64756008)(76116006)(66476007)(966005)(66946007)(2906002)(186003)(4326008)(26005)(7696005)(316002)(6506007)(8936002)(55016002)(5660300002)(8676002)(71200400001)(81156014)(9686003)(86362001)(81166006)(110136005);DIR:OUT;SFP:1101;SCL:1;SRVR:DB6PR0801MB1640;H:DB6PR0801MB1751.eurprd08.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: lyHMvQMG8pNhyfw9Hv77YWeIj9JCTyYHEcfehMUyC6SM0FOBGOi52e6yORamvdMqVWKsL24wQW9Kwj1Mh+P47zD3kK5S72kTtrcxO4duVCUHRGHqt7fNAiiw8CXpv3u78bLPlwi/VwDhCev7eEWhMZFGBD5dppZPewzXipdsXrOQi8oH8wNwqYeO74Q4En3yzlMtaf+fU3hwnIZB+Z1Pqapf71OLy6Zq8LiNMQBa3MYuzskfN3tL97MWtsG4I3fw9WumsmeCmpYgiohHIDD/QvXdIQpzS1KMPlk/Ue6oujF5EMQy3qd82zaPcNwylUH2nOsmcemeFdX09HJMJMr+0OrjrgUB8IPuIlMKkwajqrg4Ns2NcN1nTlBBu1MaIBoj0CycyH47NRaKcDLWh8WjwHn5aPelESDt+xiBTp2nYGw6eBVx5q/NWLHQz+YalJ7Shge7Tk2kfChUJK3w4l0u+Cw/UmoivqAXFOCuzmAij4/4F+cMfj2VgyVbxw7HOJzjXpe5jOGu00TCZZhuOhgOCnvbuJw2jxxc7EWFG57aC/530KR/DvJUBHwyiCKkKcUhv6ah+4P9KbBkg6+uDuxDzX68bLqJtwUAlLGELILxmOo= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=David.Kilroy@arm.com; X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT052.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: d93b521d-42fb-4f16-e7f4-08d783d7dd82 > Repost of v2 with updated commit message resulting from follow-up > tests with a different implementation. >=20 > I'd still like to see this fixed, but the last patchset didn't get any > responses. >=20 > v3: > - rebased for changes in elf/Makefile > - updates to commit messages >=20 > v2: > https://sourceware.org/ml/libc-alpha/2019-10/msg00701.html > - code formatting fixups > - add dependency of test output on filtee library > - tests changed to use the test framework >=20 > v1: > https://sourceware.org/ml/libc-alpha/2019-10/msg00519.html Ping. Is there any interest in taking this series, or something like it? I've seen that it needs another (almost trivial) rebase for changes in elf/Makefile, but don't want do that unnecessarily. It seems wrong that the toolchain can build a library as a forwarding libra= ry, but it only works if you link against it normally (and not via dlopen). This BZ is also referenced from https://gitlab.freedesktop.org/glvnd/libglv= nd#issues We came across this as we were exploring different ways to support multiple stub libraries that at runtime forward to a single implementation library. The Solaris-like forwarding libraries are nice for this, as the forwarding = is encapsulated in the compiled library. What we end up doing is still under consideration - we have a few options including link scripts+symlinks as proposed by Florian in [1]. The different solutions have drawbacks for us, so having dlopen'able forwarding libraries would help by giving us another option. Thanks, Dave Kilroy. [1] - https://sourceware.org/ml/libc-alpha/2019-10/msg00619.html