From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 122071 invoked by alias); 5 Oct 2015 10:18:14 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 121987 invoked by uid 48); 5 Oct 2015 10:18:10 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/42734] trivial use of std::thread fails with "pure virtual method called" Date: Mon, 05 Oct 2015 10:18:00 -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.4.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi 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: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-10/txt/msg00325.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42734 --- Comment #49 from Jonathan Wakely --- std::thread no longer uses shared_ptr on trunk, so no longer depends on atomics and doesn't break if you mix objects compiled with and without native atomics, e.g. mixing objects built for i386 with objects built for i686, or mixing objects built for armv5 with objects built for armv7.