[Bug libstdc++/42734] trivial use of std::thread fails with "pure virtual method called"

2018-11-27 Thread postmas...@conky-be.bounceio.net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42734 --- Comment #53 from postmas...@conky-be.bounceio.net --- Created attachment 45108 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45108=edit attachment-117920-1.eml

[Bug libstdc++/42734] trivial use of std::thread fails with "pure virtual method called"

2018-11-27 Thread postmas...@conky-be.bounceio.net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42734 --- Comment #52 from postmas...@conky-be.bounceio.net --- Your email was bounced... - ... because something went wrong between you and your recipient. Ugh! What to do next? Well, your

[Bug libstdc++/42734] trivial use of std::thread fails with "pure virtual method called"

2018-11-27 Thread postmas...@conky-be.bounceio.net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42734 --- Comment #51 from postmas...@conky-be.bounceio.net --- Your email was bounced... - ... because something went wrong between you and your recipient. Oh no! What to do next? Well,

[Bug libstdc++/42734] trivial use of std::thread fails with "pure virtual method called"

2018-11-27 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42734 --- Comment #50 from Jonathan Wakely --- Author: redi Date: Tue Nov 27 23:25:56 2018 New Revision: 266533 URL: https://gcc.gnu.org/viewcvs?rev=266533=gcc=rev Log: PR libstdc++/67843 set shared_ptr lock policy at build-time This resolves a

[Bug libstdc++/42734] trivial use of std::thread fails with "pure virtual method called"

2015-10-05 Thread redi at gcc dot gnu.org
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

[Bug libstdc++/42734] trivial use of std::thread fails with pure virtual method called

2014-12-08 Thread damien.buhl at lecbna dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42734 --- Comment #47 from Damien Buhl (daminetreg) damien.buhl at lecbna dot org --- So our GCC with the problem has been configured and built by yocto-poky the following way :  ``` Using built-in specs.

[Bug libstdc++/42734] trivial use of std::thread fails with pure virtual method called

2014-12-08 Thread fenixk19 at mail dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42734 --- Comment #48 from Alexander Varnin fenixk19 at mail dot ru --- Created attachment 34224 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=34224action=edit config.log for compiler with the bug Here is my config.log from cross compiler build.

[Bug libstdc++/42734] trivial use of std::thread fails with pure virtual method called

2014-12-04 Thread fenixk19 at mail dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42734 --- Comment #43 from Alexander Varnin fenixk19 at mail dot ru --- And I also confirm that adding -latomic to build options fixes the issue.

[Bug libstdc++/42734] trivial use of std::thread fails with pure virtual method called

2014-12-04 Thread damien.buhl at lecbna dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42734 --- Comment #44 from Damien Buhl (daminetreg) damien.buhl at lecbna dot org --- On a yocto built cross-toolchain adding -latomic didn't help. This may be due to the yocto cross-toolchain built without the support for some reason. I'll explorate

[Bug libstdc++/42734] trivial use of std::thread fails with pure virtual method called

2014-12-04 Thread fenixk19 at mail dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42734 --- Comment #45 from Alexander Varnin fenixk19 at mail dot ru --- (In reply to Damien Buhl (daminetreg) from comment #44) While given test works properly with -latomic on my installation, my application doesn't. It fails with segfault in

[Bug libstdc++/42734] trivial use of std::thread fails with pure virtual method called

2014-12-04 Thread damien.buhl at lecbna dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42734 --- Comment #46 from Damien Buhl (daminetreg) damien.buhl at lecbna dot org --- As a pretier alternative you can use boost::thread with boost::atomic as backend as we did in a yocto cross toolchain with the same issue where latomic also

[Bug libstdc++/42734] trivial use of std::thread fails with pure virtual method called

2014-12-03 Thread fenixk19 at mail dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42734 Alexander Varnin fenixk19 at mail dot ru changed: What|Removed |Added CC||fenixk19 at

[Bug libstdc++/42734] trivial use of std::thread fails with pure virtual method called

2014-07-18 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42734 --- Comment #41 from Jonathan Wakely redi at gcc dot gnu.org --- (In reply to Damien Buhl (daminetreg) from comment #40) I can also confirm the crash with gcc-4.8.1 for an arm platform. You'll have to provide more information about your

[Bug libstdc++/42734] trivial use of std::thread fails with pure virtual method called

2014-07-17 Thread damien.buhl at lecbna dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42734 Damien Buhl (daminetreg) damien.buhl at lecbna dot org changed: What|Removed |Added CC|

[Bug libstdc++/42734] trivial use of std::thread fails with pure virtual method called

2010-10-17 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42734 --- Comment #39 from Paolo Carlini paolo.carlini at oracle dot com 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

