[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2] grub-core: Build fixes for i386
From: |
John Paul Adrian Glaubitz |
Subject: |
Re: [PATCH v2] grub-core: Build fixes for i386 |
Date: |
Tue, 18 May 2021 12:58:07 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.1 |
Hello Jan!
On 5/18/21 12:47 PM, Jan (janneke) Nieuwenhuizen wrote:
> or install an x86 cross-build environment on x86-linux (32bit!) and
> configure to cross build and make, e.g., do something like
Are we talking about a toolchain which exclusively supports 32-bit builds
only? If yes, wouldn't it make sense to exclude the whole file relocator64.S?
I think hacking the opcodes into the assembly sources directly to allow
assembling
the assembly source file with a pure 32-bit assembler seems like a crude
workaround
that I wouldn't use in an upstream source tree.
It seems the issue is more that you are trying to build 64-bit code with a
toolchain
which exclusively supports 32-bit code which I'm not sure is something that can
be
officially supported.
Adrian
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - glaubitz@debian.org
`. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913