unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#48216: [CORE-UPDATES] host-inputs for wrong architecture when building for i686 on x86_64
@ 2021-05-04  8:25 Efraim Flashner
  2021-07-05 10:12 ` Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Efraim Flashner @ 2021-05-04  8:25 UTC (permalink / raw)
  To: 48216


[-- Attachment #1.1: Type: text/plain, Size: 1550 bytes --]

I'm trying to see if the rust bootstrap process works on core-updates
and I was unable to build for i686-linux on x86_64 linux. I failed to
build xz, due to some assembly optimizations. It turns out that instead
of 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 the
PATH 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 build
listed x86_64 binaries.

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

[-- Attachment #1.2: 63r37flw2gv4cbna7jb69b4n8c41n6-xz-5.2.5.drv.bz2 --]
[-- Type: application/octet-stream, Size: 10391 bytes --]

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#48216: [CORE-UPDATES] host-inputs for wrong architecture when building for i686 on x86_64
  2021-05-04  8:25 bug#48216: [CORE-UPDATES] host-inputs for wrong architecture when building for i686 on x86_64 Efraim Flashner
@ 2021-07-05 10:12 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2021-07-05 10:12 UTC (permalink / raw)
  To: 48216-done

Hello!

Efraim Flashner <efraim@flashner.co.il> skribis:

> I'm trying to see if the rust bootstrap process works on core-updates
> and I was unable to build for i686-linux on x86_64 linux. I failed to
> build xz, due to some assembly optimizations. It turns out that instead
> of using i686 binaries it was using x86_64 binaries and targeting i686,
> while passing flags saying it was i686.

That’s embarrassing.  I think this was fixed by
98c075c24e26798ef52ab66641faa7b0aa87726b.

Let me know if anything’s amiss!

Ludo’.




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-07-05 10:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-04  8:25 bug#48216: [CORE-UPDATES] host-inputs for wrong architecture when building for i686 on x86_64 Efraim Flashner
2021-07-05 10:12 ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).