Commit Graph

175 Commits

Author SHA1 Message Date
martin
475e9a30d3 Document libc hesiod.c compiler workaround on ia64 2012-12-27 07:09:45 +00:00
msaitoh
7a1bc3ccf8 Add note about lib/libc/softfloat/Makefile.inc hack for arm.
Gcc has a bug in tree optimization. For adddf3, -INF + -INF returns 0 without
  -fno-tree-vrp. Debugging with -fdump-tree-all shows that
  softfloat.c.021t.cleanup_cfg is ok but softfloat.c.023t.ssa is broken.
2012-11-14 04:13:44 +00:00
nakayama
c6f7ea2041 The hack has been resolved in the revision 1.340 of
sys/arch/sparc64/sparc64/locore.s.
2012-03-03 03:21:16 +00:00
tsutsui
7407a6d451 Note libc/net/Makefile.inc hostname lookup -fno-tree-ter hacks for gcc 4.5 arm. 2011-12-24 05:05:55 +00:00
christos
d08c0f066a mention libgcc/emacs hack. 2011-11-08 23:11:42 +00:00
christos
5cea0d8271 Another binutils workaround 2011-10-29 20:59:30 +00:00
christos
12a1c915b2 mention another ppc64 hack. 2011-10-29 15:18:21 +00:00
christos
91d88b1f1a librt needs the ppc64 hack too. 2011-10-27 18:46:43 +00:00
christos
c4521bb3a0 mention ppc64 hack. 2011-10-27 17:21:27 +00:00
mrg
19d5bf7951 note the sparc / GCC 4.5.3 / NULL savefpstate IPI hack. 2011-08-15 02:29:38 +00:00
matt
fe6182cc62 Add note of gcc build HACKS for powerpc. 2011-03-12 08:03:06 +00:00
christos
1de4aac3ae mention crash ldscript. 2010-04-23 02:12:58 +00:00
sketch
b2b1aa5df6 typo 2009-01-11 21:02:36 +00:00
christos
6df24a7d9e mention 32 bit time_t remnants 2009-01-11 18:25:17 +00:00
tsutsui
094b7fe7c7 Add an entry for workaround in src/sbin/ifconfig/Makefile
for gcc -O1 loop optimize bug.
2008-11-29 15:31:18 +00:00
macallan
1d228fee4a add entry for the rtld.c __builtin_return_address(0) hack on powerpc 2008-09-27 03:57:37 +00:00
veego
cca63e16c3 Restore .hx support for avoiding unneeded regeneration of header files
Fix PR lib/39185

Partly restore the changes which were removed during the Heimdal 1.1 update:
src/lib/libasn1/Makefile 1.28 -> 1.29
src/lib/libhdb/Makefile 1.21 -> 1.22
src/crypto/dist/heimdal/lib/asn1/gen.c 1.8 -> 1.9

Add .hx support in 'new' heimdal libraries:
src/lib/libgssapi/Makefile
src/lib/libhx509/Makefile

Add a new entry in doc/HACKS for this changes.
2008-08-03 07:16:58 +00:00
mrg
c9553d73aa normalise a path 2008-08-02 04:37:54 +00:00
mrg
a128672389 note about hacks to avoid xorg warnings 2008-08-02 04:37:25 +00:00
lukem
f4f7ab9534 document workaround for PR#39192 2008-07-29 14:24:06 +00:00
agc
1aa0a071e2 Implement, and document, an ugly hack which allows cross-building of
NetBSD on Darwin - Mac OS X Leopard - to complete successfully

	hack   cross-building hack on Darwin
	mdate  20 July 2008
	who    agc
	file   src/distrib/common/Makefile.mdset       : 1.33
	descr
	       Darwin has problems with getopt() when used in mdsetimage -v,
	       due to the difference between BSD and libiberty() getopt
	       implementations, more fully described in
	       http://mail-index.netbsd.org/current-users/2008/06/27/msg003242.html
	       and the subsequent thread.  For just now, we just have an ugly
	       workaround not to call mdsetimage with the -v argument on Darwin
	kcah
