Module Name:    src
Committed By:   rin
Date:           Wed Apr 29 11:08:40 UTC 2020

Modified Files:
        src/doc: HACKS

Log Message:
PR toolchain/54820
PR toolchain/54877

earmv7hf{,eb}: compile gdb/dwarf2expr.c with -O0 for GCC8

http://cvsweb.netbsd.org/bsdweb.cgi/src/external/gpl3/gdb/lib/libgdb/Makefile#rev1.22


To generate a diff of this commit:
cvs rdiff -u -r1.201 -r1.202 src/doc/HACKS

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/doc/HACKS
diff -u src/doc/HACKS:1.201 src/doc/HACKS:1.202
--- src/doc/HACKS:1.201	Sun Apr 12 17:49:00 2020
+++ src/doc/HACKS	Wed Apr 29 11:08:40 2020
@@ -1,4 +1,4 @@
-# $NetBSD: HACKS,v 1.201 2020/04/12 17:49:00 leot Exp $
+# $NetBSD: HACKS,v 1.202 2020/04/29 11:08:40 rin Exp $
 #
 # This file is intended to document workarounds for currently unsolved
 # (mostly) compiler bugs.
@@ -975,3 +975,14 @@ descr	Disable optimization on tc.c, loge
 	/dist/llvm/include/llvm/CodeGen/MachineFrameInfo.h", line 495, \
 	function "__int64_t llvm::MachineFrameInfo::getObjectOffset(int) const"
 kcah
+
+port	earmv7hf*
+hack	compile gdb/dwarf2expr.c with -O0 for GCC8 (toolchain/54820 and 54877)
+cdate	Wed Apr 29 11:04:58 UTC 2020
+who	rin
+file	src/external/gpl3/gdb/lib/libgdb/Makefile: 1.22
+descr	GCC 8.4 miscompiles dwarf2expr.c with -O2 or -O1, which results in
+	crashes with 'gdb_exception_RETURN_MASK_ERROR'. Note that this occurs
+	only for earmv7hf{,eb} as far as I can see. Neither earmv6hf{,eb} nor
+	earmv7{,eb} (softfloat) are affected.
+kcah

Reply via email to