Hi! media-libs/libmikmod doesn't compile on cross-compilation between two different arches, because the compiler is simply 'gcc', and not '${CHOST}-gcc'. To fix it, is only needed to export CC into the ebuild with tc-export. With the attached patch works to me well between i686, ppc and amd64. Good bye!
Created attachment 86096 [details, diff] libmikmod-3.1.11-r1.ebuild.patch
Urm have you tried -r2? that was fixed for that and a few other things, if needed I'd rather for that to be marked stable.
Hi! I hadn't tried the ~arch version, so I apologise for that, because it is fixed in -r2. I'm submitting many bugs of ebuilds that crash on cross-compilation, and I see that the fix is applied on the ~arch version, so I think that I will submit patches for ~arch ebuild and test it in all versions. Good bye and thanks!
Arches please consider marking -r2 stable, I'd really like to have that stable as it respects ${LDFLAGS} other than fixing this particular issue.
nzq64 fgnoyr
(In reply to comment #5) > nzq64 fgnoyr It looks like blubb commented on the bug and removed amd64@, but didn't actually commit the change. I tested it on amd64 (alpha too) and didn't get any problems. alpha and amd64 stable.
stable on ppc64
Stable on the SPARCen
ppc stable
x86 done
Stable on mips.
arm/ia64 is done
hppa stable