public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug build/31918] New: Error: no template named 'unordered_map' when compiling on FreeBSD 13.2
@ 2024-06-21 14:49 martin at lispworks dot com
  2024-06-22 20:02 ` [Bug build/31918] " tromey at sourceware dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: martin at lispworks dot com @ 2024-06-21 14:49 UTC (permalink / raw)
  To: gdb-prs

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

            Bug ID: 31918
           Summary: Error: no template named 'unordered_map' when
                    compiling on FreeBSD 13.2
           Product: gdb
           Version: HEAD
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: build
          Assignee: unassigned at sourceware dot org
          Reporter: martin at lispworks dot com
  Target Milestone: ---

Created attachment 15590
  --> https://sourceware.org/bugzilla/attachment.cgi?id=15590&action=edit
Patch to include unordered_map header

Compiling on FreeBSD 13.2 with the default clang version 14.0.5 and top level
configure options --with-python=/usr/local/bin/python3.9 gives this error:

  CXX    ada-exp.o
../../binutils-gdb/gdb/ada-exp.y:100:8: error: no template named
'unordered_map' in namespace 'std'
  std::unordered_map<std::string, std::vector<ada_index_var_operation *>>
  ~~~~~^
1 error generated.

The attached patch fixes it.

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

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

* [Bug build/31918] Error: no template named 'unordered_map' when compiling on FreeBSD 13.2
  2024-06-21 14:49 [Bug build/31918] New: Error: no template named 'unordered_map' when compiling on FreeBSD 13.2 martin at lispworks dot com
@ 2024-06-22 20:02 ` tromey at sourceware dot org
  2024-06-24 12:23 ` cvs-commit at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: tromey at sourceware dot org @ 2024-06-22 20:02 UTC (permalink / raw)
  To: gdb-prs

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

Tom Tromey <tromey at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tromey at sourceware dot org

--- Comment #1 from Tom Tromey <tromey at sourceware dot org> ---
Can you send it (git send-email) to gdb-patches?
We don't normally review patches in bugzilla.
https://sourceware.org/gdb/wiki/ContributionChecklist

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

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

* [Bug build/31918] Error: no template named 'unordered_map' when compiling on FreeBSD 13.2
  2024-06-21 14:49 [Bug build/31918] New: Error: no template named 'unordered_map' when compiling on FreeBSD 13.2 martin at lispworks dot com
  2024-06-22 20:02 ` [Bug build/31918] " tromey at sourceware dot org
@ 2024-06-24 12:23 ` cvs-commit at gcc dot gnu.org
  2024-06-24 12:26 ` cvs-commit at gcc dot gnu.org
  2024-06-24 12:26 ` tromey at sourceware dot org
  3 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2024-06-24 12:23 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #2 from Sourceware Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Tom Tromey <tromey@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=c702f1ad8a6a51b9c74445c77e1f6e822ba9293b

commit c702f1ad8a6a51b9c74445c77e1f6e822ba9293b
Author: Martin Simmons <martin@lispworks.com>
Date:   Mon Jun 24 12:34:59 2024 +0100

    Include needed unordered_map header

    Compiling on FreeBSD 13.2 with the default clang version 14.0.5 and top
level
    configure options --with-python=/usr/local/bin/python3.9 gives this error:

      CXX    ada-exp.o
    ./../binutils-gdb/gdb/ada-exp.y:100:8: error: no template named
'unordered_map' in namespace 'std'
      std::unordered_map<std::string, std::vector<ada_index_var_operation *>>
      ~~~~~^
    1 error generated.

    This change fixes it.

    Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=31918
    Approved-By: Tom Tromey <tom@tromey.com>

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

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

* [Bug build/31918] Error: no template named 'unordered_map' when compiling on FreeBSD 13.2
  2024-06-21 14:49 [Bug build/31918] New: Error: no template named 'unordered_map' when compiling on FreeBSD 13.2 martin at lispworks dot com
  2024-06-22 20:02 ` [Bug build/31918] " tromey at sourceware dot org
  2024-06-24 12:23 ` cvs-commit at gcc dot gnu.org
@ 2024-06-24 12:26 ` cvs-commit at gcc dot gnu.org
  2024-06-24 12:26 ` tromey at sourceware dot org
  3 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2024-06-24 12:26 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #3 from Sourceware Commits <cvs-commit at gcc dot gnu.org> ---
The gdb-15-branch branch has been updated by Tom Tromey
<tromey@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=72429c2a17a7c2f27006d5bee8404e8d73923878

commit 72429c2a17a7c2f27006d5bee8404e8d73923878
Author: Martin Simmons <martin@lispworks.com>
Date:   Mon Jun 24 12:34:59 2024 +0100

    Include needed unordered_map header

    Compiling on FreeBSD 13.2 with the default clang version 14.0.5 and top
level
    configure options --with-python=/usr/local/bin/python3.9 gives this error:

      CXX    ada-exp.o
    ./../binutils-gdb/gdb/ada-exp.y:100:8: error: no template named
'unordered_map' in namespace 'std'
      std::unordered_map<std::string, std::vector<ada_index_var_operation *>>
      ~~~~~^
    1 error generated.

    This change fixes it.

    Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=31918
    Approved-By: Tom Tromey <tom@tromey.com>
    (cherry picked from commit c702f1ad8a6a51b9c74445c77e1f6e822ba9293b)

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

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

* [Bug build/31918] Error: no template named 'unordered_map' when compiling on FreeBSD 13.2
  2024-06-21 14:49 [Bug build/31918] New: Error: no template named 'unordered_map' when compiling on FreeBSD 13.2 martin at lispworks dot com
                   ` (2 preceding siblings ...)
  2024-06-24 12:26 ` cvs-commit at gcc dot gnu.org
@ 2024-06-24 12:26 ` tromey at sourceware dot org
  3 siblings, 0 replies; 5+ messages in thread
From: tromey at sourceware dot org @ 2024-06-24 12:26 UTC (permalink / raw)
  To: gdb-prs

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

Tom Tromey <tromey at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|UNCONFIRMED                 |RESOLVED
   Target Milestone|---                         |15.1

--- Comment #4 from Tom Tromey <tromey at sourceware dot org> ---
Thank you for the fix.

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

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

end of thread, other threads:[~2024-06-24 12:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-21 14:49 [Bug build/31918] New: Error: no template named 'unordered_map' when compiling on FreeBSD 13.2 martin at lispworks dot com
2024-06-22 20:02 ` [Bug build/31918] " tromey at sourceware dot org
2024-06-24 12:23 ` cvs-commit at gcc dot gnu.org
2024-06-24 12:26 ` cvs-commit at gcc dot gnu.org
2024-06-24 12:26 ` tromey at sourceware dot org

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