Exim ebuild is ignoring crosscompile mode and it is making executable for build system. Partial fix is to add CC=HOST-gcc to Local/Makefile. However two programs need to be build with BUILD-gcc. These are build-exim-gentoo/pcre/dftables and build-exim-gentoo/buildconfig. These executables are used on BUILD system to parse some files. There is no "iconv" USE flag in this ebuild. If iconv is not present Exim build will fail. It is a matter of setting HAVE_ICONV=no in Local/Makefile.
Net-mail herd: I've not assigned this directly to peitolm, since herdstat reports him as away (although his comment suggests he should be back soon). Feel free to reassign it directly if he's actually back... 5:)
herdstat? never heard of it. I'm adding exim-4.67 to the tree (which fixes a few other bugs). I'll try and get an -r1 out soon that will incorporate a fix for this issue.
I have finally made my Wyse "Linterm" box working. All trouble were caused by ";" in .S file :-) Exim is working almost great. I have issue with rejecting elke.dom destination (DNS timeout), but 192.168.72.2 works and I'm sure there is option fixing it. I had a nasty surprise - none of other Makefile based builds is working. Looks like I should set CC=$CHOST-gcc in make.conf, but I didn't. I could swear that this isn't mentioned in Gentoo's cross development guide and HOWTO. So first part of this bug is invalid. Exim ebuild is making same thing that other ebuilds do.
I am assuming that just requiring virtual/libiconv if iconv is in USE, and if iconv isn't in USE, then editing the Makefile, but i need to check with someone who knows more about iconv than I do, as it looks like libinconv is masked.
O.k. i dug a bit deeper and it seems iconv is available in recent glibc's, which version of glibc are you trying to link against?
I was cross compiling for uClibc.
ah, and there in lies a lot of fun and games. I don't have any embedded systems here, so I'm going to have to setup a separate xen instance to test this. I'm going to be away for the whole of next week, but hopefully I'll have something sorted within a fortnight or so. Hope that's o.k.
I'm going offline and I can't use Gentoo anymore. Sorry for wasting Your time.