use --enable-threads \ --enable-shlib not --with-blah
my dmalloc says: src_compile() { econf --with-shlibs || die emake all threads shlib tests || die "emake failed" } so either they fixed it (which means this bug should be closed) or you have an odd dmalloc ebuild
Fixed to use --enable-threads and --enable-shlib instead of --with-shlib