On Wed, Sep 1, 2021 at 5:18 PM Demi Marie Obenour <demioben...@gmail.com> wrote:
>
> 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.
>

It is often not good enough for making reliable package builds, which
is why we exclusively build natively unless there's literally no
choice.

> > 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.
>

In general, Fedora does not build packages that do not get shipped.
I'm only aware of a couple like that, and they're repackaging hacks of
shipped packages to deal with specific build environment issues.



-- 
真実はいつも一つ!/ Always, there's only one truth!
_______________________________________________
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