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.
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.
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.
A year without a reply.