When building =net-misc/linux-identd-1.3-r1 for another CPU than native one using crossdev, gcc is still used, so lead to errors like this : >>> Compiling source in /var/tmp/i586-pc-linux-gnu/portage/net-misc/linux-identd-1.3-r1/work/linux-identd-1.3 ... make -j6 'CEXTRAS=-march=geode -Os -mmmx -m3dnow -fno-align-jumps -fno-align-functions -fno-align-labels -fno-align-loops -pipe -fomit-frame-pointer' gcc -DVERSION=\"1.3\" -Wall -O2 -march=geode -Os -mmmx -m3dnow -fno-align-jumps -fno-align-functions -fno-align-labels -fno-align-loops -pipe -fomit-frame-pointer -c -o identd.o identd.c sed -e "s/#VERSION#/1.3/" identd.8.in > identd.8 identd.c:1:0: error: CPU you selected does not support x86-64 instruction set identd.c:1:0: error: CPU you selected does not support x86-64 instruction set make: *** [identd.o] Error 1 Full log is attached cross compiler CC should be used. Here is a fix Reproducible: Always
Created attachment 332114 [details] net-misc:linux-identd-1.3-r1:20121212-102249.log The log
Created attachment 332116 [details, diff] linux-identd-1.3-r1.ebuild-cross-CC.diff The fix
This package is currently not maintained by someone, thus it might be that this fix doesn't land any time soon; feel free to find a non-maintainer willing to apply the fix and/or becoming a maintainer. You can also try to become a proxy-maintainer for the package yourself if you want to. http://www.gentoo.org/proj/en/qa/proxy-maintainers/
+ 01 Jan 2013; Pacho Ramos <pacho@gentoo.org> linux-identd-1.3-r1.ebuild: + Fix cross-compilation, bug #446972 by Bertrand Jacquin +