From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 2BCB33858288; Tue, 29 Nov 2022 11:53:20 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2BCB33858288 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1669722800; bh=Dyhqw+3xQJfDlZaG1GNwWRP20gNW4xa0uMpx+0XAYVs=; h=From:To:Subject:Date:From; b=Ab89XwaUSGuu2TEWkBwcBm/BBn+Cuju829opZZ6tKeSIKWltcbnZNhKHlfcn4AwZR 9YgSIvf2fPF0WK4kz3H8k2x+PNlQv7VyrUTV+N+eJANhFGoMbgDLcpBkL/SHDHbR6H yxCJn0jyyGSRrAVTbk8F9EhC6IDCSKwlNDkxa3Do= From: "misch at google dot com" To: glibc-bugs@sourceware.org Subject: [Bug nptl/29834] New: libpthread.so lacks GLIBC_PRIVATE version for glibc 2.34 and later Date: Tue, 29 Nov 2022 11:53:19 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone attachments.created Message-ID: 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 Bug ID: 29834 Summary: libpthread.so lacks GLIBC_PRIVATE version for glibc 2.34 and later Product: glibc Version: 2.34 Status: UNCONFIRMED Severity: normal Priority: P2 Component: nptl Assignee: unassigned at sourceware dot org Reporter: misch at google dot com CC: drepper.fsp at gmail dot com Target Milestone: --- Created attachment 14474 --> https://sourceware.org/bugzilla/attachment.cgi?id=3D14474&action=3Ded= it Patch to restore GLIBC_PRIVATE version for libpthread.so Since glibc 2.34 libpthread.so no longer provides the GLIBC_PRIVATE version. This in turn causes problems with closed source software which we can't recompile ourselves. I've filed this bug to discuss if it would make sense = to restore the GLIBC_PRIVATE version. Details: Commit e8d52b64a54ba9ed7778ca9ce1f084eb5808f8d1 [1] removed the GLIBC_PRIVA= TE version from libthread.so. This in turn caused closed source software by Synopsys [2] to fail with this error: $ /opt/synopsys/vcs/T-2022.06-SP1-1/linux64/bin/vcs1 -h /opt/synopsys/vcs/T-2022.06-SP1-1/linux64/bin/vcs1: /lib/x86_64-linux-gnu/libpthread.so.0: version `GLIBC_PRIVATE' not found (required by /opt/synopsys/vcs/T-2022.06-SP1-1/linux64/bin/vcs1) It turns out that the Synopsys binaries have a weak symbol for __pthread_unwind@GLIBC_PRIVATE. Synopsys support is slow and so for the time being we've helped ourselves by patching glibc to provide the GLIBC_PRIVATE version again for libpthread.so (see attached patch). [1] https://sourceware.org/git/?p=3Dglibc.git;a=3Dcommitdiff;h=3De8d52b64a54ba9= ed7778ca9ce1f084eb5808f8d1 [2] https://www.synopsys.com/ --=20 You are receiving this mail because: You are on the CC list for the bug.=