From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20666 invoked by alias); 17 Oct 2010 09:57:04 -0000 Received: (qmail 20657 invoked by uid 22791); 17 Oct 2010 09:57:03 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,MISSING_MID X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 17 Oct 2010 09:56:58 +0000 From: "paolo.carlini at oracle dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/42734] trivial use of std::thread fails with "pure virtual method called" X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: paolo.carlini at oracle dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Sun, 17 Oct 2010 09:57:00 -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 X-SW-Source: 2010-10/txt/msg01387.txt.bz2 Message-ID: <20101017095700._OsOi6DL1q3RvUSmZ6cF2l7HuA8o6CNje3U4Hoize2I@z> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42734 --- Comment #39 from Paolo Carlini 2010-10-17 09:56:52 UTC --- I don't know exactly what we are doing in such headers but for sure if we have facilities which rely vitally on atomic builtins either should be disabled *completely* when the builtins are not actually available or the use of the builtins should be moved to functions exported by the .so (and then at build time either use as implementation details the atomic builtins or a slow fall back, like we do for , more or less)