public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug build/28555] New: uclibc compile failure since commit 4655f8509fd44e6efabefa373650d9982ff37fd6
@ 2021-11-06 12:20 ps.report at gmx dot net
  2021-11-08 17:15 ` [Bug build/28555] " simark at simark dot ca
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: ps.report at gmx dot net @ 2021-11-06 12:20 UTC (permalink / raw)
  To: gdb-prs

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

            Bug ID: 28555
           Summary: uclibc compile failure since commit
                    4655f8509fd44e6efabefa373650d9982ff37fd6
           Product: gdb
           Version: 11.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: build
          Assignee: unassigned at sourceware dot org
          Reporter: ps.report at gmx dot net
  Target Milestone: ---

The buildroot cross-compile of gdb with uclibc fails for 11.1 since commit
4655f8509fd44e6efabefa373650d9982ff37fd6 ([1]), see [2] for details:

      ../../gdbserver/../gdb/nat/linux-personality.c: In constructor
‘maybe_disable_address_space_randomization::maybe_disable_address_space_randomization(int)’:
      ../../gdbserver/../gdb/nat/linux-personality.c:36:48: error:
‘ADDR_NO_RANDOMIZE’ was not declared in this scope
         36 |       if (errno == 0 && !(m_personality_orig &
ADDR_NO_RANDOMIZE))
            |                                                ^~~~~~~~~~~~~~~~~
      ../../gdbserver/../gdb/nat/linux-personality.c:42:37: error:
‘ADDR_NO_RANDOMIZE’ was not declared in this scope
         42 |     && !(personality (0xffffffff) & ADDR_NO_RANDOMIZE)))
            |                                     ^~~~~~~~~~~~~~~~~


>From the commit changelog:

    [...]
    If for some odd reason, some remotely modern system still needs a
    configure check, then we can revert this commit but drop the
    AC_RUN_IFELSE in favor of always doing the AC_LINK_IFELSE
    cross-compile fallback.
    [...]

[1]
https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=4655f8509fd44e6efabefa373650d9982ff37fd6

[2] http://lists.busybox.net/pipermail/buildroot/2021-November/627651.html

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

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

end of thread, other threads:[~2021-11-09 21:26 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-06 12:20 [Bug build/28555] New: uclibc compile failure since commit 4655f8509fd44e6efabefa373650d9982ff37fd6 ps.report at gmx dot net
2021-11-08 17:15 ` [Bug build/28555] " simark at simark dot ca
2021-11-08 17:15 ` simark at simark dot ca
2021-11-08 18:00 ` pedro at palves dot net
2021-11-08 19:16 ` simark at simark dot ca
2021-11-08 19:42 ` tromey at sourceware dot org
2021-11-08 20:42 ` simark at simark dot ca
2021-11-08 21:29 ` tromey at sourceware dot org
2021-11-09 15:29 ` cvs-commit at gcc dot gnu.org
2021-11-09 15:30 ` tromey at sourceware dot org
2021-11-09 18:01 ` ps.report at gmx dot net
2021-11-09 21:26 ` cvs-commit at gcc dot gnu.org
2021-11-09 21: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).