From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ciao.gmane.io (ciao.gmane.io [116.202.254.214]) by sourceware.org (Postfix) with ESMTPS id 7C5D73858008 for ; Wed, 9 Feb 2022 13:58:17 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 7C5D73858008 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1nHnU8-0003Om-H0 for libc-help@sourceware.org; Wed, 09 Feb 2022 14:58:16 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: libc-help@sourceware.org From: Christer Solskogen Subject: Re: libpthread.so symlink missing? Date: Wed, 9 Feb 2022 14:58:09 +0100 Message-ID: References: <87ee4c2qi5.fsf@oldenburg.str.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.5.1 Content-Language: en-US In-Reply-To: <87ee4c2qi5.fsf@oldenburg.str.redhat.com> X-Spam-Status: No, score=1.6 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, FORGED_GMAIL_RCVD, FORGED_MUA_MOZILLA, FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, NICE_REPLY_A, NML_ADSP_CUSTOM_MED, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.4 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: libc-help@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-help mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Feb 2022 13:58:21 -0000 On 09.02.2022 13:06, Florian Weimer via Libc-help wrote: > * Christer Solskogen via Libc-help: > >> In order for me to get cross-gcc to build I need to create a symlink >> from libpthread.so.0 to libpthread.so. Is that a bug in glibc or is >> this intended? > > It is intended. glibc 2.34 and later only have an empty libpthread.a, > to make -lpthread (and -pthread) work. libpthread.so.0 is only needed > for running old applications that still link against it; it is pretty > much empty as well (except for symbol version information). > Thanks for your reply. I'll just create that symlink until a new GCC release is out, then. -- chs