Subject: bug#47636: building for foreign arches produces native code on core-updates

From: Efraim Flashner <[email-masked]>
Date: Wed, 7 Apr 2021 13:58:20 +0300

$ ./pre-inst-env guix build hello --system=i686-linux
/gnu/store/j8kszh3mgi2f9k3vy8kl5mk0lgsp9qdf-hello-2.10
$ file /gnu/store/j8kszh3mgi2f9k3vy8kl5mk0lgsp9qdf-hello-2.10/bin/hello
/gnu/store/j8kszh3mgi2f9k3vy8kl5mk0lgsp9qdf-hello-2.10/bin/hello: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /gnu/store/z543b5csaras5lhb5d4j3v3dl26i3dxm-glibc-2.32/lib/ld-linux-x86-64.so.2, stripped
$ ./pre-inst-env guix build hello --system=aarch64-linux
/gnu/store/6s01jscrc1p0hb2v0h1csjmichyk9w3l-hello-2.10
$ file /gnu/store/6s01jscrc1p0hb2v0h1csjmichyk9w3l-hello-2.10/bin/hello
/gnu/store/6s01jscrc1p0hb2v0h1csjmichyk9w3l-hello-2.10/bin/hello: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /gnu/store/z543b5csaras5lhb5d4j3v3dl26i3dxm-glibc-2.32/lib/ld-linux-x86-64.so.2, stripped

-- 
Efraim Flashner   <[email-masked]>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted