From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 3D2C83858419; Wed, 3 Jan 2024 09:29:12 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3D2C83858419 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1704274152; bh=vAIvnBZhjLqg4+A4QIyHEe7hcjMPclfLBTyHCsm62UQ=; h=From:To:Subject:Date:In-Reply-To:References:From; b=bCOhmVNTfLN2lXI1/LmfjXlStKQ2ZxRnPBJi5a4TgGs5bKX1ll3XiipEsS6t08IEP uTNhu7n1txri0r7fvR9csIEoPKBO++rICItrmUZamHNJLina7s6v+ckw7XsQOrQARd PUtc+8m7qfWdGWI0s4gnGh4YGPRAxfem775b9Avg= From: "sjames at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/113211] Trying to initialize the tripwire database ends up with a SEGV if a uid cannot be found Date: Wed, 03 Jan 2024 09:29:11 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 11.4.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sjames at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: WONTFIX X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D113211 Sam James changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sjames at gcc dot gnu.org --- Comment #6 from Sam James --- (In reply to Andrew Pinski from comment #5) > Also I doubt this is a glibc issue either. Basically if you use getpwuid, > etc. in a static linked executable, it will use dlopen and TLS in a shared > library is not compatiable with a static linked executable. It even warns about that at link-time.=