aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2004-06-01 11:28:50 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2004-06-01 11:28:50 +0000
commit1460af9501354afbba460db4c8e731fdc8f5805f (patch)
tree71796cad367b859b566861a1a193dc9390f13d8f /gcc
parent07166901ad64e6c3d8c85ee1d54613bd662ff603 (diff)
downloadgcc-1460af9501354afbba460db4c8e731fdc8f5805f.zip
gcc-1460af9501354afbba460db4c8e731fdc8f5805f.tar.gz
gcc-1460af9501354afbba460db4c8e731fdc8f5805f.tar.bz2
re PR target/15626 (GCC 3.4 emits "ld: warning: relocation error: R_SPARC_UA32")
PR target/15626 * doc/install.texi (sparc-sun-solaris2*): Document messages issued by the Sun linker in conjunction with the Sun assembler. (sparc-sun-solaris2.7): Update revision info for Sun patch 106950. From-SVN: r82541
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/doc/install.texi15
2 files changed, 20 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 8656d29..c78dc4c 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,10 @@
+2004-06-01 Paul Eggert <eggert@cs.ucla.edu>
+
+ PR target/15626
+ * doc/install.texi (sparc-sun-solaris2*): Document messages issued
+ by the Sun linker in conjunction with the Sun assembler.
+ (sparc-sun-solaris2.7): Update revision info for Sun patch 106950.
+
2004-05-19 Jeff Law <law@redhat.com>
* stmt.c (expand_decl): Be more selective about calling
diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi
index 33435e5..14e9c89 100644
--- a/gcc/doc/install.texi
+++ b/gcc/doc/install.texi
@@ -3363,7 +3363,7 @@ supported as cross-compilation target only.
<hr />
@end html
@c Please use Solaris 2 to refer to all release of Solaris, starting
-@c with 2.0 until 2.6, 7, and 8. Solaris 1 was a marketing name for
+@c with 2.0 until 2.6, 7, 8, etc. Solaris 1 was a marketing name for
@c SunOS 4 releases which we don't use to avoid confusion. Solaris
@c alone is too unspecific and must be avoided.
@heading @anchor{*-*-solaris2*}*-*-solaris2*
@@ -3472,6 +3472,17 @@ and 5.5 (Sun ONE Studio 8) of the Sun compiler, which causes a bootstrap
failure in form of a miscompilation of the stage1 compiler by the Sun
compiler. This is Sun bug 4974440. This is fixed with patch 112760-07.
+GCC 3.4 changed the default debugging format from STABS to DWARF-2 for
+32-bit code on Solaris 7 and later. If you are using the Sun
+assembler, this change apparently runs afoul of Sun bug 4910101, for
+which (as of 2004-05-23) there is no fix. A symptom of the problem is
+that you cannot compile C++ programs like @command{groff} 1.19.1
+without getting messages like @samp{ld: warning: relocation error:
+R_SPARC_UA32 @dots{} external symbolic relocation against
+non-allocatable section .debug_info; cannot be processed at runtime:
+relocation ignored}. To work around this problem, compile with
+@option{-gstabs+} instead of plain @option{-g}.
+
@html
<hr />
@end html
@@ -3508,7 +3519,7 @@ run code generated by GCC; it doesn't suffice to install it only on
the hosts that run GCC itself. Second, Sun says that 106950-03 is
only a partial fix for bug 4210064, but Sun doesn't know whether the
partial fix is adequate for GCC@. Revision -08 or later should fix
-the bug. The current (as of 2001-09-24) revision is -14, and is included in
+the bug. The current (as of 2004-05-23) revision is -24, and is included in
the Solaris 7 Recommended Patch Cluster.
@end itemize