Commit Graph

224 Commits

Author SHA1 Message Date
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
maya a2fcb60250 Add a hack entry for libpthread one section 2019-05-14 02:53:16 +00:00
christos f4e5a5c486 mention rtld vax hack 2019-04-03 21:40:24 +00:00
scole d6c8906145 Remove obsoleted ia64 gcc 4.5.3 hacks 2019-04-03 20:34:18 +00:00
scole d07fad4d63 Add ia64 ski emulator hack 2017-04-09 19:02:23 +00:00
maya 85fb2748b6 Remove already fixed HACKS entry. correct path to makeinfo Makefile for
easy reference.
2017-03-11 09:12:13 +00:00
maya b0f6bc04c6 GC some GCC 4.8 specific sh3 HACKS entries.
These existed to avoid compile errors, and haven't been effect
since gcc.old was removed.
2017-02-22 12:17:16 +00:00
rin 96f404cffb sorry, correct English grammer 2017-02-16 01:05:01 +00:00
rin 4ec55dfcea lcWrap.c is miscompiled on vax, which results in input failure via XIM.
Besides, some clients, e.g., pkgsrc/x11/kterm, receives SIGSEGV.
2017-02-16 01:02:28 +00:00
rin 72128ffa3a also compile poly1305.c with -O0 on vax to address ssh login failure from/to
some hosts
2017-02-14 09:59:16 +00:00
rin 092680b00f correct grammar 2017-02-14 09:07:35 +00:00
rin 98803e7305 add hack for libmandoc on vax:
mandoc(1) receives SIGILL in in_line_argn() from mdoc_macro.c
2017-02-14 09:05:17 +00:00
rin 79ef876622 add hack for libssh on vax 2017-02-14 09:00:03 +00:00
rin 78470a5a42 PR port-vax/51967 GCC 5.4 aborts on vax due to SIGILL for cc1
As a workaround, compile dse.c with -O0.
2017-02-13 22:31:09 +00:00
christos 214892fd17 add sparc64 hack 2017-02-11 04:59:01 +00:00
rin 9766216654 Remove ifconfig hack on m68000. I've confirmed that the problem has already
gone with TME.
2017-02-08 23:13:59 +00:00
he ba2f6aa5e3 Per the discussion in PR#20924, remove the HACK entry for intvec.S on vax. 2016-10-20 07:33:28 +00:00