I'm not actually trying to cross-build mold for i686; my goal is to do a
regular x86_64 build of mold and to run its complete testsuite.
Since mold is a linker that supports multiple target architectures, its
testsuite contains a bunch of scripts that explicitly invoke `cc -m32` and
`cc -m32 -static` to cover mold's i686-specific code paths. Obviously, these
fail if no 32-bit libc is present.
I could disable these particular unit tests (10 out of 201, to be precise) -
but I'm unsure whether that would be a wise thing to do.
Best,
Christoph
On Thursday, 27 January 2022 19:08:39 CET Florian Weimer wrote:
* Florian Weimer:
> * Christoph Erhardt:
>
>
>
>
>
>
> We do not support cross-building, so you'd have to use a 32-bit builder
> for building 32-bit binaries (which does not exist for EPEL). You can
> test this in an gating/integration test, which can install the i686
> packages.
>
>
>
> You don't see this in Fedora because it we have the glibc32 package
> there, but it's a hideous hack that needs to go away. It only exists to
> support building glibc itself.
Sorry, that should be “support building gcc with multilib support”.
Florian
_______________________________________________
devel mailing list -- devel(a)lists.fedoraproject.org
To unsubscribe send an email to devel-leave(a)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