public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/27110] New: gdb 10.1 fails to build on 32-bit Ubuntu Xenial
@ 2020-12-24  0:03 mephi42 at gmail dot com
  2020-12-24  0:45 ` [Bug gdb/27110] " mephi42 at gmail dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: mephi42 at gmail dot com @ 2020-12-24  0:03 UTC (permalink / raw)
  To: gdb-prs

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

            Bug ID: 27110
           Summary: gdb 10.1 fails to build on 32-bit Ubuntu Xenial
           Product: gdb
           Version: 10.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: gdb
          Assignee: unassigned at sourceware dot org
          Reporter: mephi42 at gmail dot com
  Target Milestone: ---

I'm just doing configure + make.  The following errors occur:


1)
In file included from ./../gdbsupport/gdb_string_view.h:49:0,
                 from ./../gdbsupport/common-utils.h:46,
                 from ./../gdbsupport/common-defs.h:125,
                 from ../gdb/nat/amd64-linux-siginfo.c:21:
./../gdbsupport/gdb_assert.h:27:33: error: static assertion failed: 
 #define gdb_static_assert(expr) static_assert (expr, "")


2)
linux-amd64-ipa.cc: In function 'const target_desc* get_ipa_tdesc(int)':
linux-amd64-ipa.cc:210:60: error: 'amd64_linux_read_description' was not
declared in this scope
   return amd64_linux_read_description (idx2mask[idx], false);


3)
amd64-linux-nat.c:71:3: error: 'RAX' was not declared in this scope
   RAX * 8, RCX * 8,  /* %eax, %ecx */


4)
In file included from amd64-linux-nat.c:26:0:
amd64-linux-nat.c: In function 'ps_err_e ps_get_thread_area(ps_prochandle*,
lwpid_t, int, void**)':
amd64-linux-nat.c:367:42: error: 'struct user_regs_struct' has no member named
'fs_base'
       offsetof (struct user_regs_struct, fs_base), 0);


Configuring with --target=i686-linux-gnu resolves this issue.

-- 
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 gdb/27110] gdb 10.1 fails to build on 32-bit Ubuntu Xenial
  2020-12-24  0:03 [Bug gdb/27110] New: gdb 10.1 fails to build on 32-bit Ubuntu Xenial mephi42 at gmail dot com
@ 2020-12-24  0:45 ` mephi42 at gmail dot com
  2022-04-08  0:06 ` [Bug build/27110] " tromey at sourceware dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: mephi42 at gmail dot com @ 2020-12-24  0:45 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #1 from mephi42 at gmail dot com ---
A few more things:

1) This is 32-bit Ubuntu Xenial running in Docker on x86_64 kernel.
2) uname -m says x86_64.
3) --host=i686-linux-gnu helps as well.

-- 
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/27110] gdb 10.1 fails to build on 32-bit Ubuntu Xenial
  2020-12-24  0:03 [Bug gdb/27110] New: gdb 10.1 fails to build on 32-bit Ubuntu Xenial mephi42 at gmail dot com
  2020-12-24  0:45 ` [Bug gdb/27110] " mephi42 at gmail dot com
@ 2022-04-08  0:06 ` tromey at sourceware dot org
  2022-04-15 13:41 ` tromey at sourceware dot org
  2023-08-28 13:57 ` tromey at sourceware dot org
  3 siblings, 0 replies; 5+ messages in thread
From: tromey at sourceware dot org @ 2022-04-08  0:06 UTC (permalink / raw)
  To: gdb-prs

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

Tom Tromey <tromey at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|gdb                         |build
                 CC|                            |tromey at sourceware dot org

--- Comment #2 from Tom Tromey <tromey at sourceware dot org> ---
Is this still an issue?
I'm surprised it doesn't build here, my first inclination
is to say something's weird in the setup.
Or maybe config.guess is guessing wrong for some reason.

-- 
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/27110] gdb 10.1 fails to build on 32-bit Ubuntu Xenial
  2020-12-24  0:03 [Bug gdb/27110] New: gdb 10.1 fails to build on 32-bit Ubuntu Xenial mephi42 at gmail dot com
  2020-12-24  0:45 ` [Bug gdb/27110] " mephi42 at gmail dot com
  2022-04-08  0:06 ` [Bug build/27110] " tromey at sourceware dot org
@ 2022-04-15 13:41 ` tromey at sourceware dot org
  2023-08-28 13:57 ` tromey at sourceware dot org
  3 siblings, 0 replies; 5+ messages in thread
From: tromey at sourceware dot org @ 2022-04-15 13:41 UTC (permalink / raw)
  To: gdb-prs

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

Tom Tromey <tromey at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2022-04-15

-- 
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/27110] gdb 10.1 fails to build on 32-bit Ubuntu Xenial
  2020-12-24  0:03 [Bug gdb/27110] New: gdb 10.1 fails to build on 32-bit Ubuntu Xenial mephi42 at gmail dot com
                   ` (2 preceding siblings ...)
  2022-04-15 13:41 ` tromey at sourceware dot org
@ 2023-08-28 13:57 ` tromey at sourceware dot org
  3 siblings, 0 replies; 5+ messages in thread
From: tromey at sourceware dot org @ 2023-08-28 13:57 UTC (permalink / raw)
  To: gdb-prs

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

Tom Tromey <tromey at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|---                         |WORKSFORME

--- Comment #3 from Tom Tromey <tromey at sourceware dot org> ---
A year without a reply.

-- 
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:[~2023-08-28 13:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-24  0:03 [Bug gdb/27110] New: gdb 10.1 fails to build on 32-bit Ubuntu Xenial mephi42 at gmail dot com
2020-12-24  0:45 ` [Bug gdb/27110] " mephi42 at gmail dot com
2022-04-08  0:06 ` [Bug build/27110] " tromey at sourceware dot org
2022-04-15 13:41 ` tromey at sourceware dot org
2023-08-28 13:57 ` 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).