Commit Graph

240 Commits

Author SHA1 Message Date
mrg f822758108 document x86 curlwp/curcpu hack for GCC 12. 2023-09-04 21:01:15 +00:00
rin d71f888d49 doc/HACKS: PR port-sh3/56311 has been fixed. 2023-07-18 03:01:35 +00:00
rin f47539106d doc/HACKS: Note OPENSSL_NO_EC_NISTP_64_GCC_128 hack for aarch64eb. 2023-07-09 00:01:55 +00:00
rin 2bd1369fb8 doc/HACKS: Document PR port-alpha/57511 2023-07-07 08:39:23 +00:00
martin f0e8611029 Not hacks to use old binutils (2.34 instead of 2.39) on mips64*
(but not mipsn64*).
2023-05-07 12:43:32 +00:00
christos 34454f1b45 new vax compiler issues 2023-01-22 20:41:25 +00:00
christos 19c9d1e0b0 Now that the default page size is 4K again for x86_64 with the binutils
change to default to -z separate-code, remove the previous hack.
2023-01-06 15:48:29 +00:00
christos eb2e80c2bd mention binutils hack 2022-12-30 02:05:38 +00:00
jakllsch 78eb21a033 On VAX, compile gdtoa/misc.c at -O0 to avoid incorrect machine code
resulting in some doubles printing as garbage.
2022-12-04 22:35:15 +00:00
rin 478df4960d Document -O0 hack for ibm4xx copy{in,out}() for clang 13.0.0. 2022-09-12 08:11:51 +00:00
rin 8486e82fc6 Note that aes_ccm_tag() still fails with GCC 10.4 with -O2 on m68k. 2022-08-10 13:38:26 +00:00
christos 998b891be9 document gomoku 2022-05-31 19:14:10 +00:00
rillig 4cf69f2f8a doc/HACKS: add bug report for internal compiler error on alpha 2022-04-10 19:54:57 +00:00
martin 23bef704a2 PR 56789: document gcc bug workaround for -ftrapv on alpha. 2022-04-10 13:26:47 +00:00
thorpej f5f80c0753 Temporary hack to work around incorrect/missing unwind info for
the t_sig_backtrace test case on ARM when compiled with optimization.
2021-11-23 23:29:55 +00:00
nia b285c3f724 libcrypt hack for vax 2021-10-13 20:11:54 +00:00
rin 013c9183cf PR port-sh3/56311
Correct misinterpretation for the cause of the problem, and link to
the bug report for upstream.
2021-07-16 10:02:50 +00:00
rin e07b90ff50 PR port-sh3/56311
Document -O0 workaround for initdecl() in doc/HACKS.
2021-07-15 08:02:47 +00:00
thorpej 95bcd082db Remove jemalloc and gdb hacks for alpha; root cause has been addressed. 2021-07-06 12:42:12 +00:00
hgutch f20bc1e7bd Update gcc9-sh3-lint - instead of disabling optimization for lex.c on
sh3, rather revert the gcc change that (seemingly accidentally) broke
this.
2021-07-05 11:16:56 +00:00
rillig c98dd4a405 lint1: add bug report for internal GCC compiler error 2021-06-23 07:11:41 +00:00
martin cbd413d1ce Document sh3* lint hack for gcc 9 2021-06-22 13:02:52 +00:00
rin c9540f6f13 PR toolchain/55837
Get rid of -O0 hack for GDB for hard-float arm. This was necessary because
libunwind did not support s0-s31. Note that for *most* cases (not all!),
-O0 stops using VFP registers for general purposes.

Also note that this hack was incomplete. We had to compile every functions
with -O0, that can be unwinded. Otherwise, GDB crashed every time exceptions
were raised.
2021-05-31 22:33:19 +00:00
christos e30fc55584 mention gdb hack discovered by rin. 2021-05-08 12:27:21 +00:00
rin ab208996b3 -O0 hack was reintroduced to jemalloc/rtree.c for GCC9 on alpha. 2020-12-16 01:35:39 +00:00
wiz 0fff63c9f6 comparision -> comparison 2020-12-02 14:20:19 +00:00
rin 75fa0b3cd9 GCC 9.3 miscompiles dwarf2{expr,loc}.c with -O2 for earmv5hf{,eb}
(-O1 is fine). This is a new regression introduced in GCC9.

