libsanitizer requires wordexp. Therefore gcc has to be configured with --disable-libsanitizer if uclibc is configured without UCLIBC_HAS_WORDEXP. By default, UCLIBC_HAS_WORDEXP is disabled. Reproducible: Always As a workaround, you can use package.env to disable libsanitizer for all uclibc toolchains: cross-*-uclibc*/gcc no-wordexp-gcc.conf env/no-wordexp-gcc.conf EXTRA_ECONF="--disable-libsanitizer"
i've made the sanitizer library a USE=sanitize flag. you can disable that when your C library setup lacks functionality it needs. http://sources.gentoo.org/eclass/toolchain.eclass?r1=1.638&r2=1.639
I don't think it makes a good default: + tc_version_is_at_least 4.8 && IUSE_DEF+=( sanitize ) *** This bug has been marked as a duplicate of bug 504200 ***