From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 ; 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 ; 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 ; Fri, 6 Oct 2023 09:21:25 +0000 (UTC) From: Florian Weimer To: libc-alpha@sourceware.org Subject: [PATCH 0/2] Revert "elf: Always call destructors in reverse constructor order (bug 30785)" Message-ID: 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 List-Id: 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 -- 2.41.0