Thu Mar 5 10:21:02 2015 UTC ()
Rename hp700 to hppa and note new ld.elf_so hack.


(skrll)
diff -r1.154 -r1.155 src/doc/HACKS

cvs diff -r1.154 -r1.155 src/doc/HACKS (expand / switch to unified diff)

--- src/doc/HACKS 2014/12/22 21:20:11 1.154
+++ src/doc/HACKS 2015/03/05 10:21:02 1.155
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: HACKS,v 1.154 2014/12/22 21:20:11 dennis Exp $ 1# $NetBSD: HACKS,v 1.155 2015/03/05 10:21:02 skrll 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
@@ -942,36 +942,47 @@ port x68k @@ -942,36 +942,47 @@ port x68k
942 kcah 942 kcah
943 943
944hack fallback to /usr/bin/clang-cpp in rpcgen 944hack fallback to /usr/bin/clang-cpp in rpcgen
945cdate Wed Jun 5 15:49:27 CEST 2013 945cdate Wed Jun 5 15:49:27 CEST 2013
946who joerg 946who joerg
947file src/usr.bin/rpcgen/rpc_main.c 947file src/usr.bin/rpcgen/rpc_main.c
948descr 948descr
949 It is undecided which compiler owns /usr/bin/cpp and whether it should 949 It is undecided which compiler owns /usr/bin/cpp and whether it should
950 exist in a MKGCC=no world. To allow rpcgen to work out-of-the-box, 950 exist in a MKGCC=no world. To allow rpcgen to work out-of-the-box,
951 if either gcc or clang is installed, use /usr/bin/clang-cpp as fallback. 951 if either gcc or clang is installed, use /usr/bin/clang-cpp as fallback.
952 This applies only if RPCGEN_CPP is not set and /usr/bin/cpp is not executable. 952 This applies only if RPCGEN_CPP is not set and /usr/bin/cpp is not executable.
953kcah 953kcah
954 954
955port hp700 955port hppa
956 956
957 hack compiler error with gcc 4.5.x 957 hack compiler error with gcc 4.5.x
958 cdate Tue Jul 23 07:42:28 BST 2013 958 cdate Tue Jul 23 07:42:28 BST 2013
959 who skrll 959 who skrll
960 file src/sys/lib/libkern/Makefile.libkern: 1.26 960 file src/sys/lib/libkern/Makefile.libkern: 1.26
961 descr 961 descr
962 workaround for unanalysed codegen bug affecting md5c.c. 962 workaround for unanalysed codegen bug affecting md5c.c.
963 kcah 963 kcah
964 964
 965 hack gdb vs _rtld_debug_state problem
 966 cdate Thu Mar 5 09:49:53 UTC 2015
 967 who skrll
 968 file src/libexec/ld.elf_so/rtld.c: 1.175
 969 descr
 970 workaround for problem where gdb misses the breakpoint on
 971 _rtld_debug_state when the function is only the
 972 bv,n %r0(%rp) instruction - the nullify seems to
 973 confuse something
 974 kcah
 975
965port mips64* 976port mips64*
966hack compiler crashes on mips64* with optimization enabled 977hack compiler crashes on mips64* with optimization enabled
967cdate Tue May 13 18:46:48 UTC 2014 978cdate Tue May 13 18:46:48 UTC 2014
968who macallan 979who macallan
969file src/external/lgpl3/gmp/lib/libgmp/arch/mips64eb/Makefile.inc: 1.6 980file src/external/lgpl3/gmp/lib/libgmp/arch/mips64eb/Makefile.inc: 1.6
970 src/external/lgpl3/gmp/lib/libgmp/arch/mips64eb/config.h: 1.5 981 src/external/lgpl3/gmp/lib/libgmp/arch/mips64eb/config.h: 1.5
971 src/external/lgpl3/gmp/lib/libgmp/arch/mips64el/Makefile.inc: 1.6 982 src/external/lgpl3/gmp/lib/libgmp/arch/mips64el/Makefile.inc: 1.6
972 src/external/lgpl3/gmp/lib/libgmp/arch/mips64el/config.h: 1.5 983 src/external/lgpl3/gmp/lib/libgmp/arch/mips64el/config.h: 1.5
973descr workaround for n32 gcc doing unaligned 64bit accesses when optimizing 984descr workaround for n32 gcc doing unaligned 64bit accesses when optimizing
974pr 48696 985pr 48696
975kcah 986kcah
976 987
977port vax 988port vax