ok - this is one I think needs black magic... and as of yet am just a level 3 mage... iconv.c: In function `cp932ext_mbtowc': iconv.c:404: unrecognizable insn: (insn 238 236 240 (set (reg:QI 90) (const_int 128 [0x80])) -1 (nil) (nil)) iconv.c:404: Internal compiler error in extract_insn, at recog.c:2148 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions. iconv.c: In function `cp932ext_mbtowc': iconv.c:379: unrecognizable insn: (insn 238 236 240 (set (reg:QI 90) (const_int 128 [0x80])) -1 (nil) (nil)) iconv.c:379: Internal compiler error in extract_insn, at recog.c:2148 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions. make[1]: *** [iconv.lo] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: *** [libiconv_plug_linux.so] Error 1 make[1]: Leaving directory `/var/tmp/portage/libiconv-1.7/work/libiconv-1.7/lib' make: *** [all] Error 2 !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line -159, Exitcode 2 !!! (no error message) my make.conf: USE="bonobo crypt cups dga dvd evo esd gb gnome gtk gtkhtml imap ipv6 gif jpeg maildir mozilla mysql oggvorbis opengl oss pam png readline sasl spell ssl tcpd truetype X cface xml2 xmms zlib tcltk xface -arts -kde -svga -qt -qtmt" CHOST="i686-pc-linux-gnu" CFLAGS="-march=pentium3 -O3 -pipe" CXXFLAGS="${CFLAGS}" my make.global: MAKEOPTS="-j2" CFLAGS="-O2 -mcpu=i686 -pipe" CXXFLAGS=${CFLAGS} FEATURES="sandbox ccache" I also had in the past no gcc options in the make.conf (so the global settings were in use... same thing) can someone please confirm this as an gcc bug or is this gentoo related?
ok.. I made a new ebuild... with 1.8 and there it's the same.... I played around with compile flags and discovered that -O0 leads to success.... a small patch for the libtool-stuff in the Makefile was also needed and eh voila... it merged...
well, good that you got it to work, but libiconv is perm-masked due to odd side-effects.