Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 923948 - 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
Summary: dev-debug/gdb-14.1-r1 fails to compile: rlibtool: error: <compiler> is missin...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: slibtool
  Show dependency tree
 
Reported: 2024-02-06 16:19 UTC by Agostino Sarubbo
Modified: 2024-04-11 01:28 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log.xz (build.log.xz,50.55 KB, application/x-xz)
2024-02-06 16:19 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-02-06 16:19:08 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-debug/gdb-14.1-r1 fails to compile.
Discovered on: amd64 (internal ref: slibtool_tinderbox)
System: SLIBTOOL-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#SLIBTOOL)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Comment 1 Agostino Sarubbo gentoo-dev 2024-02-06 16:19:10 UTC
Created attachment 884423 [details]
build.log.xz

build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Comment 2 Agostino Sarubbo gentoo-dev 2024-02-06 16:19:11 UTC
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.
Comment 3 orbea 2024-02-13 15:01:13 UTC

*** This bug has been marked as a duplicate of bug 792969 ***
Comment 4 orbea 2024-02-16 07:15:22 UTC
This is because of a hard coded './libtool' in gdb/acinclude.m4 in their GDB_AC_CHECK_BFD function.
Comment 5 orbea 2024-04-07 18:37:21 UTC
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?