This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Autoconf 2.64 broken on FreeBSD 10.0
- From: Gerald Pfeifer <gerald at pfeifer dot com>
- To: gcc at gcc dot gnu dot org, Paolo Bonzini <bonzini at gnu dot org>, DJ Delorie <dj at redhat dot com>, Alexandre Oliva <aoliva at redhat dot com>, Ralf Wildenhues <Ralf dot Wildenhues at gmx dot de>
- Date: Tue, 15 Nov 2011 22:37:08 +0100 (CET)
- Subject: Autoconf 2.64 broken on FreeBSD 10.0
GCC fails to build on FreeBSD 10, and debugging this I ran into the
following snippet that's spread all over the place in various ./configure
files:
freebsd* | dragonfly*)
# DragonFly does not have aout. When/if they implement a new
# versioning mechanism, adjust this.
if test -x /usr/bin/objformat; then
objformat=`/usr/bin/objformat`
else
case $host_os in
freebsd[123]*) objformat=aout ;;
*) objformat=elf ;;
esac
fi
FreeBSD 10.0 matches this pattern, and I guess it's from there that
things go downhill.
Sadly this does not come from any of our configure.ac or m4 bits,
but upstream Autoconf 2.64. What can we do here, for trunk and
really also GCC 4.6?
On trunk, wouldn't it be time to switch to a current version of
Autoconf?
Gerald