Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 586888 - sys-devel/gcc-5.4.0[go]: libgo.so.7 not found on ppc64 build
Summary: sys-devel/gcc-5.4.0[go]: libgo.so.7 not found on ppc64 build
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC64 Linux
: Normal normal
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-24 11:04 UTC by Leno Hou
Modified: 2016-06-24 16:05 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Leno Hou 2016-06-24 11:04:01 UTC
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.
Comment 1 SpanKY gentoo-dev 2016-06-24 16:05:50 UTC
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/