[Bug go/64595] New: cgo installed into wrong directory
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jan 14 08:42:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64595
Bug ID: 64595
Summary: cgo installed into wrong directory
Product: gcc
Version: 5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: go
Assignee: ian at airs dot com
Reporter: rguenth at gcc dot gnu.org
CC: cmang at google dot com
With --enable-version-specific-runtime-libs I get go and gofmt installed in
$prefix/bin but cgo is installed into $prefix/lib/gcc/$target/$version/cgo
That is inconsistent.
>From the install log:
[ 4801s] test -z "/usr/bin" || /usr/bin/mkdir -p
"/home/abuild/rpmbuild/BUILDROOT/gcc5-5.0.0+r219531-0.x86_64/usr/bin"
[ 4801s] /usr/bin/install -c go
'/home/abuild/rpmbuild/BUILDROOT/gcc5-5.0.0+r219531-0.x86_64/usr/bin/./go-5'
[ 4801s] /usr/bin/install -c gofmt
'/home/abuild/rpmbuild/BUILDROOT/gcc5-5.0.0+r219531-0.x86_64/usr/bin/./gofmt-5'
[ 4801s] test -z "/usr/lib64/gcc/x86_64-suse-linux/5" || /usr/bin/mkdir -p
"/home/abuild/rpmbuild/BUILDROOT/gcc5-5.0.0+r219531-0.x86_64/usr/lib64/gcc/x86_64-suse-linux/5"
[ 4801s] /usr/bin/install -c cgo
'/home/abuild/rpmbuild/BUILDROOT/gcc5-5.0.0+r219531-0.x86_64/usr/lib64/gcc/x86_64-suse-linux/5/./cgo-5'
that is, why
bin_PROGRAMS = go$(EXEEXT) gofmt$(EXEEXT)
libexecsub_PROGRAMS = cgo$(EXEEXT)
?
There are also no manual pages or other documentation about these tools it
seems.
More information about the Gcc-bugs
mailing list