Bug 48410 - weird installation dir
Summary: weird installation dir
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: go (show other bugs)
Version: 4.6.0
: P3 normal
Target Milestone: ---
Assignee: Ian Lance Taylor
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-02 06:39 UTC by Ralf Corsepius
Modified: 2012-02-14 19:41 UTC (History)
2 users (show)

See Also:
Host:
Target: *-rtems*
Build:
Known to work:
Known to fail: 4.6.0
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ralf Corsepius 2011-04-02 06:39:29 UTC
When cross-building gccgo (gcc-4.6.0) for *-rtems* targets, 
libgo's *.gox files end up installed under a what I assume to be a bogus directory:

e.g.:
/opt/rtems-4.11/lib/gcc/i386-rtems4.11/4.6.0/mpentium/go/4.6.0/i386-rtems4.11/archive/tar.gox

${prefix}/lib/gcc/${target}/${gcc_version}/${multisubdir}/go/${gcc_version}/${target}/...


At least I would expect them to end up under
${prefix}/lib/gcc/${target}/${gcc_version}/${multisubdir}/go
(This would match how other languages support targets files are installed, 
e.g. libstdc++)


FYI: I am configuring gcc with --enable-version-specific-runtime-libs
I would not want to exclude this issue to be related to this option, 
because other languages had similar issues related to this option in the past.
Comment 1 ian@gcc.gnu.org 2012-02-14 19:40:15 UTC
Author: ian
Date: Tue Feb 14 19:40:09 2012
New Revision: 184223

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=184223
Log:
	PR go/48410
libgo: Don't put .gox files in version-specific directory.

Modified:
    trunk/libgo/Makefile.am
    trunk/libgo/Makefile.in
    trunk/libgo/configure
    trunk/libgo/configure.ac
    trunk/libgo/testsuite/Makefile.in
Comment 2 Ian Lance Taylor 2012-02-14 19:41:15 UTC
This should be fixed now.  Thanks for reporting it.