https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69839
--- Comment #2 from Joakim Tjernlund <joakim.tjernlund at infinera dot com> --- (In reply to Jakub Jelinek from comment #1) > Are you using a sysroot for this? If not, you should. Yes, the toolchain is sysrooted at /usr/powerpc-g2.20-linux-gnu/ (toolchain built with Gentoo's crossdev tool) There is no libstdc++ in sysroot, it is located in /usr/lib/gcc/powerpc-softfloat_4.9.3-linux-gnu/4.9.3/