[Bug bootstrap/53238] Bootstrap failure: error: 'pthread_mutex_timedlock' was not declared in this scope

2021-07-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53238 Andrew Pinski changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug bootstrap/53238] Bootstrap failure: error: 'pthread_mutex_timedlock' was not declared in this scope

2015-02-06 Thread skunk at iskunk dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53238 --- Comment #22 from Daniel Richard G. skunk at iskunk dot org --- Still using AIX 4.3 here. The std::ctypechar error has been particularly nettlesome, as it's beyond my ken and I can't work around it.

[Bug bootstrap/53238] Bootstrap failure: error: 'pthread_mutex_timedlock' was not declared in this scope

2015-02-06 Thread dje at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53238 David Edelsohn dje at gcc dot gnu.org changed: What|Removed |Added Status|NEW |WAITING

[Bug bootstrap/53238] Bootstrap failure: error: 'pthread_mutex_timedlock' was not declared in this scope

2012-07-23 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53238 --- Comment #20 from Jonathan Wakely redi at gcc dot gnu.org 2012-07-23 08:11:48 UTC --- The vtable should be defined in the same file as ctypechar::~ctype() i.e. in libstdc++-v3/src/c++98/ctype.cc You could try adding this to ctype.cc around

[Bug bootstrap/53238] Bootstrap failure: error: 'pthread_mutex_timedlock' was not declared in this scope

2012-07-23 Thread skunk at iskunk dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53238 --- Comment #21 from Daniel Richard G. skunk at iskunk dot org 2012-07-23 18:52:06 UTC --- (In reply to comment #20) You could try adding this to ctype.cc around line 54 --- libstdc++-v3/src/c++98/ctype.cc.orig2012-01-23 18:12:01.2

[Bug bootstrap/53238] Bootstrap failure: error: 'pthread_mutex_timedlock' was not declared in this scope

2012-07-22 Thread skunk at iskunk dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53238 --- Comment #19 from Daniel Richard G. skunk at iskunk dot org 2012-07-23 04:20:33 UTC --- The good news: The build gets past all of the pthreads-related errors described here, so I think those two changes may be a workable solution. The bad

[Bug bootstrap/53238] Bootstrap failure: error: 'pthread_mutex_timedlock' was not declared in this scope

2012-07-20 Thread skunk at iskunk dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53238 --- Comment #18 from Daniel Richard G. skunk at iskunk dot org 2012-07-20 17:44:12 UTC --- (In reply to comment #17) Between comment 5 (with missing ;;) and comment 14 it should work, I think. Okay, I'm re-starting the build with those two

[Bug bootstrap/53238] Bootstrap failure: error: 'pthread_mutex_timedlock' was not declared in this scope

2012-07-19 Thread skunk at iskunk dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53238 --- Comment #15 from Daniel Richard G. skunk at iskunk dot org 2012-07-19 19:24:37 UTC --- (In reply to comment #14) I still don't think it's the right thing to do, but does this help? I'm trying this now, in conjunction with the patch posted

[Bug bootstrap/53238] Bootstrap failure: error: 'pthread_mutex_timedlock' was not declared in this scope

2012-07-19 Thread skunk at iskunk dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53238 --- Comment #16 from Daniel Richard G. skunk at iskunk dot org 2012-07-19 21:10:28 UTC --- Okay, spoke too soon; I encountered the same error later in the game, when building the pthread variant of libstdc++-v3. I'm going to try the build with a

[Bug bootstrap/53238] Bootstrap failure: error: 'pthread_mutex_timedlock' was not declared in this scope

2012-07-19 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53238 --- Comment #17 from Jonathan Wakely redi at gcc dot gnu.org 2012-07-19 23:55:50 UTC --- (In reply to comment #16) Will this work any better as a solution than my suggestion in comment #4? No, it will fail on any non-posix platform, even if it

[Bug bootstrap/53238] Bootstrap failure: error: 'pthread_mutex_timedlock' was not declared in this scope

2012-07-16 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53238 Jonathan Wakely redi at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|NEW

[Bug bootstrap/53238] Bootstrap failure: error: 'pthread_mutex_timedlock' was not declared in this scope

2012-06-10 Thread skunk at iskunk dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53238 --- Comment #13 from Daniel Richard G. skunk at iskunk dot org 2012-06-10 22:39:36 UTC --- Hi Jonathan, I've checked and double-checked this, and was hoping you could offer some insight: I get the Undefined symbol: vtable for std::ctypechar

[Bug bootstrap/53238] Bootstrap failure: error: 'pthread_mutex_timedlock' was not declared in this scope

