Wed Jan 29 23:44:00 2020 UTC ()
same hack different place


(christos)
diff -r1.197 -r1.198 src/doc/HACKS

cvs diff -r1.197 -r1.198 src/doc/HACKS (expand / switch to unified diff)

--- src/doc/HACKS 2020/01/29 22:43:53 1.197
+++ src/doc/HACKS 2020/01/29 23:44:00 1.198
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: HACKS,v 1.197 2020/01/29 22:43:53 christos Exp $ 1# $NetBSD: HACKS,v 1.198 2020/01/29 23:44:00 christos Exp $
2# 2#
3# This file is intended to document workarounds for currently unsolved 3# This file is intended to document workarounds for currently unsolved
4# (mostly) compiler bugs. 4# (mostly) compiler bugs.
5# 5#
6# Format: 6# Format:
7# hack title 7# hack title
8# cdate creation date 8# cdate creation date
9# mdate mod date 9# mdate mod date
10# who responsible developer 10# who responsible developer
11# port ... 11# port ...
12# affected ports, space separated, if not "all" 12# affected ports, space separated, if not "all"
13# file affected file : revision : line from : line to 13# file affected file : revision : line from : line to
14# affected files and revision and line numbers describing hack 14# affected files and revision and line numbers describing hack
@@ -963,22 +963,23 @@ descr Disable optimization for rtld.c on @@ -963,22 +963,23 @@ descr Disable optimization for rtld.c on
963 second pass loop with elm == 0xffffffff 963 second pass loop with elm == 0xffffffff
964kcah 964kcah
965 965
966port alpha 966port alpha
967hack GCC 7.4/8.3: userland binaries crash randomly (port-alpha/54307) 967hack GCC 7.4/8.3: userland binaries crash randomly (port-alpha/54307)
968cdate Fri Nov 1 20:43:35 UTC 2019 968cdate Fri Nov 1 20:43:35 UTC 2019
969who rin 969who rin
970file src/external/bsd/jemalloc/lib/Makefile.inc: 1.11 970file src/external/bsd/jemalloc/lib/Makefile.inc: 1.11
971descr rtree.c and tcache.c need to be compiled with -O0, alternatively, 971descr rtree.c and tcache.c need to be compiled with -O0, alternatively,
972 you can compile whole jemalloc with -DJEMALLOC_DEBUG. 972 you can compile whole jemalloc with -DJEMALLOC_DEBUG.
973kcah 973kcah
974 974
975port powerpc 975port powerpc
976hack compile tc.c with -O0 for clang 976hack compile tc.c, logerr.c with -O0 for clang
977cdate Wed Jan 29 17:40:19 EST 2020 977cdate Wed Jan 29 17:40:19 EST 2020
978who christos 978who christos
979file src/external/bsd/atf/lib/libatf-c/Makefile: 1.22 979file src/external/bsd/atf/lib/libatf-c/Makefile: 1.22
980descr Disable optimization on tc.c, crashes: 980file src/external/bsd/dhcpcd/sbin/dhcpcd/Makefile: 1.49
 981descr Disable optimization on tc.c, logerr.c crashes:
981 lib/libLLVMCodeGen/../../llvm/../../external/apache2/llvm/lib/..\ 982 lib/libLLVMCodeGen/../../llvm/../../external/apache2/llvm/lib/..\
982 /dist/llvm/include/llvm/CodeGen/MachineFrameInfo.h", line 495, \ 983 /dist/llvm/include/llvm/CodeGen/MachineFrameInfo.h", line 495, \
983 function "__int64_t llvm::MachineFrameInfo::getObjectOffset(int) const" 984 function "__int64_t llvm::MachineFrameInfo::getObjectOffset(int) const"
984kcah 985kcah