Following snippet is from emerge-wrapper as shipped in sys-devel/crossdev-20101011: LIBC="__LIBC__" case ${CHOST} in *gnu*) LIBC=glibc ;; *uclibc*) LIBC=uclibc ;; *) emit_setup_warning ;; esac It does not recognize *mingw* as valid CHOST, thus generates a warning and __CHOST__ and __LIBC__ as values to CHOST and ELIBC in /usr/$chost/etc/make.conf. This should probably fixed to something like: case ${CHOST} in *gnu*) LIBC=glibc ;; *uclibc*) LIBC=uclibc ;; *mingw*) LIBC=mingwrt ;; *) emit_setup_warning ;; esac (I have not thoroughly tested what impact the wrong ELIBC/CHOST setting in make.conf has.) Reproducible: Always
Please test this setting as we are not likely to.
i went with LIBC=mingw http://sources.gentoo.org/profiles/desc/elibc.desc?r1=1.7&r2=1.8 http://git.overlays.gentoo.org/gitweb/?p=proj/crossdev.git;a=commitdiff;h=b94a97a6fd59b88e4a2de19a258f9e255ae7ef72