This is a clone of https://bugs.gentoo.org/655834#2 - please check there for more information.
FAIL: Run with pr11138-2.c libpr11138-1.so
FAIL: Run with libpr11138-1.so pr11138-2.c
FAIL: Check --gc-section
FAIL: Check --gc-section/-q
FAIL: Check --gc-section/-r/-e
FAIL: Check --gc-section/-r/-u
I don't see any of these failures with either the 2.30 branch or master. It seems likely they are due to gentoo patches.