Hi Alastair,

On Sat, Nov 02, 2024 at 05:29:18AM +0000, Alastair McKinstry wrote:
> Have you tested whether the cross-built libtool then works on the target
> archs?

libtool is part of architecture cross bootstrap since a very long time.
Since about 10 years, it is being cross build (with hacks) in
https://wiki.debian.org/HelmutGrohne/rebootstrap. This patch is a step
towards removing those hacks, so yes, this has been tested for a quite
long time.

> I was not aware of gfortran-for-host. I would like to explore this more
> fully for dh-fortran-mod, but I will continue that in another thread.

This is kinda expected. The whole *-for-host thing is quite recent in
Debian timelines. The concept was first used by qt5-qmake (without the
-for-host naming), later transferred to binutils, eventually reached
pkgconf (without -for-host) and just this year reached gcc-VER and
gcc-defaults.

Please don't change dh-fortran-mod just yet. I also want to see it
there, but we need to be more careful there as it is not as isolated as
in libtool. Just days ago I started a discussion
(https://lists.debian.org/debian-cross/2024/11/msg00000.html) where I
explored cross building fftw3 and quickly ended up at dh-fortran-mod and
a non-trivial problem. I would very much welcome your input there. The
underlying problem is of general nature and Fortran just happens to be
affected earlier than others. Can you tell me what list I should have
Cced for that discussion to reach you?

Helmut

Reply via email to