public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug build/27123] New: Build fails for AIX 6.`
@ 2020-12-28 17:53 parkej88 at gmail dot com
  2020-12-28 17:55 ` [Bug build/27123] Build fails for AIX 6.1 parkej88 at gmail dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: parkej88 at gmail dot com @ 2020-12-28 17:53 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=27123

            Bug ID: 27123
           Summary: Build fails for AIX 6.`
           Product: gdb
           Version: 10.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: build
          Assignee: unassigned at sourceware dot org
          Reporter: parkej88 at gmail dot com
  Target Milestone: ---

Created attachment 13082
  --> https://sourceware.org/bugzilla/attachment.cgi?id=13082&action=edit
config.log in directory ../gdbsupport

When attempting build on AIX 6.1, ../gdbsupport/thread-pool.cc fails to compile
with messages such as:

In file included from thread-pool.cc:24:
../gdbsupport/thread-pool.h:84:8: error: 'condition_variable' in namespace
'std' does not name a type
   84 |   std::condition_variable m_tasks_cv;
      |        ^~~~~~~~~~~~~~~~~~
../gdbsupport/thread-pool.h:31:1: note: 'std::condition_variable' is defined in
header '<condition_variable>'; did you forget to '#include
<condition_variable>'?
   30 | #include "gdbsupport/gdb_optional.h"
  +++ |+#include <condition_variable>
   31 |
../gdbsupport/thread-pool.h:85:8: error: 'mutex' in namespace 'std' does not
name a type
   85 |   std::mutex m_tasks_mutex;
      |        ^~~~~
There are includes in thread-pool.h for:

#include <thread>
#include <vector>
#include <functional>
#include <mutex>
#include <condition_variable>
#include <future>

Yet these are reported as not being included by gcc.

Building with:
gcc version 10.2.0 (GCC)

Configure:
./configure

Appreciate any help.

Thanks,

John

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-08-07 12:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-28 17:53 [Bug build/27123] New: Build fails for AIX 6.` parkej88 at gmail dot com
2020-12-28 17:55 ` [Bug build/27123] Build fails for AIX 6.1 parkej88 at gmail dot com
2022-02-27 23:17 ` tromey at sourceware dot org
2022-02-27 23:17 ` tromey at sourceware dot org
2022-08-05 21:44 ` kadler at us dot ibm.com
2022-08-07 12:05 ` parkej88 at gmail dot com

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).