Summary: | Some packages are incorrectly calling the wrong linker in ./configure | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Raul Rangel <rrangel> |
Component: | Current packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | CC: | joakim.tjernlund |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Raul Rangel
2023-12-13 00:01:44 UTC
FWIW, an autoconf release is imminent next week, so if you can reproduce this with a vanilla configure.ac w/ latest ac, please do report it as a bug there upstream ASAP (now!). Thanks for that info. I can try to repro tomorrow. Ah, so I think it's coming from the libtool macro: ``` rrangel920 /var/tmp/portage/dev-util/re2c-2.2-r1/work/re2c-2.2 # grep -A5 -B 2 -R "ancient GNU ld" ./m4/libtool.m4 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic' # ancient GNU ld didn't support --whole-archive et. al. if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then _LT_TAGVAR(whole_archive_flag_spec, $1)=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' else _LT_TAGVAR(whole_archive_flag_spec, $1)= fi -- wlarc='$wl' # ancient GNU ld didn't support --whole-archive et. al. if eval "`$CC -print-prog-name=ld` --help 2>&1" | $GREP 'no-whole-archive' > /dev/null; then _LT_TAGVAR(whole_archive_flag_spec, $1)=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' else _LT_TAGVAR(whole_archive_flag_spec, $1)= ``` Pushed a patch to libtool upstream: https://savannah.gnu.org/support/index.php?110978 i merged it upstream. let's see if we can get a libtool 2.4.8 this month w/it. (In reply to SpanKY from comment #5) > i merged it upstream. let's see if we can get a libtool 2.4.8 this month > w/it. Nice to see upstream alive again, will you merge more old patches like the ones in eltpatches/debian/openembedded etc.? (In reply to Joakim Tjernlund from comment #6) If you check the repo and mailing list, you'd see that's already being done (thanks mike) |