Commit Graph

215 Commits

Author SHA1 Message Date
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
riastradh 7c30fabe0e Remove dumplfs from the list now that it seems strict-aliasing-safe. 2016-06-15 14:11:15 +00:00
riastradh 7554812ac2 No more obvious strict aliasing violations here. 2016-06-15 13:57:26 +00:00
riastradh 356b70489c Kill another strict aliasing violation. 2016-06-15 13:47:26 +00:00
riastradh d947e13b5f This hack no longer exists since the switch to ipsec-tools in 2005.
Another strict-aliasing problem killed.
2016-06-15 13:29:30 +00:00
mrg e6e96483bf replace the previous hack with something that i believe is actually
correct and, more importantly ;), works properly.

thanks for riastradh for hints about which bit was actually broken.
2016-06-15 05:01:58 +00:00
mrg 6bfcf96505 build convert_endian() with "no-strict-aliases" optimiser attribute
to avoid some unknown miscompilation in endian_convert() that causes
ssh to exit on some output (for me, "cc -v".)

note in HACKS.  we should investigate this further if possible as
this seems to indicate a strict aliasing violation.  there certainly
are 32 and 64 bit object arrays being accessed with 8 bit accessors,
but i don't have time currently.
2016-06-15 02:12:14 +00:00
joerg bfeb1114e7 Drop CSU entry. 2016-06-04 11:25:43 +00:00
mrg d8ed176f44 move the ufs_lookup hack to the global section and update it to current
reality.  add a section for the crt hacks.
2016-05-10 19:32:47 +00:00
christos d04a36ae01 mention libmalloc hack 2016-05-04 22:42:40 +00:00