This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[Patch] MIPS:Add a note about recommended binutils version to install.texi
- From: David Daney <ddaney at avtrex dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: Richard Sandiford <richard at codesourcery dot com>
- Date: Sun, 04 Mar 2007 22:10:50 -0800
- Subject: [Patch] MIPS:Add a note about recommended binutils version to install.texi
Unfortunately there is no released version of GNU binutils that works
well with GCC 4.2/4.3. But since it looks as though a 4.2 release is
imminent, I think it is a good idea to recommend a binutils CVS snapshot
made after Nov. 9, 2006.
The assembler bug that was fixed effects jump tables emitted into comdat
sections. This is done by the C++ compiler for certain switch
statements. I don't know if 4.0/4.1 are affected by this problem as I
never do testing with those versions. If they are, we might want to put
this on those branches as well.
OK to commit to 4.2 and trunk?
2007-03-04 David Daney <ddaney@avtrex.com>
* doc/install.texi (mips-*-*): Change recommended binutils
version.
Index: doc/install.texi
===================================================================
--- doc/install.texi (revision 122539)
+++ doc/install.texi (working copy)
@@ -3551,10 +3551,13 @@ currently do not work, because the auxil
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.
+The assembler from GNU binutils 2.17 and earlier has a bug in the way
+it sorts relocations. This can cause bad code to be generated for
+simple C++ programs. Also the linker from GNU binutils versions prior
+to 2.17 has a bug which causes the runtime linker stubs in very large
+programs, like @file{libgcj.so}, to be incorrectly generated.
+Binutils CVS snapshots and releases made after Nov. 9, 2006 are
+thought to be free from both of these problems.
@html
<hr />