[Bug libstdc++/42734] trivial use of std::thread fails with pure virtual method called

2010-10-16 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42734 --- Comment #37 from Jonathan Wakely redi at gcc dot gnu.org 2010-10-16 13:31:33 UTC --- What I was thinking of is that bits/c++config.h defines the following based on what was supported at the time the library is configured and built, not what

[Bug libstdc++/42734] trivial use of std::thread fails with pure virtual method called

2010-10-16 Thread redi at gcc dot gnu.org
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 $

[Bug libstdc++/42734] trivial use of std::thread fails with pure virtual method called

2010-10-15 Thread nacitar at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42734 Jacob McIntosh nacitar at gmail dot com changed: What|Removed |Added CC||nacitar at gmail

[Bug libstdc++/42734] trivial use of std::thread fails with pure virtual method called

2010-10-15 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42734 Andrew Pinski pinskia at gcc dot gnu.org changed: What|Removed |Added Known to work|| --- Comment

[Bug libstdc++/42734] trivial use of std::thread fails with pure virtual method called

2010-10-15 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42734 --- Comment #31 from Jonathan Wakely redi at gcc dot gnu.org 2010-10-15 19:27:37 UTC --- ah, I see ... IIRC execute_native_thread_method uses shared_ptr which uses atomic builtins which are missing on i386 so yes, -march=i386 changes the ABI,

[Bug libstdc++/42734] trivial use of std::thread fails with pure virtual method called

2010-10-15 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42734 --- Comment #32 from Jonathan Wakely redi at gcc dot gnu.org 2010-10-15 19:37:46 UTC --- I'm not sure -march=i386 explains the original report, since the OP said his compiler command was: $ g++ -std=c++0x -pthread thread.cc -o thread Does the

[Bug libstdc++/42734] trivial use of std::thread fails with pure virtual method called

2010-10-15 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42734 --- Comment #33 from Jonathan Wakely redi at gcc dot gnu.org 2010-10-15 19:45:22 UTC --- hmm, I should check, but I'm not home right now ... the problem could be that that the library only checks SYNC_HAVE_COMPARE_AND_SWAP t configure time, and

[Bug libstdc++/42734] trivial use of std::thread fails with pure virtual method called

2010-10-15 Thread nacitar at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42734 --- Comment #34 from Jacob McIntosh nacitar at gmail dot com 2010-10-15 19:46:56 UTC --- (In reply to comment #32) I'm not sure -march=i386 explains the original report, since the OP said his compiler command was: $ g++ -std=c++0x -pthread

[Bug libstdc++/42734] trivial use of std::thread fails with pure virtual method called

2010-10-15 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42734 --- Comment #35 from Jonathan Wakely redi at gcc dot gnu.org 2010-10-15 20:06:55 UTC --- (In reply to comment #34) (In reply to comment #32) I'm not sure -march=i386 explains the original report, since the OP said his compiler command was:

[Bug libstdc++/42734] trivial use of std::thread fails with pure virtual method called

2010-10-15 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42734 --- Comment #36 from Paolo Carlini paolo.carlini at oracle dot com 2010-10-15 23:41:54 UTC --- (In reply to comment #32) Does the front-end disable the HAVE_SYNC_COMPARE_AND_SWAP macros if you compile with (implicit or explicit) march=i386 ?

[Bug libstdc++/42734] trivial use of std::thread fails with pure virtual method called

2010-01-16 Thread paolo dot carlini at oracle dot com
--- Comment #28 from paolo dot carlini at oracle dot com 2010-01-16 10:10 --- Feedback not forthcoming. -- paolo dot carlini at oracle dot com changed: What|Removed |Added

[Bug libstdc++/42734] trivial use of std::thread fails with pure virtual method called

2010-01-15 Thread phil at nwl dot cc
--- Comment #21 from phil at nwl dot cc 2010-01-15 22:07 --- (In reply to comment #18) Just build everything with default configure options, then go inside the libstdc++-v3 *build* dir and type 'make check'. Ah, hmm. Well, having to compile everything in order to run the tests using

[Bug libstdc++/42734] trivial use of std::thread fails with pure virtual method called

2010-01-15 Thread paolo dot carlini at oracle dot com
--- Comment #22 from paolo dot carlini at oracle dot com 2010-01-15 22:15 --- (In reply to comment #21) (In reply to comment #18) Just build everything with default configure options, then go inside the libstdc++-v3 *build* dir and type 'make check'. Ah, hmm. Well, having to

[Bug libstdc++/42734] trivial use of std::thread fails with pure virtual method called

