It's not the first version with this error, but I haven't noticed it before. This is what configure prints: checking for speex_resampler_init in -lspeex... no No libspeex with resampler unit; use built-in code That's correct, speex_resampler_init is not in speex it's in speexdsp (same package, different lib - configure check is wrong, at least for media-libs/speex-1.2_beta3_p2).
And on a not really related note: a52 plugin breaks build. I'm not sure if it's related to the '-Wl,--as-needed', but the problem lies in the fact, that it's using av_free, but linking to libavcodec only - that symbol comes from libavutil. Fix will probably trivial (I've got a hack for myself, but it's bit ugly).
(In reply to comment #1) > And on a not really related note: > a52 plugin breaks build. > I'm not sure if it's related to the '-Wl,--as-needed', It's not -Wl,--as-needed related. See also 256119 (http://bugs.gentoo.org/show_bug.cgi?id=256119) and https://bugtrack.alsa-project.org/alsa-bug/view.php?id=4356 .
This should be fixed in 1.0.19, please remerge and test.