$ qlist gcc | grep gcj.*pc /usr/lib/pkgconfig/libgcj-4.7.1.pc while it should be installed to /usr/lib64/pkgconfig. This causes two problems: 1) pkg-config doesn't even check that directory by default, 2) gcc-config doesn't look for the file there and *silently* leaves broken libgcj.pc symlinks.
2) is bug #430932. We have: 1621 # SLOT up libgcj.pc if it's available (and let gcc-config worry about links) 1622 for x in "${D}"${PREFIX}/lib*/pkgconfig/libgcj*.pc ; do 1623 [[ -f ${x} ]] || continue 1624 sed -i "/^libdir=/s:=.*:=${LIBPATH}:" "${x}" 1625 mv "${x}" "${D}"/usr/lib/pkgconfig/libgcj-${GCC_PV}.pc || die 1626 done
gcc-config now handles multilib libgcj.pc files: http://git.overlays.gentoo.org/gitweb/?p=proj/gcc-config.git;a=commitdiff;h=7ee46ae0f636f56054df4035f50de79af03e3657
during the unpack phase, we have to hack pkgconfigdir to the right place http://sources.gentoo.org/eclass/toolchain.eclass?r1=1.554&r2=1.555