Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/doc/HACKS,v rcsdiff: /ftp/cvs/cvsroot/src/doc/HACKS,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.196 retrieving revision 1.197 diff -u -p -r1.196 -r1.197 --- src/doc/HACKS 2019/11/03 07:10:42 1.196 +++ src/doc/HACKS 2020/01/29 22:43:53 1.197 @@ -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