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

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: automake; Reported by: Erik van Velzen <erik@HIDDEN>; dated Tue, 11 Dec 2018 21:12:01 UTC; Maintainer for automake is bug-automake@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 11 Dec 2018 21:11:02 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Dec 11 16:11:02 2018
Received: from localhost ([127.0.0.1]:44246 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gWpJ0-0000Q9-1P
	for submit <at> debbugs.gnu.org; Tue, 11 Dec 2018 16:11:02 -0500
Received: from eggs.gnu.org ([208.118.235.92]:33947)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <erik@HIDDEN>) id 1gWpGl-0000IO-3v
 for submit <at> debbugs.gnu.org; Tue, 11 Dec 2018 16:08:43 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <erik@HIDDEN>) id 1gWpGe-0004VO-5U
 for submit <at> debbugs.gnu.org; Tue, 11 Dec 2018 16:08:38 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled
 version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:49983)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <erik@HIDDEN>) id 1gWpGc-0004Up-4H
 for submit <at> debbugs.gnu.org; Tue, 11 Dec 2018 16:08:34 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:43490)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <erik@HIDDEN>) id 1gWpGZ-0003mK-VT
 for bug-automake@HIDDEN; Tue, 11 Dec 2018 16:08:33 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <erik@HIDDEN>) id 1gWpGU-0004RJ-MU
 for bug-automake@HIDDEN; Tue, 11 Dec 2018 16:08:28 -0500
Received: from mail-wm1-x332.google.com ([2a00:1450:4864:20::332]:53750)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <erik@HIDDEN>) id 1gWpGT-0004PF-Kz
 for bug-automake@HIDDEN; Tue, 11 Dec 2018 16:08:26 -0500
Received: by mail-wm1-x332.google.com with SMTP id y1so3665219wmi.3
 for <bug-automake@HIDDEN>; Tue, 11 Dec 2018 13:08:21 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=evanv-nl.20150623.gappssmtp.com; s=20150623;
 h=mime-version:from:date:message-id:subject:to;
 bh=4f/koryhQ0WtzrY81mM+K4rKu883ZypzgXYzp5emG/c=;
 b=ARDb1qsyz7FtCcMUgSdmtqvZs1OISoXJym8lgHyGUDe79kRp0BsexCAxbUWmuVUQ33
 A/n8Z3p40aKSPq4Fy5ESP6Ezv8m9ETmXYSKOmUihmjzfBB2r6iDsbsQfCCKO1NCQSpNH
 LZL/bgD3ff/H50i7NFSpVxFiWc+25078ONJjH0R7lzUOHeGeVTSwCdx4wONhw+3qX4dy
 2Ho3JPCBTMnCdsbolo/aXHdagYmfiqPC7mCCrkqISZNuMtShrzHyCXNWoJG+BmhyCAX+
 V104E8ZNrP2z+Di/Q2RClHjyiHVbAQreObr1vnaYU/gqxdN57Mu1e4ysFg2MDVE/gBuP
 Be1A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
 bh=4f/koryhQ0WtzrY81mM+K4rKu883ZypzgXYzp5emG/c=;
 b=gs3wpodxmyJeZs9NgSNBjePoNF2Vaj13kKwyD7U4gjYlODm7XXKYfpE1axEY2UTbSd
 WFgNeoQmue1elDB4I/TV9eWaUWP9jvur5KpPAY3KS8X6xcvZOknxYrBdu/j0fc9OR8D1
 QN6EVtbCuIjHLNVQwQS7EA332tUsT8Uv8Gj4sZkIfv5rTD/G7C77oljlGi17t8bNHtPE
 CwNnRTOg/ZfAoEXDs6YDvc2Nd90vQc8w8q9nBtR549z4nf5vEYlPtdN/k0Q04OC5BwAb
 q2HYXPPElUtD4JuAJu+0NW9KUqq1DPVelobKu+J6mE+fTSP8AEbSeD7tKiITFksDtPaF
 fPlg==
X-Gm-Message-State: AA+aEWZIj8zr/DlxdweoOAUuosZjDFdZYWIx25SvjJurGvSO+3QTCXjK
 yRjXx5YuWBqvx0OCNsDRxVC+q5seveEjXOBBmxGUKbVYWlM=
X-Google-Smtp-Source: AFSGD/XtG5Jm/UtQ7er+O/zD+5YX+JUtEpW7LndknCvXRTYx36DrwYzRKhA7GmU01xM7u3ERVqV5n3jWOmwb1GfOae4=
X-Received: by 2002:a7b:c095:: with SMTP id r21mr3949086wmh.118.1544562499315; 
 Tue, 11 Dec 2018 13:08:19 -0800 (PST)
MIME-Version: 1.0
From: Erik van Velzen <erik@HIDDEN>
Date: Tue, 11 Dec 2018 22:07:00 +0100
Message-ID: <CAFEDrMOZHUY4vrWzHEd6YLS5TzEKrKSCS9AX6wVLFtGj5GSsjg@HIDDEN>
Subject: configure --host=aarch64 produces x86-64 binary
To: bug-automake@HIDDEN
Content-Type: text/plain; charset="UTF-8"
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
 recognized.
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Tue, 11 Dec 2018 16:11:01 -0500
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -6.0 (------)

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




Acknowledgement sent to Erik van Velzen <erik@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-automake@HIDDEN. Full text available.
Report forwarded to bug-automake@HIDDEN:
bug#33711; Package automake. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

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