| @@ -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 | |
944 | hack fallback to /usr/bin/clang-cpp in rpcgen | | 944 | hack fallback to /usr/bin/clang-cpp in rpcgen |
945 | cdate Wed Jun 5 15:49:27 CEST 2013 | | 945 | cdate Wed Jun 5 15:49:27 CEST 2013 |
946 | who joerg | | 946 | who joerg |
947 | file src/usr.bin/rpcgen/rpc_main.c | | 947 | file src/usr.bin/rpcgen/rpc_main.c |
948 | descr | | 948 | descr |
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. |
953 | kcah | | 953 | kcah |
954 | | | 954 | |
955 | port hp700 | | 955 | port 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 | |
965 | port mips64* | | 976 | port mips64* |
966 | hack compiler crashes on mips64* with optimization enabled | | 977 | hack compiler crashes on mips64* with optimization enabled |
967 | cdate Tue May 13 18:46:48 UTC 2014 | | 978 | cdate Tue May 13 18:46:48 UTC 2014 |
968 | who macallan | | 979 | who macallan |
969 | file src/external/lgpl3/gmp/lib/libgmp/arch/mips64eb/Makefile.inc: 1.6 | | 980 | file 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 |
973 | descr workaround for n32 gcc doing unaligned 64bit accesses when optimizing | | 984 | descr workaround for n32 gcc doing unaligned 64bit accesses when optimizing |
974 | pr 48696 | | 985 | pr 48696 |
975 | kcah | | 986 | kcah |
976 | | | 987 | |
977 | port vax | | 988 | port vax |