2012-05-15 Thread skunk at iskunk dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53238 --- Comment #11 from Daniel Richard G. skunk at iskunk dot org 2012-05-16 02:51:24 UTC --- Okay, the bootstrap gets further this time. A couple of unrelated issues came up which I was able to work around, but then I encountered this: [...]

[Bug bootstrap/53238] Bootstrap failure: error: 'pthread_mutex_timedlock' was not declared in this scope

2012-05-15 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53238 --- Comment #12 from Jonathan Wakely redi at gcc dot gnu.org 2012-05-16 03:05:51 UTC --- IIRC that should already be instantiated

[Bug bootstrap/53238] Bootstrap failure: error: 'pthread_mutex_timedlock' was not declared in this scope

2012-05-11 Thread skunk at iskunk dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53238 --- Comment #10 from Daniel Richard G. skunk at iskunk dot org 2012-05-12 05:36:16 UTC --- (In reply to comment #9) I won't be able to work on that until I'm back from holiday in two weeks, in the meanwhile --disable-libstdcxx-threads should

[Bug bootstrap/53238] Bootstrap failure: error: 'pthread_mutex_timedlock' was not declared in this scope

2012-05-09 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53238 --- Comment #9 from Jonathan Wakely redi at gcc dot gnu.org 2012-05-09 16:44:07 UTC --- Hmm, I guess this is for the case where gthr-aix.h includes gthr-single.h, which doesn't define the C++11 interface. The configure script determined that

[Bug bootstrap/53238] Bootstrap failure: error: 'pthread_mutex_timedlock' was not declared in this scope

2012-05-08 Thread skunk at iskunk dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53238 --- Comment #8 from Daniel Richard G. skunk at iskunk dot org 2012-05-08 18:18:04 UTC --- I did a non-bootstrap build to speed things up a bit. (The system already has GCC 4.5.2.) First: Your patch needs a couple of ;; sprinkled in there :-)

[Bug bootstrap/53238] Bootstrap failure: error: 'pthread_mutex_timedlock' was not declared in this scope

2012-05-07 Thread skunk at iskunk dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53238 --- Comment #7 from Daniel Richard G. skunk at iskunk dot org 2012-05-07 21:09:43 UTC --- (In reply to comment #6) Created attachment 27320 [details] diff of regenerated configure Jonathan, thank you for the patch, and the regen. I'm starting

[Bug bootstrap/53238] Bootstrap failure: error: 'pthread_mutex_timedlock' was not declared in this scope

2012-05-05 Thread skunk at iskunk dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53238 --- Comment #4 from Daniel Richard G. skunk at iskunk dot org 2012-05-05 16:05:30 UTC --- (In reply to comment #3) If you're using --enable-thread=posix then it should be defined. I haven't used --enable-thread=posix, and if I invoke .../xgcc

[Bug bootstrap/53238] Bootstrap failure: error: 'pthread_mutex_timedlock' was not declared in this scope

2012-05-05 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53238 Jonathan Wakely redi at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last

[Bug bootstrap/53238] Bootstrap failure: error: 'pthread_mutex_timedlock' was not declared in this scope

2012-05-05 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53238 --- Comment #6 from Jonathan Wakely redi at gcc dot gnu.org 2012-05-05 18:13:57 UTC --- Created attachment 27320 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=27320 diff of regenerated configure N.B. you'll either need to run autoreconf or

[Bug bootstrap/53238] Bootstrap failure: error: 'pthread_mutex_timedlock' was not declared in this scope

2012-05-04 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53238 --- Comment #1 from Jonathan Wakely redi at gcc dot gnu.org 2012-05-04 20:21:32 UTC --- You'll need to figure out why the configure test passes, most of us who work on that bit of code don't have access to AIX

[Bug bootstrap/53238] Bootstrap failure: error: 'pthread_mutex_timedlock' was not declared in this scope

2012-05-04 Thread skunk at iskunk dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53238 --- Comment #2 from Daniel Richard G. skunk at iskunk dot org 2012-05-04 20:33:46 UTC --- (In reply to comment #1) You'll need to figure out why the configure test passes, most of us who work on that bit of code don't have access to AIX

[Bug bootstrap/53238] Bootstrap failure: error: 'pthread_mutex_timedlock' was not declared in this scope

2012-05-04 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53238 --- Comment #3 from Jonathan Wakely redi at gcc dot gnu.org 2012-05-04 20:57:34 UTC --- _PTHREADS gets defined immediately above that test: target_thread_file=`$CXX -v 21 | sed -n 's/^Thread model: //p'` case $target_thread_file in