From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id E34F63858C5E; Fri, 10 Mar 2023 05:01:28 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E34F63858C5E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1678424488; bh=HramatGd3p2XV8P92RXJnotelR9mXqz7Ud7gTwdRrBw=; h=From:To:Subject:Date:In-Reply-To:References:From; b=i16TUC0stElsIMS0CeIhGQ55ELKb+JGL5SOldYOME1YqdAwx3u2QiqcFP643tNQLD lD/WY9RGgwaEd0N9m/cqbVMZU0BmnqNRwkc1aQCmvTyuPXKYUC6jo7xVIDq1qeNMcf +1laSdB5TjdV42lBKOTN4PhuDm+e8tSf5H2jIdf4= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/109074] SIGABRT signal without using -lpthread at Linux RHEL 7.3 Date: Fri, 10 Mar 2023 05:01:28 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 4.8.5 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID 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: 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=3D109074 --- Comment #6 from Andrew Pinski --- > what(): Enable multithreading to use std::thread: It explicitly says what needs to be done. And to enable multithreading on gnu/Linux you use -pthread option or link against libpthread. Newer gnu/Linux distros enable multithreading by default so you don't need = to link against libpthread.=