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.
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
This should be fixed now. Thanks for reporting it.