For everyone's safety, extend -O0 hack to dwarf2{expr,loc}.c for
all arm variants with GCC >= 8.
2020-10-08 08:31:37 +00:00
rin dbe4bf45a3 PR port-alpha/54307
GCC 9.3 seems to be able to compile rtree.c with -O2:

- No new regressions in ATF.
- System survives over a night, at least, under heavy loads.

On the other hand, unfortunately, GCC 9.3 still miscompiles tcache.c
with -O2 or -O1. For example, even ``gcc -g hello.c'' fails with ICE
if tcache.c is compiled with -O[12] in libc.
2020-10-07 07:35:28 +00:00
rin 098da78686 Update gdb/dwarf2expr.c hack for earmv7hf{,eb}; the situation does not
change even for GCC 9.3 with ``memcmp'' fix.
2020-10-05 13:32:31 +00:00
rin d1007566db Update aes_ccm_tag() hack for m68k.
Even with ``memcmp fix'', GCC 9.4 miscompiles this function for -O[12].
But the situation was slightly changed from that with GCC 8.3:

* -O0 and -O1 work but -O2 fails for 68060 and 68040 (real hardware)
* -O0 and -O2 work but -O1 fails for 68020 and 68010 (TME)
2020-10-05 13:20:30 +00:00
rin 06cb72d7e9 Remove -fno-omit-frame-pointer hack for sun2 kernel. 2020-10-05 10:44:09 +00:00
christos 504f830372 mention strtod hack 2020-09-18 14:09:47 +00:00
rin ed4d086548 Add hacks for GCC8 vs m68k ports:
compile aes_ccm_tag() with -O0 for GCC8
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/crypto/aes/aes_ccm.c#rev1.5

compile kernel with -fno-omit-frame-pointer for GCC8
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/arch/sun2/conf/Makefile.sun2#rev1.25
2020-08-10 06:46:27 +00:00
maxv e4eb677baa Pass -Wno-unused-command-line-argument for LLVM, discussed on
tech-toolchain@.
2020-05-10 06:38:24 +00:00
snj d74cf4b1aa netsmb is no more 2020-05-06 14:33:52 +00:00
rin 40fc0808c4 Hack "gcc-4.5 arm without -fno-tree-vrp generate broken code" was removed in
src/lib/libc/softfloat/Makefile.inc rev 1.21:

http://cvsweb.netbsd.org/bsdweb.cgi/src/lib/libc/softfloat/Makefile.inc#rev1.21

Now, all tests mentioned in the entry are passed for softfloat arm.
2020-04-30 12:44:41 +00:00
rin 482ad8d16d lmcconfig(8) was removed. 2020-04-30 12:35:01 +00:00
rin 013fdb9ec3 Add missing dates and revisions. 2020-04-30 12:32:16 +00:00
rin c9bd6518f1 PR toolchain/54820
PR toolchain/54877

earmv7hf{,eb}: compile gdb/dwarf2expr.c with -O0 for GCC8

http://cvsweb.netbsd.org/bsdweb.cgi/src/external/gpl3/gdb/lib/libgdb/Makefile#rev1.22
2020-04-29 11:08:40 +00:00
leot b3e8ee064c Hack removed in src/external/bsd/nvi/usr.bin/nvi/Makefile,-r1.21
It is no longer needed, per PR bin/54656.
2020-04-12 17:49:00 +00:00
jdolecek 2b7b5c0573 smbfs is no more 2020-04-04 16:25:17 +00:00
christos 3f09de0c7b more like this 2020-01-30 00:43:58 +00:00
christos b0c01ce733 same hack different place 2020-01-29 23:44:00 +00:00
christos 6caa15c4fc powepc/clang hack 2020-01-29 22:43:53 +00:00
rin c964b49474 Describe that both GCC 7.4 and 8.3 fail in the last entry. 2019-11-03 07:10:42 +00:00
rin 283bd9784d Describe workaround for PR port-alpha/54307. 2019-11-01 20:55:55 +00:00
christos fea19e49d2 more hacks 2019-10-30 00:26:54 +00:00
christos bd782616ef sh3 now 2019-10-29 21:32:35 +00:00
christos 042eb6dcc9 gcc lossage 2019-10-29 21:16:25 +00:00
christos 2565656c4b another vax -O1 2019-10-28 18:41:23 +00:00