With USE="test", the ebuild executes: if use test && ! has_version '>sys-devel/binutils-2.19.51'; then einfo "Disabling --as-needed, since you got older binutils and you asked" einfo "to run tests. With the stricter (older) --as-needed behaviour" einfo "you'd be seeing a test failure in test #63; this has been fixed" einfo "in the newer version of binutils." append-ldflags -Wl,--no-as-needed fi ... which confuses the darwin linker, causing the build to fail. (The platform binutils is actually 'sys-devel/binutils-apple-3.2', so the inverted version test will always return true.)
huh, has_version '>sys-devel/binutils-2.19.51' matches sys-devel/binutils-apple-3.2? thats a different package (!?) is there a virtual in play?
ah ignore, my comment :) i oversaw the '!' *lol*
sys-devel/libtool-2.2.6a-r00.2 also has the same problem...
as-needed cruft is now fixed, even though it hits a false positive, because it uses this new compile-check to see if as-needed works with the linker
fix was autosynced, so bug should be fixed now