public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
From: "mephi42 at gmail dot com" <sourceware-bugzilla@sourceware.org>
To: gdb-prs@sourceware.org
Subject: [Bug gdb/27110] New: gdb 10.1 fails to build on 32-bit Ubuntu Xenial
Date: Thu, 24 Dec 2020 00:03:55 +0000	[thread overview]
Message-ID: <bug-27110-4717@http.sourceware.org/bugzilla/> (raw)

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.

             reply	other threads:[~2020-12-24  0:03 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-24  0:03 mephi42 at gmail dot com [this message]
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

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