2008-07-21 10:00:51 +00:00
gmcgarry
fb80c8cd2d Disable INCLUDE_CONFIG_FILE if compiling with PCC, since PCC cannot
handle 80KB string literals.  Documented as hack.
2008-07-12 11:50:07 +00:00
tsutsui
73085a8640 Update gcc4-sh3-bz2 entry. 2008-05-16 13:16:25 +00:00
tsutsui
3367ee4762 - add an entry of gcc4/vax ICE on compiling ddb/db_command.c
- note gcc version in a vax gcc 2.95 entry
- remove obsolete gcc 3.3.2/arm -fno-strict-aliasing
- use mdate and restore cdate in gcc4-m68000
2008-05-07 12:50:35 +00:00
tsutsui
6dc246f785 Update gcc4-m68000 entry again. 2008-05-04 15:42:12 +00:00
tsutsui
b52282c7c0 Remove obsolete hack entries.
XXX could someone please take a look at gcc 2.95/vax hacks?
2008-04-27 03:33:06 +00:00
tsutsui
6deb8b7d3c Update an entry for gcc optimization on m68000. 2008-04-27 03:10:36 +00:00
christos
8f949a45b8 undo previous 2008-03-28 21:18:24 +00:00
he
2d72e9e39b Note the build hack for racoon's privsep.c. 2008-03-28 18:14:23 +00:00
mrg
ecc90aa046 make all sun2 use -O0 and move most of the hacks out into just 3 files. 2008-02-09 02:37:21 +00:00
mrg
e6f4791d95 make sun2 build again with liberal use of -O0. 2008-02-05 02:41:15 +00:00
ad
ad6fd4484d -systrace 2007-12-31 14:10:41 +00:00
scw
93d2ec38c8 "port sh5" is no more, and its hacks have been undone. 2007-04-08 09:57:17 +00:00
chs
6979c39a36 fix a typo and remove one that's been removed from the code. 2007-01-08 17:41:21 +00:00
martin
fba603e221 Note crunched dhclient change with -fno-strict-aliasing hack. 2006-11-23 13:24:28 +00:00
skrll
1d68e44fcf Remove the hack that compiles dfa.c with -O1 on hppa. -O2 works fine. 2006-11-01 17:10:36 +00:00
skrll
12cd4ecc49 Remove a hack that's been fixed. 2006-10-30 16:46:42 +00:00
uwe
4adfd8b4bf The "gcc 2.95/vax can't handle __used__" hack has been fixed. 2006-10-29 23:02:25 +00:00
uwe
421ab7a955 G/c references to gawk that is no longer in our tree. 2006-10-27 22:31:21 +00:00
skrll
4fa11947d6 Remove the sparc64 PLT entry.
It's compatibilty code for the changing definition of the first four PLT
entries and is very likely never going to be removed.
2006-09-28 21:01:21 +00:00
martin
24ab9b3b97 Document RAS_END() duplcate label workaround 2006-09-02 21:32:13 +00:00
drochner
d7c62b7d6a document "float" rounding workaround on i386 2006-08-01 20:21:55 +00:00
christos
afa6be1803 mention the correct PR. 2006-07-31 18:39:32 +00:00
christos
95ce3f0b81 mention i386 machdep.c 2006-07-31 17:10:57 +00:00
mrg
7d067137a1 document the GCC4/vax -O0 hacks. 2006-07-01 06:00:41 +00:00
tsutsui
40acc0a810 - uninitialised -> uninitialized (for consistency)
- add sys/arch/m68k/m68k/pmap_motorolo.c rev 1.19 to
  the gcc4 wrong uninitialized list
