This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch,doc] Add ld version recommendation for mips*-*-* to install.texi
- From: David Daney <ddaney at avtrex dot com>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Cc: Richard Sandiford <richard at codesourcery dot com>, Java Patch List <java-patches at gcc dot gnu dot org>
- Date: Fri, 09 Jun 2006 09:46:49 -0700
- Subject: Re: [Patch,doc] Add ld version recommendation for mips*-*-* to install.texi
- References: <4488F1B0.603@avtrex.com> <871wtyka7m.fsf@talisman.home>
Richard Sandiford wrote:
David Daney <ddaney@avtrex.com> writes:
* doc/install.texi: Add binutils version recommendation for
mips-*-*.
OK, thanks, with a bit of extra markup:
+The linker from GNU binutils versions prior to 2.17 has a bug which
+causes the runtime linker stubs in libgcj.so to be incorrectly
@file{libgcj.so}
+generated. If want to use libgcj, either use binutils 2.17 or later
+to build it or export LD_BIND_NOW=1 in your runtime environment.
@samp{LD_BIND_NOW=1}
Thanks,
Committed thusly:
2006-06-09 David Daney <ddaney@avtrex.com>
* doc/install.texi: Add binutils version recommendation for
mips-*-*.
Index: doc/install.texi
===================================================================
--- doc/install.texi (revision 114511)
+++ doc/install.texi (working copy)
@@ -3453,6 +3453,11 @@
anything but a MIPS. It does work to cross compile for a MIPS
if you use the GNU assembler and linker.
+The linker from GNU binutils versions prior to 2.17 has a bug which
+causes the runtime linker stubs in @file{libgcj.so} to be incorrectly
+generated. If you want to use libgcj, either use binutils 2.17 or
+later to build it or export @samp{LD_BIND_NOW=1} in your runtime environment.
+
@html
<hr />
@end html