From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 739023858CD1; Mon, 8 Apr 2024 21:29:15 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 739023858CD1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1712611755; bh=WlR8RnM8hpmYDY51CnjzP7X9g3LEQhdFVcohj4Wgfso=; h=From:To:Subject:Date:In-Reply-To:References:From; b=w0hoJqPtfPC5bW2wZqy7VYZITikvkq3UBjlhLQiEMGIw6URodBOlfP/K+m97YAyrN IEEfFIYk6eM6YjF2uQ22LrOz3PCtXDaWTWDYWizKbDQRqdC9dTtp1EMwU5qoauVenc mFC59sThDCk4uMZIUEEBC5LRy/4V18KFHWhT1XCo= From: "bruno at clisp dot org" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/21777] use of pthread_getspecific, pthread_setspecific in a statically linked program leads to a crash before main Date: Mon, 08 Apr 2024 21:29:13 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: dynamic-link X-Bugzilla-Version: 2.23 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: bruno at clisp dot org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: resolution 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=3D21777 Bruno Haible changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|DUPLICATE |FIXED --- Comment #7 from Bruno Haible --- It works fine with glibc 2.39 and gcc 13.2.1 (verified on Arch Linux 2024.0= 4): $ gcc -Wall -O testfstrcmp.c -static -pthread $ ./a.out >> main << main $ gcc -Wall -O testfstrcmp.c -static $ ./a.out >> main << main --=20 You are receiving this mail because: You are on the CC list for the bug.=