public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/42734] trivial use of std::thread fails with "pure virtual method called" Date: Sat, 16 Oct 2010 15:54:00 -0000 [thread overview] Message-ID: <20101016155400.btwAS_7F97rrfi6qVNg6IMA87ycS_PuStqcGbPlCE-c@z> (raw) In-Reply-To: <bug-42734-4@http.gcc.gnu.org/bugzilla/> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42734 --- Comment #38 from Jonathan Wakely <redi at gcc dot gnu.org> 2010-10-16 15:54:16 UTC --- I can confirm that this crash happens with GCC 4.4 when using -march=i386 But it isn't a problem with 4.5 and 4.6 because it fails to link $ ~/gcc/4.5/bin/g++ -std=c++0x t.cc -m32 -march=i386 -pthread /tmp/ccxpaful.o: In function `__gnu_cxx::__exchange_and_add(int volatile*, int)': t.cc:(.text+0x3c): undefined reference to `__sync_fetch_and_add_4' collect2: ld returned 1 exit status
next prev parent reply other threads:[~2010-10-16 15:54 UTC|newest] Thread overview: 49+ messages / expand[flat|nested] mbox.gz Atom feed top [not found] <bug-42734-4@http.gcc.gnu.org/bugzilla/> 2010-10-15 18:46 ` nacitar at gmail dot com 2010-10-15 18:49 ` pinskia at gcc dot gnu.org 2010-10-15 19:28 ` redi at gcc dot gnu.org 2010-10-15 19:38 ` redi at gcc dot gnu.org 2010-10-15 19:45 ` redi at gcc dot gnu.org 2010-10-15 19:47 ` nacitar at gmail dot com 2010-10-15 20:07 ` redi at gcc dot gnu.org 2010-10-15 23:42 ` paolo.carlini at oracle dot com 2010-10-16 13:32 ` redi at gcc dot gnu.org 2010-10-16 15:54 ` redi at gcc dot gnu.org [this message] 2010-10-17 9:57 ` paolo.carlini at oracle dot com 2014-07-18 5:43 ` damien.buhl at lecbna dot org 2014-12-03 18:40 ` fenixk19 at mail dot ru 2014-12-04 12:52 ` fenixk19 at mail dot ru 2014-12-04 12:55 ` damien.buhl at lecbna dot org 2014-12-04 19:28 ` fenixk19 at mail dot ru 2014-12-05 0:26 ` damien.buhl at lecbna dot org 2014-12-08 15:54 ` damien.buhl at lecbna dot org 2014-12-08 21:05 ` fenixk19 at mail dot ru 2015-10-05 10:18 ` redi at gcc dot gnu.org 2010-01-13 20:21 [Bug libstdc++/42734] New: " phil at nwl dot cc 2010-01-13 20:22 ` [Bug libstdc++/42734] " phil at nwl dot cc 2010-01-13 20:23 ` phil at nwl dot cc 2010-01-13 20:24 ` phil at nwl dot cc 2010-01-13 20:41 ` paolo dot carlini at oracle dot com 2010-01-13 21:33 ` redi at gcc dot gnu dot org 2010-01-13 21:37 ` redi at gcc dot gnu dot org 2010-01-13 22:34 ` phil at nwl dot cc 2010-01-13 22:37 ` phil at nwl dot cc 2010-01-13 22:40 ` paolo dot carlini at oracle dot com 2010-01-13 22:40 ` paolo dot carlini at oracle dot com 2010-01-13 22:53 ` phil at nwl dot cc 2010-01-13 23:10 ` paolo dot carlini at oracle dot com 2010-01-13 23:34 ` redi at gcc dot gnu dot org 2010-01-14 1:14 ` phil at nwl dot cc 2010-01-14 1:59 ` paolo dot carlini at oracle dot com 2010-01-14 21:36 ` paolo dot carlini at oracle dot com 2010-01-15 1:49 ` phil at nwl dot cc 2010-01-15 1:55 ` phil at nwl dot cc 2010-01-15 2:00 ` paolo dot carlini at oracle dot com 2010-01-15 2:02 ` paolo dot carlini at oracle dot com 2010-01-15 2:05 ` paolo dot carlini at oracle dot com 2010-01-15 22:07 ` phil at nwl dot cc 2010-01-15 22:15 ` paolo dot carlini at oracle dot com 2010-01-15 22:32 ` phil at nwl dot cc 2010-01-15 23:07 ` paolo dot carlini at oracle dot com 2010-01-15 23:49 ` phil at nwl dot cc 2010-01-16 0:05 ` paolo dot carlini at oracle dot com 2010-01-16 1:08 ` phil at nwl dot cc 2010-01-16 10:10 ` paolo dot carlini at oracle dot com
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20101016155400.btwAS_7F97rrfi6qVNg6IMA87ycS_PuStqcGbPlCE-c@z \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).