Module Name:    src
Committed By:   christos
Date:           Wed Jan 29 22:43:53 UTC 2020

Modified Files:
        src/doc: HACKS

Log Message:
powepc/clang hack


To generate a diff of this commit:
cvs rdiff -u -r1.196 -r1.197 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.196 src/doc/HACKS:1.197
--- src/doc/HACKS:1.196	Sun Nov  3 02:10:42 2019
+++ src/doc/HACKS	Wed Jan 29 17:43:53 2020
@@ -1,4 +1,4 @@
-# $NetBSD: HACKS,v 1.196 2019/11/03 07:10:42 rin Exp $
+# $NetBSD: HACKS,v 1.197 2020/01/29 22:43:53 christos Exp $
 #
 # This file is intended to document workarounds for currently unsolved
 # (mostly) compiler bugs.
@@ -971,3 +971,14 @@ file	src/external/bsd/jemalloc/lib/Makef
 descr	rtree.c and tcache.c need to be compiled with -O0, alternatively,
 	you can compile whole jemalloc with -DJEMALLOC_DEBUG.
 kcah
+
+port	powerpc
+hack	compile tc.c with -O0 for clang
+cdate	Wed Jan 29 17:40:19 EST 2020
+who	christos
+file	src/external/bsd/atf/lib/libatf-c/Makefile: 1.22
+descr	Disable optimization on tc.c, crashes:
+	lib/libLLVMCodeGen/../../llvm/../../external/apache2/llvm/lib/..\
+	/dist/llvm/include/llvm/CodeGen/MachineFrameInfo.h", line 495, \
+	function "__int64_t llvm::MachineFrameInfo::getObjectOffset(int) const"
+kcah

Reply via email to