GNU bug report logs - #33711
configure --host=aarch64 produces x86-64 binary

Previous Next

Package: autoconf;

Reported by: Erik van Velzen <erik <at> evanv.nl>

Date: Tue, 11 Dec 2018 21:12:01 UTC

Owned by: bug-autoconf <at> gnu.org

Severity: normal

Full log


View this message in rfc822 format

From: Erik van Velzen <erik <at> evanv.nl>
To: 33711 <at> debbugs.gnu.org
Subject: bug#33711: configure --host=aarch64 produces x86-64 binary
Date: Tue, 11 Dec 2018 22:07:00 +0100
I compiled https://github.com/json-c/json-c using the command `sh
autogen.sh && ./configure --host=aarch64 && make`. Unexpectedly this
creates an x64 binary.

The correct argument in my case is --host=aarch64-linux-gnu

I think this should be an error. Currently, there is only the output
"checking for aarch64-gcc... no" but this does not abort. So the error
is postponed until the binary is actually used.

If I give --host=gibberish I do get an error as expected:

"checking host system type... Invalid configuration `gibberish':
machine `gibberish' not recognized"

Thanks for your work GNU people,

Erik van Velzen




This bug report was last modified 3 years and 190 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.