Source-Changes-HG archive

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

[src/trunk]: src/doc powepc/clang hack



details:   https://anonhg.NetBSD.org/src/rev/6f8b958f394e
branches:  trunk
changeset: 744333:6f8b958f394e
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Jan 29 22:43:53 2020 +0000

description:
powepc/clang hack

diffstat:

 doc/HACKS |  13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)

diffs (24 lines):

diff -r 6c831905a07e -r 6f8b958f394e doc/HACKS
--- a/doc/HACKS Wed Jan 29 22:40:44 2020 +0000
+++ b/doc/HACKS Wed Jan 29 22:43:53 2020 +0000
@@ -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 @@
 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



Home | Main Index | Thread Index | Old Index