* Christoph Erhardt:
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.
Yes, I understood that. x86_64 buildroots only have x86_64 packages in
Koji. You cannot build and run 32-bit binaries (unless you put them
together completely from scratch, without help from i686 RPM packages).
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.
Do we have CI for EPEL? You could run the tests there.
Thanks,
Florian