Subject: [bug#74290] [PATCH v2 14/40] DRAFT gnu: bootstrap: Add support for x86_64-gnu, aka the 64bit Hurd.

From: Ludovic Courtès <[email-masked]>
Date: Wed, 20 Nov 2024 12:50:11 +0100

<[email-masked]> skribis:

> Ludovic Courtès writes:
>
>> Janneke Nieuwenhuizen <[email-masked]> skribis:
>>
>>> +++ b/gnu/packages/bootstrap.scm
>>> @@ -125,6 +125,15 @@ (define %bootstrap-executables
>>>        ,(base32 "0nq2c1zb3wv5bf7kd83sziaashydazrn7xgq6kijlk0zj2syzc2m"))
>>>       ("xz"
>>>        ,(base32 "033rhpk6zrpxpd6ffjyg5y2zwq9x9cnq0zljb7k8jlncbalsayq5")))
>>> +    ("x86_64-gnu"
>>> +     ("bash"
>>> +      ,(base32 "1ib1kk1larki3dm46lhl756856zpjwhhlnzkgdyh9f1yf6wm431y"))
>>> +     ("mkdir"
>>> +      ,(base32 "15cnckq4qj1nlmgqy9vq3qa3kcbfm1pc2z38pscxix11j4aqswsm"))
>>> +     ("tar"
>>> +      ,(base32 "1m8v7ddmn42wym2kl9mf7csnwsw6c3jdglg7d7kp7yaa16h5fbck"))
>>> +     ("xz"
>>> +      ,(base32 "16cnr7vr0zawrwcnhshms3v5kyzb2vz1rp4kxmx507cs6rivd05b")))
>>
>> Are the i586-gnu binaries usable on x86_64-gnu?
>
> No, at least not currently.  The mach message format even differs, AFAIK.
>
> root@guixygnu64 ~# file bash-i586
> bash-i586: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), statically linked, for GNU/Hurd 0.0.0, stripped
>
> root@guixygnu64 ~# ./bash-i586 --help
> -bash: ./bash-i586: cannot execute binary file: Exec format error

OK.  But yeah, all the Mach messages and RPCs are probably encoded
differently anyway.  Too bad!

Ludo’.