Re: [PATCH v2] gdb: use gdb::unordered_{set,map} at a few places
Simon Marchi <[email protected]>
| Newsgroups | gmane.comp.gdb.patches |
|---|---|
| Message-ID | <[email protected]> |
On 7/27/26 12:21 PM, Daniel Fellows wrote: > Hi Simon, > > Would you be willing to backport the solib-svr4.c change from this patch > to gdb-17-branch? > > We encountered the following build failure on both Intel and Arm macOS > hosts after moving to GDB 17: > > gdb/solib-svr4.c:3769:3: error: > no template named 'unordered_map' in namespace 'std'; > did you mean 'gdb::unordered_map'? > > I tested changing this instance to gdb::unordered_map, and it fixes the > affected macOS builds. > > The complete commit touches several unrelated files, has conflicts with > gdb-17-branch, and part of it was later reverted for x86-nat.c. Only the > solib-svr4.c change appears to be required here. > > Would you be able to prepare that backport, or advise whether another > approach would be preferred? > > Thanks, > Daniel Hi Daniel, Please note that there won't be any more releases from the gdb-17-branch, but we can still push commits if that helps downstream packagers like you. For the stable branch, a more minimal fix could be to just include <unordered_map> in the file. Does that fix the build failure? On another topic, does the gdb-18-branch look good to you? Simon