[CORE-UPDATES] host-inputs for wrong architecture when building for i686 on x86_64

OpenSubmitted by Efraim Flashner.
Details
One participant
  • Efraim Flashner
Owner
unassigned
Severity
normal
E
E
Efraim Flashner wrote on 4 May 10:25 +0200
(address . bug-guix@gnu.org)
YJEE/DkjLbgqlOB5@3900XT
I'm trying to see if the rust bootstrap process works on core-updatesand I was unable to build for i686-linux on x86_64 linux. I failed tobuild xz, due to some assembly optimizations. It turns out that insteadof using i686 binaries it was using x86_64 binaries and targeting i686,while passing flags saying it was i686.
It seems there are some other things which need another look. From thePATH variable:(ins)efraim@3900XT ~/workspace/guix-core-updates$ file /gnu/store/yf4y60dyvb5qca8ram5pvxp7ba7x0z2a-xz-5.2.5/bin/xz/gnu/store/yf4y60dyvb5qca8ram5pvxp7ba7x0z2a-xz-5.2.5/bin/xz: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /gnu/store/xd4jlar0rjsvc921b32kn40vn01638hc-glibc-2.33/lib/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, stripped(ins)efraim@3900XT ~/workspace/guix-core-updates$ file /gnu/store/1g3vhzaw78fi04q630swrz4s9yn4wsj2-grep-3.6/bin:/gnu/store/vrdmi9lnd663np8y5hcpxvgkl35v5sby-coreutils-8.32/gnu/store/1g3vhzaw78fi04q630swrz4s9yn4wsj2-grep-3.6/bin:/gnu/store/vrdmi9lnd663np8y5hcpxvgkl35v5sby-coreutils-8.32: cannot open `/gnu/store/1g3vhzaw78fi04q630swrz4s9yn4wsj2-grep-3.6/bin:/gnu/store/vrdmi9lnd663np8y5hcpxvgkl35v5sby-coreutils-8.32' (No such file or directory)
The ones listed in the environmental file at the base of the buildlisted x86_64 binaries.
-- Efraim Flashner <efraim@flashner.co.il> אפרים פלשנרGPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351Confidentiality cannot be guaranteed on emails sent or received unencrypted
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmCRBPkACgkQQarn3Mo9g1GIRw/7BoAzNdU+OwziDRp0wA1vAj8xe5GyOhhhlqsnytD81rtF6M7jqmo9dCRCrI55P0JKP3hwzrvrwIh7aTJhXV2PeQXC1zSShZzlvTbEZ+caxnQ3SCPoJQL/9Jx4hORe8OLCOBrbIyh9nbut7aapj1uj5UHw8Z9LH0g7UJpc7jMsTIO7TLFhA9nYYiWC0s7IK3atKtChlaD1Sk2IE6273WZkDU1bgrKiHAUIgfxa80HUmT2vaYBFQJzFnshMXzruY56w3Lxv93MLcJuZaQ5LrBhavY2b3gcj4h/227B7L3hbzhroQJ/NNBu2IZap27IPv/m6iDxgjH3tHEZqGB6hlGsGQplModoGaJoJvIM9eot7J77hSK2YuXvXzIDpXssIe3PmOhyudiXjibL0Hcg7fSFrkvtEE5ckJ6Tg3QVU/XTjz/Olh77M0/Gz6tocXY5ZGodK0M+9Ps5yPmVLPGJVnYgVG/63sVVgao7dcO5HQ8/5/RQColLtQAjsTdbRIwLCRTChcE58hnfaE0lbq3VzvUXq+zWg9qwdmSE8TgfkPUrh9Zaa9KX1WDs+D4BB+5GQaDsnmKpB506j1f69g1qBJjEzvO3LMc/RliBa9TxUHHtNYdsJBYATr7qygxrjrn33iKyr5WsXl+bpH7VB+CvBGLZFPyqUHfEEGybqyOmkp836I5Y==wwBz-----END PGP SIGNATURE-----

?