Subject: bug#48088: libtool hardcodes native (cross-)compiler, incorrect when using libtool as cross-compiler

From: Ludovic Courtès <[email-masked]>
Date: Thu, 29 Apr 2021 13:52:34 +0200

Hi Maxime,

Maxime Devos <[email-masked]> skribis:

> $ cat $(guix build libtool)/bin/libtool
> Some relevant output:

[...]

> However, during linking, (at least during the compilation of libtomsmath IIRC),
> libtool uses LTCC instead.  Thus, when a package X has libtool in native-inputs,

The ‘libtool’ script provided by the ‘libtool’ package is usually
unused.  The modus operandi for Libtool is that packages generate their
own ‘libtool’ script at configure time, tailored for the given
configuration options, based on a template installed by ‘libtoolize’
(itself invoked by ‘autoreconf’).

Perhaps the ‘libtomsmath’ package is doing something unusual?

HTH,
Ludo’.