From patchwork Tue Jun 10 09:38:16 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dodji Seketeli X-Patchwork-Id: 114136 Return-Path: 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 F15E4382C096 for ; Tue, 10 Jun 2025 09:39:27 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org F15E4382C096 Authentication-Results: sourceware.org; dkim=pass (1024-bit key, unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=D42yCAaE X-Original-To: libabigail@sourceware.org Delivered-To: libabigail@sourceware.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTP id 2008D382C0A7 for ; Tue, 10 Jun 2025 09:38:22 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 2008D382C0A7 Authentication-Results: sourceware.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 2008D382C0A7 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.129.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1749548307; cv=none; b=ZicmgFt53Va1omzj2xJEyH6FjS/WdZ7gv1sjsac3odI0tKhlquza3HP0dFCB7mfWcM5B63ofEqRZa3JvfBIrUPCE+erYO7JRm2WB6iW4750WtoUu8QWRAsCHmFGyf/hBT7uA6zWVehMcp9fXS4hk3Q8tshCVKx/aZALO5EPAETU= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1749548307; c=relaxed/simple; bh=B8658rwGgju2oLt3u3WjKpaYZB8mR3PioNAWHkIaT48=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=NcEGjcwuqXPES2Hr1k+kXSsS+AwxtfREEUCNro+DHo2JU7CKNQE19VJBoDbjEVYj9sqgrMefJAuq7/2GkDsAOzyy+jFfyjCL/QdHcjc6FLkP0P9mlOom1VzvNNtMdrTJE118nbRvYmdN/vLZME8r4SvpmAIoMoFFuq/9I7Lwa9Y= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2008D382C0A7 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1749548301; 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=GbRRtLQhJi2bhuDedDSoAgRvJ7mXvVEyytCVetmLlw8=; b=D42yCAaEYWckzGRUEpFzJX+QXsO20LFXlZgz7n82wQY98mHGZd5TuGbKAHw3Tv+ukd0lAd 0xTYIZ7+2UKbuArn9DKsTuhO4yJpBJher7dduwtSqw6KLsxzA3CIh7Ent7w/QFdFgYBhFt agdhKTUJPn6fLG2YNChjquBZ53PYw4E= Received: from mx-prod-mc-06.mail-002.prod.us-west-2.aws.redhat.com (ec2-35-165-154-97.us-west-2.compute.amazonaws.com [35.165.154.97]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-317-AVP98SO6NSS6lKov0i_oPw-1; Tue, 10 Jun 2025 05:38:20 -0400 X-MC-Unique: AVP98SO6NSS6lKov0i_oPw-1 X-Mimecast-MFC-AGG-ID: AVP98SO6NSS6lKov0i_oPw_1749548299 Received: from mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.17]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 41D0D180028E for ; Tue, 10 Jun 2025 09:38:19 +0000 (UTC) Received: from localhost (unknown [10.44.22.13]) by mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id EF1D8195608D for ; Tue, 10 Jun 2025 09:38:18 +0000 (UTC) Received: by localhost (Postfix, from userid 1000) id 6F4325077C51; Tue, 10 Jun 2025 11:38:16 +0200 (CEST) From: Dodji Seketeli To: libabigail@sourceware.org Subject: [PATCH, applied] configure: Remove the unnecessary FOUND_DWARF_GETALT_IN_LIBDW variable Organization: Red Hat / France X-Operating-System: AlmaLinux 9.6 X-URL: http://www.redhat.com Date: Tue, 10 Jun 2025 11:38:16 +0200 Message-ID: <878qm0q6lz.fsf@redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.0 on 10.30.177.17 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: hMB47WHevZCG7VYQqoK3JPtToXTjynHBbNoxzck3xHA_1749548299 X-Mimecast-Originator: redhat.com X-Spam-Status: No, score=-11.7 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H5, RCVD_IN_MSPIKE_WL, RCVD_IN_VALIDITY_RPBL_BLOCKED, RCVD_IN_VALIDITY_SAFE_BLOCKED, 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: libabigail@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Mailing list of the Libabigail project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libabigail-bounces~patchwork=sourceware.org@sourceware.org Hello, Now that we consider that dwarf_getalt is always present in elfutils, let's not bother considering its configure variable anymore. * configure.ac: Remove the FOUND_DWARF_GETALT_IN_LIBDW variable and the LIBDW_HAS_DWARF_GETALT configuration C macro. Signed-off-by: Dodji Seketeli Applied to the mainline. --- configure.ac | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/configure.ac b/configure.ac index 5783ee71..b5a73add 100644 --- a/configure.ac +++ b/configure.ac @@ -372,10 +372,6 @@ if test $WITH_DW_LIBS_PATH != xauto; then PKG_CONFIG_PATH=$SAVED_PKG_CONFIG_PATH fi -dnl From elfutils version 0.159 onward, the dwarf_getalt function is -dnl always present. -FOUND_DWARF_GETALT_IN_LIBDW=yes - dnl Allow users to compile with the NDEBUG macro defined, dnl meaning they are compiling in a mode where the @@ -384,11 +380,6 @@ dnl users just need to pass the --disable-assert dnl option to configure. AC_HEADER_ASSERT -if test x$FOUND_DWARF_GETALT_IN_LIBDW = xyes; then - AC_DEFINE([LIBDW_HAS_DWARF_GETALT], 1, - [Defined if libdw has the function dwarf_getalt]) -fi - AC_SUBST(DW_LIBS) AC_SUBST(DW_CFLAGS) AC_SUBST([ELF_LIBS]) @@ -1685,7 +1676,6 @@ AC_MSG_NOTICE([ OPTIONAL FEATURES: C++ standard level : ${CXX_STANDARD} - libdw has the dwarf_getalt function : ${FOUND_DWARF_GETALT_IN_LIBDW} Enable inlined-only xxhash library : ${ENABLE_INLINED_XXHASH} Enable rpm support in abipkgdiff : ${ENABLE_RPM} Enable rpm/zstd in abipkgdiff testing : ${ENABLE_RPM_ZSTD}