2006-06-25 14:24:45 +00:00
mrg
9bf1d4a9b8 work around some GCC4 internal problems on m68000 platform.
document the hack, and update another GCC4 list.
2006-06-24 05:21:11 +00:00
skrll
f1713aebe3 Remove a hack that's no longer needed with gcc 3.3.6. 2006-06-15 10:55:02 +00:00
mrg
98bb9a5d9f remove sh3/gcc2 hack. 2006-06-02 19:45:25 +00:00
mrg
a4337fd012 update the uninit list 2006-05-25 09:05:40 +00:00
christos
2c895a14eb mention config hack. 2006-05-24 23:18:56 +00:00
mrg
53751ce0e9 - note sh3/vax mdreloc.c uninitialised variable warnings.
- note sh3 libbz2/gcc4 hack for blockstore.c
2006-05-21 04:19:12 +00:00
dan
60693294da note more gcc4 uninitialised appeasement (amd64 pmap.c) 2006-05-21 01:24:41 +00:00
mrg
84b833274a note ntp_request.c 1.4 2006-05-21 00:44:53 +00:00
dan
d0a17c26df note uninitialsed appeasement in libexec/ld.elf_so/arch/x86_64/mdreloc.c 2006-05-20 23:41:16 +00:00
christos
de7cebdcc7 remove ypserv from the gcc4 hacks since it has been fixed. 2006-05-20 20:34:29 +00:00
mrg
9200f66337 update the uninit gcc4 list a bit more. 2006-05-20 11:17:55 +00:00
mrg
45598cd240 update wrong uninitialised variables list 2006-05-18 18:48:42 +00:00
christos
2f5d3a02e9 Remove csu hack. It was not a gcc issue. 2006-05-17 17:09:43 +00:00
christos
86c6d5fcc9 mention i386 csu issue. 2006-05-17 16:42:59 +00:00
christos
3416405dae Explain which initialized variables gcc misses. 2006-05-15 04:55:13 +00:00
mrg
5f1d5cdb57 note that libsa/Makefile and crontab/Makefile have -Wno-pointer-sign and
-fno-strict-aliasing applied.
2006-05-12 18:06:29 +00:00
he
6dedaa9f94 List one more gcc 3.3.3 -Wuninitialized fix. 2006-05-12 13:32:50 +00:00
he
566420c2cf Note the latest -Wuninitialized warning, and how the source is typically
marked for the other such workarounds.
2006-05-12 07:25:10 +00:00
mrg
67b1d93cc7 note gzip & mopd pointer-sign hacks 2006-05-12 03:26:54 +00:00
mrg
1751f5c2bc update the lists for GCC4 uninit warnings and GCC4 pointer sign/strict
aliasing warnings.
2006-05-11 23:51:06 +00:00
mrg
3d0c01fd3e document the GCC4 pointer sign and strict aliasing problems (so far.) 2006-05-11 09:39:58 +00:00
mrg
06d7a2268d move gcc4 uninit warnings to the of the MI section. add pf.c 2006-05-11 01:10:13 +00:00
mrg
d7d8d3b134 document the bogus GCC4 uninitialised warning fixes. 2006-05-10 21:54:58 +00:00
tsutsui
3ce69693c2 Update entry of m68k gcc ra-colorize.c.
(fixed in gcc-3.3.3 at least on m68k, but not conformed on m68000)
2006-05-08 14:48:59 +00:00
he
02a48f9119 Document the "reduce optimization for make/buf.c" hack for hppa. 2006-05-08 11:09:01 +00:00
he
f1cd142fed Document the hack to make ipsend and iptest build for NetBSD/vax,
with a pointer to PR#32907 for further details.
2006-03-07 18:24:13 +00:00
scw
add941879c Document hack for gcc ICE compiling lib/libc/gdtoa/strtod.c for sh5. 2006-01-31 10:57:43 +00:00
jmc
37b9f7a1b0 Note needed hack for gcc/vax and using abort in a function pointer.
From Johnny Billquist
2005-12-13 05:56:23 +00:00
simonb
1541f2efdc Describe the mips shared linker load address fix hack in
src/sys/kern/exec_elf32.c rev 1.107.
2005-10-07 08:42:24 +00:00
he
88a7db403d Remove the hack related to -Wno-cast-qual, now that we can use
the __UNVOLATILE() macro to annul this warning more selectively.
2005-06-02 14:38:05 +00:00
he
f25c7d55fa Document the hack to compile sys/arch/powerpc/oea/pmap.c with
-Wno-cast-qual.
2005-06-02 10:25:22 +00:00
he
c8a976c70d Reduce optimization level for sh5 for one file which causes our gcc
3.3.3 to get an internal compiler error of type "can't split insn".
2005-05-26 18:33:36 +00:00
chs
a4ef51503f as a stop-gap measure to allow boot-from-disk to work on hppa,
add some padding to the end of struct scsipi_xfer on that platform.
2005-05-18 13:58:10 +00:00
chs
2393bb4272 build grep/dfa.c with reduced optimization on hppa to avoid a gcc bug. 2005-05-11 13:10:21 +00:00
jmc
6b7d5d6ef0 Gettext assumes a C99 environment with stdbool.h or configure would provide one
from a template. As we do a reach over build, for vax builds provide stdbool.h
locally from that template.
2005-05-09 17:19:06 +00:00
jmc
ff69cd3f50 The __used__ change doesn't work on 2.95/vax. Put an #ifdef back in for vax and
reverted it to __unused__ as it was before
2005-05-06 19:32:30 +00:00
tron
1f47028b14 Don't use "-std=c99" for NetBSD-vax because gcc 2.95.3 doesn't support it. 2005-04-05 11:56:09 +00:00
christos
6dfb4cf082 add macppc bind compilation work-around. 2005-02-22 18:47:09 +00:00
bjh21
e707e87c3f Correct file reference and add PR reference in
"gcc 3.3.2/arm sys/kern/uipc_socket.c".
2004-12-30 16:29:48 +00:00
he
69c4e2d46f Change the BIND hack for sh5 to point to the new files requiring
lowered optimization level after import of the new BIND.  The old
hack is no longer required.
2004-11-11 00:40:13 +00:00
skrll
ba6bc97533 Fix typo as provided by Giorgos Keramidas in PR 27186 2004-10-08 07:07:26 +00:00
junyoung
cd6acd0b46 Improve description on gcc-strict-aliasing. 2004-08-09 04:30:31 +00:00
junyoung
87105b4d0e Use -fno-strict-aliasing to compile usr.sbin/racoon/racoon and
document it as a hack. PR toolchain/26516.
2004-08-06 03:37:55 +00:00
he
71353699e4 Modify latest vax entry to instead point to the commit by mhitch, now
that my change has been backed out.
2004-06-06 17:11:33 +00:00
he
2ec10fcf9f Document workaround for vax nslexer.c build problem, workaround
committed to lib/libc/arch/vax/net/Makefile.inc.
2004-06-06 13:29:23 +00:00
cl
719c5983ec Workaround for gcc 2.95.3 failing to initialize structures
and/or unions inside structures using nested designators.
Should be reverted when gcc >=3.3.3 is ready for vax.
2004-05-13 15:44:04 +00:00
uwe
5d3bac44ea Drop workaround for toolchain/22489 now that the fix for it has been pulled
from the gcc current.
2004-04-26 09:17:16 +00:00
martin
3d672d7ea6 Update uvm_bio.c 32bit sparc64 optimization entry. 2004-03-22 00:46:06 +00:00
martin
9bea7e2495 Not uvm_bio.c disabled optimization on sparc64 32bit kernels. 2004-03-21 13:17:14 +00:00
uwe
1c6561f84a Document the workaround for toolchain/22489 (gcc optimization/11937)
that sh3 needs with gcc3.
2004-02-22 01:31:16 +00:00
skrll
eba79970b1 Remove the -fno-gcse-lm hack now that it is no longer needed. 2003-12-15 14:57:54 +00:00
scw
f98f231a23 Document the sh5 libbfd elf32.c/elf64.c hack. 2003-12-07 21:13:39 +00:00
scw
525f9bf302 Note some hacks required for gcc3 on sh5. 2003-12-07 19:58:25 +00:00
simonb
20627a20ec Document ns32k gcc332 ICE when compiling libcpp's cppmacro.c. 2003-12-07 12:52:33 +00:00