public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
From: "parkej88 at gmail dot com" <sourceware-bugzilla@sourceware.org>
To: gdb-prs@sourceware.org
Subject: [Bug build/27123] New: Build fails for AIX 6.`
Date: Mon, 28 Dec 2020 17:53:13 +0000	[thread overview]
Message-ID: <bug-27123-4717@http.sourceware.org/bugzilla/> (raw)

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.

             reply	other threads:[~2020-12-28 17:53 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-28 17:53 parkej88 at gmail dot com [this message]
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

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=bug-27123-4717@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=gdb-prs@sourceware.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: link
Be 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).