From patchwork Mon May 1 11:48:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Thibault X-Patchwork-Id: 1775471 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=sourceware.org; envelope-from=libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Received: from sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Q91gV50RZz1ymp for ; Mon, 1 May 2023 21:48:22 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 921763858426 for ; Mon, 1 May 2023 11:48:20 +0000 (GMT) X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from sonata.ens-lyon.org (sonata.ens-lyon.org [140.77.166.138]) by sourceware.org (Postfix) with ESMTPS id C992B3858C39 for ; Mon, 1 May 2023 11:48:08 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C992B3858C39 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=ens-lyon.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=bounce.ens-lyon.org Received: from localhost (localhost [127.0.0.1]) by sonata.ens-lyon.org (Postfix) with ESMTP id 0DFF720196; Mon, 1 May 2023 13:48:08 +0200 (CEST) Received: from sonata.ens-lyon.org ([127.0.0.1]) by localhost (sonata.ens-lyon.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XYjY0GO_H_uL; Mon, 1 May 2023 13:48:07 +0200 (CEST) Received: from begin (lfbn-bor-1-1163-184.w92-158.abo.wanadoo.fr [92.158.138.184]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by sonata.ens-lyon.org (Postfix) with ESMTPSA id BBFFA20195; Mon, 1 May 2023 13:48:07 +0200 (CEST) Received: from samy by begin with local (Exim 4.96) (envelope-from ) id 1ptS0l-00G7hB-1B; Mon, 01 May 2023 13:48:07 +0200 From: Samuel Thibault To: libc-alpha@sourceware.org Cc: Samuel Thibault , commit-hurd@gnu.org Subject: [hurd,commited] hurd 64bit: Add missing libanl Date: Mon, 1 May 2023 13:48:06 +0200 Message-Id: <20230501114806.3842822-1-samuel.thibault@ens-lyon.org> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-Spam-Status: No, score=-13.5 required=5.0 tests=BAYES_00, GIT_PATCH_0, JMQ_SPF_NEUTRAL, KAM_DMARC_STATUS, RCVD_IN_DNSWL_LOW, SPF_HELO_PASS, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE 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.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org Sender: "Libc-alpha" The move of libanl to libc was in glibc 2.34 for nptl only. --- resolv/Makefile | 2 +- sysdeps/htl/Makeconfig | 1 + sysdeps/mach/hurd/x86_64/libanl.abilist | 4 ++++ sysdeps/nptl/Makeconfig | 1 + 4 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 sysdeps/mach/hurd/x86_64/libanl.abilist diff --git a/resolv/Makefile b/resolv/Makefile index 5128bd0bc1..054b1fa36c 100644 --- a/resolv/Makefile +++ b/resolv/Makefile @@ -186,7 +186,7 @@ libresolv-routines := \ resolv-deprecated \ # libresolv-routines -ifeq ($(have-GLIBC_2.34)$(have-thread-library),yesyes) +ifeq ($(have-anl-library),yes) # Empty compatibility library for old binaries. extra-libs += libanl libanl-routines += libanl-compat diff --git a/sysdeps/htl/Makeconfig b/sysdeps/htl/Makeconfig index f8b321c8d2..ab22373ae1 100644 --- a/sysdeps/htl/Makeconfig +++ b/sysdeps/htl/Makeconfig @@ -2,6 +2,7 @@ # This gets included at the end of the main glibc Makeconfig. have-thread-library = yes +have-anl-library = yes shared-thread-library = $(common-objpfx)htl/libpthread.so static-thread-library = $(..)htl/libpthread_syms.a $(common-objpfx)htl/libpthread.a $(common-objpfx)mach/libmachuser.a $(common-objpfx)hurd/libhurduser.a diff --git a/sysdeps/mach/hurd/x86_64/libanl.abilist b/sysdeps/mach/hurd/x86_64/libanl.abilist new file mode 100644 index 0000000000..c0a6a00972 --- /dev/null +++ b/sysdeps/mach/hurd/x86_64/libanl.abilist @@ -0,0 +1,4 @@ +GLIBC_2.38 gai_cancel F +GLIBC_2.38 gai_error F +GLIBC_2.38 gai_suspend F +GLIBC_2.38 getaddrinfo_a F diff --git a/sysdeps/nptl/Makeconfig b/sysdeps/nptl/Makeconfig index 2ce1aa7347..77aedd1e73 100644 --- a/sysdeps/nptl/Makeconfig +++ b/sysdeps/nptl/Makeconfig @@ -19,6 +19,7 @@ # This gets included at the end of the main glibc Makeconfig. have-thread-library = yes +have-anl-library = $(have-GLIBC_2.34) # The thread library is integrated. shared-thread-library =