From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A70283858C2F; Wed, 30 Nov 2022 12:13:45 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A70283858C2F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1669810425; bh=NT4aIFAgz+hBRsHzmI0jYW2ibEPGZC0FKYOU8KhX4Uw=; h=From:To:Subject:Date:In-Reply-To:References:From; b=BsDb+xr1y+icthemZBRLM+raAMkwm/ZYyjQEdmfOMd0b8YxXNyvopgaomCXB8Jpni oxiAEwsG/MjlK48TzLAuHU1dcWAGkaE0VrJFQqvi3loYX7gG77RkGxbGYvINWNcNdA 1VQc9aPHxujxVgs/L3utnniV/l0nFHuY83bRghGg= From: "misch at google dot com" To: glibc-bugs@sourceware.org Subject: [Bug nptl/29834] libpthread.so lacks GLIBC_PRIVATE version for glibc 2.34 and later Date: Wed, 30 Nov 2022 12:13:45 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: nptl X-Bugzilla-Version: 2.34 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: misch at google dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D29834 --- Comment #3 from Michael Schaller --- > Do I understand this correctly? The program does not actually need a defi= nition of the weak symbol? That is indeed the case. The attached patch just restores the GLIBC_PRIVATE version for libpthread.so and that was sufficient to get the Synopsys binar= ies working again. > And we just run into a limitation in the GNU symbol versioning scheme, wh= ere we do not have weak symbol versions at all (VER_FLG_WEAK is generally u= nderstood to mean something else)? I'm not sure I can answer that. My understanding of symbol versioning and w= eak symbols is rudimentary and it took me a while to understand that "version `GLIBC_PRIVATE' not found" literally means that the version was removed. > Would it be sufficient if we make this work again by setting an environme= nt variable? I guess yes. Wouldn't it be easier though to just restore the GLIBC_PRIVATE version as we did with the attached patch? Alternatively maybe the dynamic loader could be changed to ignore a missing version for a weak symbol. --=20 You are receiving this mail because: You are on the CC list for the bug.=