[Bug libstdc++/100164] [11/12 Regression] semaphore_impl not declared on AIX

2021-04-21 Thread dje at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100164 --- Comment #18 from David Edelsohn --- Because the _M_try_acquire patch was not yet committed to trunk when I tested and bootstrap on trunk now is broken due to other, unrelated patches.

[Bug libstdc++/100164] [11/12 Regression] semaphore_impl not declared on AIX

2021-04-21 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100164 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libstdc++/100164] [11/12 Regression] semaphore_impl not declared on AIX

2021-04-21 Thread rodgertq at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100164 --- Comment #16 from Thomas Rodgers --- The _M_try_acquire() change should be on master and gcc-11 now.

[Bug libstdc++/100164] [11/12 Regression] semaphore_impl not declared on AIX

2021-04-21 Thread rodgertq at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100164 --- Comment #15 from Thomas Rodgers --- >From the most recent patch - +_GLIBCXX_ALWAYS_INLINE bool +_M_try_acquire() noexcept +{ + for (;;) + { + auto __err = sem_trywait(&_M_semaphore); + if (__err && (er

[Bug libstdc++/100164] [11/12 Regression] semaphore_impl not declared on AIX

2021-04-21 Thread dje at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100164 --- Comment #14 from David Edelsohn --- Thanks for the patch. This now removes the failure that semaphore_impl is not found. Because the platform semaphore code never was exercised due to the bug in the macro, there are more latent bugs. /tmp/

[Bug libstdc++/100164] [11/12 Regression] semaphore_impl not declared on AIX

2021-04-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100164 --- Comment #13 from CVS Commits --- The releases/gcc-11 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:0857fc3820bee04771f60a86b9dd5627b3ea1904 commit r11-8270-g0857fc3820bee04771f60a86b9dd5627b3ea1904 Author: Jakub Jelinek

[Bug libstdc++/100164] [11/12 Regression] semaphore_impl not declared on AIX

2021-04-21 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100164 --- Comment #12 from Jonathan Wakely --- (In reply to Jakub Jelinek from comment #5) > The changelog said you want to use __thread_yield(); there instead... Yes, that was fixed in r11-7293 (the patch attached in comment 3 was r11-7248).

[Bug libstdc++/100164] [11/12 Regression] semaphore_impl not declared on AIX

2021-04-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100164 --- Comment #11 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:2d4c3af94f84c874cfddc753dc0f34ebf7fc11d9 commit r12-22-g2d4c3af94f84c874cfddc753dc0f34ebf7fc11d9 Author: Jakub Jelinek Date: We

[Bug libstdc++/100164] [11/12 Regression] semaphore_impl not declared on AIX

2021-04-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100164 Richard Biener changed: What|Removed |Added Summary|[11 Regression] |[11/12 Regression] |