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: AS17314 8.43.84.0/22 X-Spam-Status: No, score=-3.7 required=3.0 tests=AWL,BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=unavailable autolearn_force=no version=3.4.2 Received: from sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 8A0B11F5AE for ; Sat, 17 Jul 2021 14:39:16 +0000 (UTC) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 9A87E3847804 for ; Sat, 17 Jul 2021 14:39:15 +0000 (GMT) Received: from mo4-p00-ob.smtp.rzone.de (mo4-p00-ob.smtp.rzone.de [81.169.146.217]) by sourceware.org (Postfix) with ESMTPS id D485B3857815 for ; Sat, 17 Jul 2021 14:39:03 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org D485B3857815 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=clisp.org Authentication-Results: sourceware.org; spf=none smtp.mailfrom=clisp.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1626532736; s=strato-dkim-0002; d=clisp.org; h=References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Cc:Date: From:Subject:Sender; bh=NwwlmfE2WVVakRaK2HI6sGw9pp+L5AdQ28gr3gKns8s=; b=qHYGef8EWX2msfpO8jpNERQUa5Yh/ue8jXfiO2NPWe3wx3bpYd9Qn4bRPqddeZHxtx o+KndFIaR62k9rIQ332x5GyaK1G+nDFVMH+I/zI6MJ+v5xD4mfaabr42hjc04cUAZCcM iJ9YxbYcnZptTFfjjnY/N+i1MCotWgYnYayWQp+x7pYXwPef3TND+zg7/f0fYULFmQzm qlia9duwn3wTAcnvMYGYIpq3UMhK4/63CRdoaUCW6tVQ+4W6h/5WH9xkzppK8pU5MBZp VMVTOZEDZt3GUB0OglT8KeryItL+hkwOiC0jGjomN7oXksYCje6F5BH+YDoPEdgUQQhj prvQ== Authentication-Results: strato.com; dkim=none X-RZG-AUTH: ":Ln4Re0+Ic/6oZXR1YgKryK8brlshOcZlIWs+iCP5vnk6shH/DXj0JGsbh0vbrMZq" X-RZG-CLASS-ID: mo00 Received: from bruno.haible.de by smtp.strato.de (RZmta 47.28.1 DYNA|AUTH) with ESMTPSA id u08ae3x6HEcuFCL (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (curve X9_62_prime256v1 with 256 ECDH bits, eq. 3072 bits RSA)) (Client did not present a certificate); Sat, 17 Jul 2021 16:38:56 +0200 (CEST) From: Bruno Haible To: Florian Weimer , libc-alpha@sourceware.org Subject: Re: Undefined use of weak symbols in gnulib Date: Sat, 17 Jul 2021 16:38:55 +0200 Message-ID: <1882380.6EOZElgKgl@omega> User-Agent: KMail/5.1.3 (Linux/4.4.0-210-generic; KDE/5.18.0; x86_64; ; ) In-Reply-To: <87a6piluow.fsf@oldenburg.str.redhat.com> References: <87o8e0p92r.fsf@oldenburg.str.redhat.com> <1680226.UWtE2gOZdF@omega> <87a6piluow.fsf@oldenburg.str.redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" 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: , Cc: bug-gnulib@gnu.org Errors-To: libc-alpha-bounces+e=80x24.org@sourceware.org Sender: "Libc-alpha" Florian Weimer wrote on 2021-04-28: > However, you should really remove those weak symbol > hacks. They won't have any effect for glibc 2.34 I'm trying to do this now. But what is the right condition? 1) I understand that it's only for glibc >= 2.34 on Linux (NPTL), right? Not on Hurd (HTL)? 2) /usr/include/gnu/lib-names.h still defines LIBPTHREAD_SO. How about not defining LIBPTHREAD_SO, since linking with it is supposed to be a no-op in these newer glibc versions? Bruno