2010-01-15 Thread phil at nwl dot cc
--- Comment #23 from phil at nwl dot cc 2010-01-15 22:32 --- (In reply to comment #22) (In reply to comment #21) (In reply to comment #18) Just build everything with default configure options, then go inside the libstdc++-v3 *build* dir and type 'make check'. Ah, hmm.

[Bug libstdc++/42734] trivial use of std::thread fails with pure virtual method called

2010-01-15 Thread paolo dot carlini at oracle dot com
--- Comment #24 from paolo dot carlini at oracle dot com 2010-01-15 23:07 --- (In reply to comment #23) What we want to do is to run the libstdc++ testsuite with my distribution-provided g++, in order to see whether it's generally broken or not, right? Wrong. You can't use one

[Bug libstdc++/42734] trivial use of std::thread fails with pure virtual method called

2010-01-15 Thread paolo dot carlini at oracle dot com
--- Comment #26 from paolo dot carlini at oracle dot com 2010-01-16 00:05 --- Hey, I'm telling you the way we all library maintainers (like me) and users check the library: they all fetch everything (either mainline or 4_4-branch, or whatever) via svn, make, make check. Now you want to

[Bug libstdc++/42734] trivial use of std::thread fails with pure virtual method called

2010-01-15 Thread phil at nwl dot cc
--- Comment #27 from phil at nwl dot cc 2010-01-16 01:08 --- (In reply to comment #26) Hey, I'm telling you the way we all library maintainers (like me) and users check the library: they all fetch everything (either mainline or 4_4-branch, or whatever) via svn, make, make check.

[Bug libstdc++/42734] trivial use of std::thread fails with pure virtual method called

2010-01-14 Thread paolo dot carlini at oracle dot com
-- paolo dot carlini at oracle dot com changed: What|Removed |Added Status|UNCONFIRMED |WAITING http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42734

[Bug libstdc++/42734] trivial use of std::thread fails with pure virtual method called

2010-01-14 Thread phil at nwl dot cc
--- Comment #16 from phil at nwl dot cc 2010-01-15 01:49 --- (In reply to comment #14) I'll give the testsuite a try, but this will take some time (svn checkout is still running). Oh boy, here it comes. I hope I've done the right thing, as there is little documentation about how to

[Bug libstdc++/42734] trivial use of std::thread fails with pure virtual method called

2010-01-14 Thread phil at nwl dot cc
--- Comment #17 from phil at nwl dot cc 2010-01-15 01:55 --- (In reply to comment #16) (output files g++.{log,sum} follow as attachments) Mkay, bugzilla doesn't like the big logs. Meanwhile, take these: - http://nwl.cc/~n0-1/g++.log - http://nwl.cc/~n0-1/g++.sum --

[Bug libstdc++/42734] trivial use of std::thread fails with pure virtual method called

2010-01-14 Thread paolo dot carlini at oracle dot com
--- Comment #18 from paolo dot carlini at oracle dot com 2010-01-15 02:00 --- Just build everything with default configure options, then go inside the libstdc++-v3 *build* dir and type 'make check'. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42734

[Bug libstdc++/42734] trivial use of std::thread fails with pure virtual method called

2010-01-14 Thread paolo dot carlini at oracle dot com
--- Comment #19 from paolo dot carlini at oracle dot com 2010-01-15 02:02 --- (we are not particularly interested in the g++ testresults, that this the results for the C++ front-end proper, we are interested in the library results) --

[Bug libstdc++/42734] trivial use of std::thread fails with pure virtual method called

2010-01-14 Thread paolo dot carlini at oracle dot com
--- Comment #20 from paolo dot carlini at oracle dot com 2010-01-15 02:05 --- Normally should look, for your i686 target, like the final part of this: http://gcc.gnu.org/ml/gcc-testresults/2010-01/msg01263.html (please disregard the 23_containers failures, it's a temporary problem,

[Bug libstdc++/42734] trivial use of std::thread fails with pure virtual method called

2010-01-13 Thread phil at nwl dot cc
--- Comment #1 from phil at nwl dot cc 2010-01-13 20:22 --- Created an attachment (id=19580) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19580action=view) preprocessor output generated by -save-temps -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42734

[Bug libstdc++/42734] trivial use of std::thread fails with pure virtual method called

2010-01-13 Thread phil at nwl dot cc
--- Comment #2 from phil at nwl dot cc 2010-01-13 20:23 --- Created an attachment (id=19581) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19581action=view) assembly output generated by -save-temps -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42734

[Bug libstdc++/42734] trivial use of std::thread fails with pure virtual method called

2010-01-13 Thread phil at nwl dot cc
--- Comment #3 from phil at nwl dot cc 2010-01-13 20:23 --- Created an attachment (id=19582) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19582action=view) output when running the test program through valgrind -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42734

