Summary: | dev-debug/gdb-14.1-r1 fails to compile: rlibtool: error: <compiler> is missing - linux-tdep.c:(.text+0x234c): undefined reference to gcore_elf_build_thread_register_notes(gdbarch, thread_info, gdb_signal, bfd, std::unique_ptr<char, gdb::xfree_deleter<cha | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | CONFIRMED --- | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://bugs.gentoo.org/show_bug.cgi?id=792969 https://sourceware.org/bugzilla/show_bug.cgi?id=31392 https://sourceware.org/bugzilla/show_bug.cgi?id=30295 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 765709 | ||
Attachments: | build.log.xz |
Description
Agostino Sarubbo
2024-02-06 16:19:08 UTC
Created attachment 884423 [details]
build.log.xz
build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Error(s) that match a know pattern in addition to what has been reported in the summary: *** This configuration is not supported in the following subdirectories: linux-tdep.c:(.text+0x234c): undefined reference to `gcore_elf_build_thread_register_notes(gdbarch*, thread_info*, gdb_signal, bfd*, std::unique_ptr<char, gdb::xfree_deleter<char> >*, int*)' linux-tdep.c:(.text+0x3ba4): undefined reference to `gcore_elf_make_tdesc_note(gdbarch*, bfd*, std::unique_ptr<char, gdb::xfree_deleter<char> >*, int*)' rlibtool: error: <compiler> is missing. *** This bug has been marked as a duplicate of bug 792969 *** This is because of a hard coded './libtool' in gdb/acinclude.m4 in their GDB_AC_CHECK_BFD function. With slibtool-9999 this can be fixed by regenerating the autotools build with eautoreconf using slibtoolize. By setting this in make.conf: AT_M4DIR='/usr/share/slibtool' LIBTOOLIZE='slibtoolize' And applying this patch for elt-patches: https://github.com/gentoo/elt-patches/pull/1 However I am not sure the best way to get eautoreconf to work in the ebuild? |