Message ID | cover.1696583991.git.fweimer@redhat.com |
---|---|
Headers |
Return-Path: <libc-alpha-bounces+patchwork=sourceware.org@sourceware.org> X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 9AB4A3856972 for <patchwork@sourceware.org>; Fri, 6 Oct 2023 09:21:41 +0000 (GMT) X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTPS id C42DC3858426 for <libc-alpha@sourceware.org>; Fri, 6 Oct 2023 09:21:27 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C42DC3858426 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1696584087; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=zww/Ksu77FguOmCrXz/otyfAjP6dYM/7nP/RYaAd0b4=; b=cdk3mSou/ZwOsz0ToqWZSNpA8i8QSOqUZmGxAojdxNzH2vblLPKTRpg+DfKRu75ZdHx/eX Lw0Jv9vLKTTtpnf8c7SgACkr++T9gWKpNEvwcu0byUWrrmu1cTya+TEFs3NysZ8YxGpp40 N0zt0aidcW0NQ4xo7iOYeTS5zEtsy2Q= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-370-v5YUnbnGM5G9zMT6sRl3ag-1; Fri, 06 Oct 2023 05:21:26 -0400 X-MC-Unique: v5YUnbnGM5G9zMT6sRl3ag-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id C77B8185A797 for <libc-alpha@sourceware.org>; Fri, 6 Oct 2023 09:21:25 +0000 (UTC) Received: from oldenburg.str.redhat.com (unknown [10.2.16.57]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 74F3E215670B for <libc-alpha@sourceware.org>; Fri, 6 Oct 2023 09:21:25 +0000 (UTC) From: Florian Weimer <fweimer@redhat.com> To: libc-alpha@sourceware.org Subject: [PATCH 0/2] Revert "elf: Always call destructors in reverse constructor order (bug 30785)" Message-ID: <cover.1696583991.git.fweimer@redhat.com> X-From-Line: 71ea27cd61b93937b13dbc17fbe1db5dab7b9566 Mon Sep 17 00:00:00 2001 Date: Fri, 06 Oct 2023 11:21:24 +0200 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.3 (gnu/linux) MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.6 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain X-Spam-Status: No, score=-4.6 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, 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 X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Libc-alpha mailing list <libc-alpha.sourceware.org> List-Unsubscribe: <https://sourceware.org/mailman/options/libc-alpha>, <mailto:libc-alpha-request@sourceware.org?subject=unsubscribe> List-Archive: <https://sourceware.org/pipermail/libc-alpha/> List-Post: <mailto:libc-alpha@sourceware.org> List-Help: <mailto:libc-alpha-request@sourceware.org?subject=help> List-Subscribe: <https://sourceware.org/mailman/listinfo/libc-alpha>, <mailto:libc-alpha-request@sourceware.org?subject=subscribe> Errors-To: libc-alpha-bounces+patchwork=sourceware.org@sourceware.org |
Series |
Revert "elf: Always call destructors in reverse constructor order (bug 30785)"
|
|
Message
Florian Weimer
Oct. 6, 2023, 9:21 a.m. UTC
The change does not work with existing applications. The first revert is an NDEBUG fix which is no longer needed after the actual revert. Tested on i686-linux-gnu and x86_64-linux-gnu. Thanks, Florian Florian Weimer (2): Revert "elf: Fix compile error with -DNDEBUG [BZ #18755]" Revert "elf: Always call destructors in reverse constructor order (bug 30785)" elf/dl-close.c | 115 ++++++++++------------------ elf/dl-fini.c | 152 ++++++++++++++++++++++++------------- elf/dl-init.c | 16 ---- elf/dso-sort-tests-1.def | 19 +++-- elf/tst-audit23.c | 44 +++++------ include/link.h | 4 - sysdeps/generic/ldsodefs.h | 4 - 7 files changed, 174 insertions(+), 180 deletions(-) base-commit: a3c50bf46a1ca6d9d2b7d879176d345abf95a9de
Comments
Am Freitag, 6. Oktober 2023, 11:21:24 CEST schrieb Florian Weimer: > The change does not work with existing applications. > I guess we want to revert this on the release branches then too? > The first revert is an NDEBUG fix which is no longer needed after the > actual revert. > > Tested on i686-linux-gnu and x86_64-linux-gnu. > > Thanks, > Florian > > Florian Weimer (2): > Revert "elf: Fix compile error with -DNDEBUG [BZ #18755]" > Revert "elf: Always call destructors in reverse constructor order (bug > 30785)" > > elf/dl-close.c | 115 ++++++++++------------------ > elf/dl-fini.c | 152 ++++++++++++++++++++++++------------- > elf/dl-init.c | 16 ---- > elf/dso-sort-tests-1.def | 19 +++-- > elf/tst-audit23.c | 44 +++++------ > include/link.h | 4 - > sysdeps/generic/ldsodefs.h | 4 - > 7 files changed, 174 insertions(+), 180 deletions(-) > > > base-commit: a3c50bf46a1ca6d9d2b7d879176d345abf95a9de >
* Andreas K. Huettel: > Am Freitag, 6. Oktober 2023, 11:21:24 CEST schrieb Florian Weimer: >> The change does not work with existing applications. >> > > I guess we want to revert this on the release branches then too? Yes. 8-( The application brokenness was actually reported against glibc 2.37. I have an idea for a more conservative fix (the reverse constructor order did fix another application, after all), but that will have to undergo downstream testing before a backport. Thanks, Florian