dev-libs/libx86-0.99 (latest "stable version") fails to build with distcc on amd64, apparently because it uses gcc without specifying an architecture... this seems to be fixed in 1.1-r1 per http://bugs.gentoo.org/show_bug.cgi?id=237383, but that isn't marked stable yet. Can we get a patch to fix the "stable" ebuild, or mark the 1.1-r1 stable please? Reproducible: Always Steps to Reproduce: 1. emerge =dev-libs/libx86-0.99 with distcc enabled, and a helping distcc system who's cc isn't symlinked to the right chost version of gcc. Actual Results: Failure to compile. In particular: cc -march=k8 -msse3 -O2 -pipe -fPIC -o libx86.so.1 -shared -Wl,-soname,libx86.so.1 x86-common.o thunk.o x86emu/decode.o x86emu/debug.o x86emu/fpu.o x86emu/ops.o x86emu/ops2.o x86emu/prim_ops.o x86emu/sys.o /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input file `thunk.o' is incompatible with i386:x86-64 output /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input file `x86emu/fpu.o' is incompatible with i386:x86-64 output /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input file `x86emu/prim_ops.o' is incompatible with i386:x86-64 output x86emu/prim_ops.o: In function `div_long': prim_ops.c:(.text+0x4d8e): undefined reference to `__umoddi3' prim_ops.c:(.text+0x4def): undefined reference to `__udivdi3' x86emu/prim_ops.o: In function `idiv_long': prim_ops.c:(.text+0x4fde): undefined reference to `__moddi3' prim_ops.c:(.text+0x503e): undefined reference to `__divdi3' collect2: ld returned 1 exit status distcc[6695] ERROR: compile (null) on localhost failed make[1]: *** [shared] Error 1 make[1]: Leaving directory `/var/tmp/portage/dev-libs/libx86-0.99/work/libx86-0.99' * * ERROR: dev-libs/libx86-0.99 failed. Expected Results: The libx86 ebuild should have called the proper version of the c compiler with an explicit chost I know distcc, and particularly cross compilation with distcc isn't exactly standard, but it should work on stable amd64 without having to disable distcc or emerge libx86 with ~amd64.
Arch teams, please magic!
x86 stable
amd64 stable, all arches done.