Paul Wise
2012-10-08 12:46:57 UTC
Hi all,
So, Debian is in the process of bringing up our upcoming arm64 port.
Unfortunately we are also coming across lots of packages with rather
outdated config.guess and config.sub files (see links below). We could
patch every single package that contains config.guess and config.sub but
that would be a lot of effort that doesn't scale. We could also patch
our build tools but the problem would still exist for other distros.
I would like to get rid of this issue once and for all by making the
update process for config.guess and config.sub once per machine or once
per package instead of once per package.
My initial approach in 2009 was to patch config.guess and config.sub to
look for newer versions of themselves but the maintainer of these files
wasn't happy with that approach.
I recently re-contacted him about this issue and was suggested to patch
autoconf. The approach I have taken is to make autoconf-produced
configure scripts use the package-local config.guess/config.sub by
default and if that fails then find the newest config.guess/config.sub
in a number of paths on the system and use it. I am not very familiar
with autoconf internals, m4 or the intricacies of ancient shells, so I
would very much appreciate a review of both the approach and my initial
attempt at implementing this, please see the attached patch.
If anyone knows where config.guess and config.sub are installed on
common platforms like the various Linux or BSD distributions, please let
me know those locations. I have only the paths for Debian and Gentoo.
http://wookware.org/files/aarch64faillog
http://bugs.debian.org/689607
http://bugs.debian.org/689610
http://bugs.debian.org/689611
http://bugs.debian.org/689612
http://bugs.debian.org/689613
http://bugs.debian.org/689614
http://bugs.debian.org/689615
http://bugs.debian.org/689617
http://bugs.debian.org/689618
http://bugs.debian.org/689619
http://bugs.debian.org/689620
http://bugs.debian.org/689621
So, Debian is in the process of bringing up our upcoming arm64 port.
Unfortunately we are also coming across lots of packages with rather
outdated config.guess and config.sub files (see links below). We could
patch every single package that contains config.guess and config.sub but
that would be a lot of effort that doesn't scale. We could also patch
our build tools but the problem would still exist for other distros.
I would like to get rid of this issue once and for all by making the
update process for config.guess and config.sub once per machine or once
per package instead of once per package.
My initial approach in 2009 was to patch config.guess and config.sub to
look for newer versions of themselves but the maintainer of these files
wasn't happy with that approach.
I recently re-contacted him about this issue and was suggested to patch
autoconf. The approach I have taken is to make autoconf-produced
configure scripts use the package-local config.guess/config.sub by
default and if that fails then find the newest config.guess/config.sub
in a number of paths on the system and use it. I am not very familiar
with autoconf internals, m4 or the intricacies of ancient shells, so I
would very much appreciate a review of both the approach and my initial
attempt at implementing this, please see the attached patch.
If anyone knows where config.guess and config.sub are installed on
common platforms like the various Linux or BSD distributions, please let
me know those locations. I have only the paths for Debian and Gentoo.
http://wookware.org/files/aarch64faillog
http://bugs.debian.org/689607
http://bugs.debian.org/689610
http://bugs.debian.org/689611
http://bugs.debian.org/689612
http://bugs.debian.org/689613
http://bugs.debian.org/689614
http://bugs.debian.org/689615
http://bugs.debian.org/689617
http://bugs.debian.org/689618
http://bugs.debian.org/689619
http://bugs.debian.org/689620
http://bugs.debian.org/689621
--
bye,
pabs
http://bonedaddy.net/pabs3/
bye,
pabs
http://bonedaddy.net/pabs3/