On 9/1/21 1:55 PM, Florian Weimer wrote:
> In autotools parlance, cross-compilation is defined by the inability of
> running even the most trivial program that was just compiled.

It is often possible to avoid this problem using qemu in user-mode
emulation mode, but even that is not needed here.

> What you seem to be arguing for is using a multilib build environment
> that leans towards 64-bit, overridden towards 32-bit mode using build
> flags.  Like the environment that you have to use if you want to build
> 32-bit binaries on Red Hat Enterprise Linux outside of Red Hat.  That
> just does not work in current Koji, and probably does not work that well
> with direct mock invocations, either.  It's the reason why there are no
> 32-bit package builds in EPEL anymore.

This can be worked around by replacing /usr/bin/gcc and other binaries
with ones that have been built to produce 32-bit code, but which are
themselves 64-bit programs.

That said, building a package that isn’t going to be shipped is silly.

Demi

Attachment: OpenPGP_0xB288B55FFF9C22C1.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to