Source-Changes-HG archive

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

[src/trunk]: src/doc Document sh3* lint hack for gcc 9



details:   https://anonhg.NetBSD.org/src/rev/2e29efb3d9ed
branches:  trunk
changeset: 984131:2e29efb3d9ed
user:      martin <martin%NetBSD.org@localhost>
date:      Tue Jun 22 13:02:52 2021 +0000

description:
Document sh3* lint hack for gcc 9

diffstat:

 doc/HACKS |  15 ++++++++++++++-
 1 files changed, 14 insertions(+), 1 deletions(-)

diffs (26 lines):

diff -r cba3ab29eea5 -r 2e29efb3d9ed doc/HACKS
--- a/doc/HACKS Tue Jun 22 12:58:28 2021 +0000
+++ b/doc/HACKS Tue Jun 22 13:02:52 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: HACKS,v 1.218 2021/05/31 22:33:19 rin Exp $
+# $NetBSD: HACKS,v 1.219 2021/06/22 13:02:52 martin Exp $
 #
 # This file is intended to document workarounds for currently unsolved
 # (mostly) compiler bugs.
@@ -998,3 +998,16 @@
         allocation from the stack and freeing with regular free which causes
        a crash.
 kcah
+
+port   sh3
+
+       hack    gcc9-sh3-lint
+       cdate   Tue Jun 22 14:59:52 CEST 2021
+       mdate   Tue Jun 22 14:59:52 CEST 2021
+       who     martin
+       file    usr.bin/xlint/lint1/Makefile    : 1.70
+       descr
+               The in-tree gcc 9 crashes with an internal invalid
+               opcode exception when using any kind of optimization
+               on the lex.c file. Force -O0 for this file.
+kcah



Home | Main Index | Thread Index | Old Index