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.129.124]) by sourceware.org (Postfix) with ESMTPS id DD4EC3858D28 for ; Wed, 9 Feb 2022 12:06:48 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org DD4EC3858D28 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-477-DOeaX9R-OWWPqjIduPHJpQ-1; Wed, 09 Feb 2022 07:06:45 -0500 X-MC-Unique: DOeaX9R-OWWPqjIduPHJpQ-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id A898D802925; Wed, 9 Feb 2022 12:06:44 +0000 (UTC) Received: from oldenburg.str.redhat.com (unknown [10.39.193.205]) by smtp.corp.redhat.com (Postfix) with ESMTPS id D19BD6E1EA; Wed, 9 Feb 2022 12:06:43 +0000 (UTC) From: Florian Weimer To: Christer Solskogen via Libc-help Cc: Christer Solskogen Subject: Re: libpthread.so symlink missing? References: Date: Wed, 09 Feb 2022 13:06:42 +0100 In-Reply-To: (Christer Solskogen via Libc-help's message of "Wed, 9 Feb 2022 11:00:30 +0100") Message-ID: <87ee4c2qi5.fsf@oldenburg.str.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain X-Spam-Status: No, score=-6.1 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_LOW, SPF_HELO_NONE, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 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 12:06:49 -0000 * 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, Florian