platform: ppc64 i.e. PowerPC big-endian #USE=go emerge=sys-devel/gcc-5.4.0 successfully. But, change to directory #cd /usr/powerpc64-unknown-linux-gnu/gcc-bin/5.4.0 and LDD go-5 #ldd go-5 [root@localhost 5.4.0]# ldd go-5 linux-vdso64.so.1 => (0x00003fff84ab0000) libgo.so.7 => not found libm.so.6 => /lib64/power8/libm.so.6 (0x00003fff849b0000) libc.so.6 => /lib64/power8/libc.so.6 (0x00003fff847b0000) libpthread.so.0 => /lib64/power8/libpthread.so.0 (0x00003fff84770000) /lib64/ld64.so.1 (0x000000002c0d0000) Reproducible: Always Steps to Reproduce: 1. USE=go emerge =sys-devel/gcc 2. ldd go-5 [root@localhost 5.4.0]# ldd go-5 linux-vdso64.so.1 => (0x00003fff84ab0000) libgo.so.7 => not found libm.so.6 => /lib64/power8/libm.so.6 (0x00003fff849b0000) libc.so.6 => /lib64/power8/libc.so.6 (0x00003fff847b0000) libpthread.so.0 => /lib64/power8/libpthread.so.0 (0x00003fff84770000) /lib64/ld64.so.1 (0x000000002c0d0000) Actual Results: [root@localhost 5.4.0]# ./go-5 ./go-5: error while loading shared libraries: libgo.so.7: cannot open shared object file: No such file or directory Expected Results: go-5 runs well on ppc64 & ppc64le This was tested on ppc64le as well as ppc64 platform.
you need to post full build logs and emerge info when filing bugs libgo.so.7 should be in /usr/lib/gcc/powerpc64-unknown-linux-gnu/5.4.0/