[Bug libstdc++/42734] trivial use of std::thread fails with pure virtual method called

2010-01-13 Thread paolo dot carlini at oracle dot com
--- Comment #4 from paolo dot carlini at oracle dot com 2010-01-13 20:40 --- I cannot reproduce the problem in current 4_4-branch and mainline. Jon does it make any sense to you? -- paolo dot carlini at oracle dot com changed: What|Removed

[Bug libstdc++/42734] trivial use of std::thread fails with pure virtual method called

2010-01-13 Thread redi at gcc dot gnu dot org
--- Comment #5 from redi at gcc dot gnu dot org 2010-01-13 21:33 --- It would be a lot easier to view the attachments if they were labelled as text files, but no, I can't see how this can happen. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42734

[Bug libstdc++/42734] trivial use of std::thread fails with pure virtual method called

2010-01-13 Thread redi at gcc dot gnu dot org
--- Comment #6 from redi at gcc dot gnu dot org 2010-01-13 21:37 --- does the g++ binary, gcc (GCC) 4.4.2 20091208 (prerelease), match the shared library, /usr/lib/libstdc++.so.6.0.13? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42734

[Bug libstdc++/42734] trivial use of std::thread fails with pure virtual method called

2010-01-13 Thread phil at nwl dot cc
--- Comment #7 from phil at nwl dot cc 2010-01-13 22:34 --- (In reply to comment #6) does the g++ binary, gcc (GCC) 4.4.2 20091208 (prerelease), match the shared library, /usr/lib/libstdc++.so.6.0.13? Yes, it does. The executable is linked against libstdc++.so.6, being a symlink to

[Bug libstdc++/42734] trivial use of std::thread fails with pure virtual method called

2010-01-13 Thread phil at nwl dot cc
--- Comment #8 from phil at nwl dot cc 2010-01-13 22:37 --- (In reply to comment #4) I cannot reproduce the problem in current 4_4-branch and mainline. Jon does it make any sense to you? It seems like this bug exists only on x86 machines, but I don't have any x86_64 machine with

[Bug libstdc++/42734] trivial use of std::thread fails with pure virtual method called

2010-01-13 Thread paolo dot carlini at oracle dot com
--- Comment #9 from paolo dot carlini at oracle dot com 2010-01-13 22:39 --- But note that I can't reproduce it on x86_64 and -m32 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42734

[Bug libstdc++/42734] trivial use of std::thread fails with pure virtual method called

2010-01-13 Thread paolo dot carlini at oracle dot com
--- Comment #10 from paolo dot carlini at oracle dot com 2010-01-13 22:40 --- -m64 (the default) is also fine, of course. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42734

[Bug libstdc++/42734] trivial use of std::thread fails with pure virtual method called

2010-01-13 Thread phil at nwl dot cc
--- Comment #11 from phil at nwl dot cc 2010-01-13 22:52 --- (In reply to comment #9) But note that I can't reproduce it on x86_64 and -m32 Was told that, too. So what can I do to support you? What additional information should I provide? I could probably setup some shell access to

[Bug libstdc++/42734] trivial use of std::thread fails with pure virtual method called

2010-01-13 Thread paolo dot carlini at oracle dot com
--- Comment #12 from paolo dot carlini at oracle dot com 2010-01-13 23:09 --- Before anything else, you should make sure your system is otherwise sane, I don't know Linux nuty and I have no idea if it's affected by specific issues. Thus, first, I would suggest you to run the testsuite,

[Bug libstdc++/42734] trivial use of std::thread fails with pure virtual method called

2010-01-13 Thread redi at gcc dot gnu dot org
--- Comment #13 from redi at gcc dot gnu dot org 2010-01-13 23:34 --- (In reply to comment #9) But note that I can't reproduce it on x86_64 and -m32 It is possible to build a non-multilib 32-bit-only compiler on x86_64 - HJ gave Benjamin the right configure commands recently. --

[Bug libstdc++/42734] trivial use of std::thread fails with pure virtual method called

2010-01-13 Thread phil at nwl dot cc
--- Comment #14 from phil at nwl dot cc 2010-01-14 01:13 --- (In reply to comment #12) Before anything else, you should make sure your system is otherwise sane, I don't know Linux nuty and I have no idea if it's affected by specific issues. Believe it or not, nuty is actually the

[Bug libstdc++/42734] trivial use of std::thread fails with pure virtual method called

2010-01-13 Thread paolo dot carlini at oracle dot com
--- Comment #15 from paolo dot carlini at oracle dot com 2010-01-14 01:58 --- (In reply to comment #14) Believe it or not, nuty is actually the hostname of the system in question. ;) The distribution is Arch Linux. Believe it or not, I don't know Arch Linux either ;) --