Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/doc Note some hacks required for gcc3 on sh5.



details:   https://anonhg.NetBSD.org/src/rev/e5f51ca27938
branches:  trunk
changeset: 556111:e5f51ca27938
user:      scw <scw%NetBSD.org@localhost>
date:      Sun Dec 07 19:58:25 2003 +0000

description:
Note some hacks required for gcc3 on sh5.

diffstat:

 doc/HACKS |  32 +++++++++++++++++++++++++++++++-
 1 files changed, 31 insertions(+), 1 deletions(-)

diffs (46 lines):

diff -r d6173f8d6399 -r e5f51ca27938 doc/HACKS
--- a/doc/HACKS Sun Dec 07 19:57:39 2003 +0000
+++ b/doc/HACKS Sun Dec 07 19:58:25 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: HACKS,v 1.26 2003/12/07 12:52:33 simonb Exp $
+# $NetBSD: HACKS,v 1.27 2003/12/07 19:58:25 scw Exp $
 #
 # This file is intended to document workarounds for currently unsolved
 # (mostly) compiler bugs.
@@ -291,6 +291,36 @@
                adding the .globl.
        kcah
 
+       hack    gcc 3.3.2 on sh5 - ICE compiling reload1.c at -O2
+       cdate   Sun Dec  7 19:44:05 GMT 2003
+       who     scw
+       file    gnu/usr.bin/gcc3/backend/Makefile : 1.13
+       descr
+               Gcc3 for sh5 gets an ICE compiling reload1.c at -O2.
+               Drop to -O1 for now when building for sh5.
+       kcah
+
+       hack    gcc 3.3.2 on sh5 - fatal warning compiling function.c
+       cdate   Sun Dec  7 19:44:05 GMT 2003
+       who     scw
+       file    gnu/usr.bin/gcc3/backend/Makefile : 1.13
+       descr
+               Gcc3 for sh5 issues a warning:
+               .../gnu/dist/gcc/gcc/function.c:4742: warning: `and' of
+                   mutually exclusive equal-tests is always 0.
+               This causes the build to fail because of -Werror.
+               Work-around by defining NOGCCERROR when building for sh5.
+       kcah
+
+       hack    gcc 3.3.2 on sh5 - ICE compiling dist/bind/bin/named/ns_main.c
+       cdate   Sun Dec  7 19:44:05 GMT 2003
+       who     scw
+       file    usr.sbin/bind/named/Makefile : 1.15
+       descr
+               Gcc3 for sh5 gets an ICE compiling ns_main.c at -O2.
+               Drop to -O1 for now when building for sh5.
+       kcah
+
 
 port   sun2
 



Home | Main Index | Thread Index | Old Index