From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 8BEEC3858402; Thu, 26 Aug 2021 17:21:41 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8BEEC3858402 From: "simark at simark dot ca" To: gdb-prs@sourceware.org Subject: [Bug threads/28271] Crash in GDB-10.2 in thread::detach Date: Thu, 26 Aug 2021 17:21:41 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: threads X-Bugzilla-Version: 10.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: simark at simark dot ca 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 X-BeenThere: gdb-prs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-prs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Aug 2021 17:21:41 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D28271 --- Comment #7 from Simon Marchi --- Oh(In reply to Alexey Brodkin from comment #6) > Hm, could you please provide some hints on how to enable address sanitizer > while building a static binary? >=20 > GCC seems to not like -static & -fsanitize=3Daddress used together: > -------------------->8------------------- > cannot specify -static with -fsanitize=3Daddress > -------------------->8------------------- Oh, I don't know. I build GDB as a non-static executable, so -fsanitize=3Daddress works here. Sorry. --=20 You are receiving this mail because: You are on the CC list for the bug.=