Commit Graph

215 Commits

Author SHA1 Message Date
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
mrg dcbb0b441f note binutils/ld/ldlex.c hack 2003-12-05 03:28:38 +00:00
ragge 302ec37ca8 Note that gawk is compiled without optimizing on vax. 2003-11-08 17:21:15 +00:00
he 842be31a16 Document some of the recent "compile fixes for -Wuninitialized" for
the vax port, to be reviewed when gcc 3.3.2 for vax is ready.
2003-11-06 00:37:14 +00:00
mrg f80e165d7f document the m68* lossage with gcc/ra-colorize.c. 2003-11-05 00:50:05 +00:00
mycroft 772577a82c Separate by port, and remove the m68k hack. 2003-10-29 21:31:33 +00:00
skrll c5a4c60e2e Compile sys/kern/uipc_socket.c -fno-strict-aliasing for now. PR 23044. 2003-10-28 20:12:00 +00:00
he bfc0aec0d7 Consolidate latest HACK entry into already existing entry documenting
same problem.
2003-10-28 14:26:47 +00:00
he 4bd87960fa sys/dev/ata/wd.c causes spurious warning about blkno not
being initialized before used.  This appears to be a bug
specific to (at least) the m68k target, and will be reported
to the GCC maintainers.
2003-10-28 12:11:31 +00:00
mrg 902f36f19f note mdsetimage/installboot sun2/gcc3 hacks. 2003-10-28 08:22:48 +00:00
cl b8d68ee313 note 'm68k {u,}int64_t used uninitialized' bug.
add reference to gcc bug report.
mark all (known) occurrences.
2003-10-28 02:01:46 +00:00
wiz df62a20071 no way, not now way. 2003-10-27 08:07:58 +00:00
simonb c0a89c7e21 Note the GCC PR for the Duff's device warning. 2003-10-27 07:31:07 +00:00
simonb 075b65698a Use -Wno-error to compile a file with Duff's device and document this as
a hack.
2003-10-27 07:26:17 +00:00
mycroft 7c363a7497 Remove dead hacks. 2003-10-26 16:35:18 +00:00
lukem 6c22027ca8 On MACHINE_ARCH==arm, compile newsyslog(8) with -fno-gcse-lm.
Fixes PRs [toolchain/22986] [toolchain/23002] [toolchain/23217]
2003-10-26 01:56:54 +00:00
skrll b9c8a77380 Backout previous - sparc* and i386 have switched to gdb 5.3. 2003-09-26 13:39:49 +00:00
martin bcc978577d Bye, bye, sparc64 hacks. 2003-09-19 16:41:58 +00:00
mrg f4fc0bf370 make i386 & sparc* output DBX_DEBUG format ("-gstabs") by default for now.
XXX: back this out when these platforms switch to GDB 5.3.
2003-09-19 08:43:12 +00:00
he eda774d889 Belatedly make a note of the cast for LINUX_USRSTACK and USRSTACK made
to get the sun3 port to compile.  Briefly discussed with mycroft.
2003-09-09 13:40:59 +00:00
uwe a6c91a4aa0 Remove mention of gcc-3-libtelnet hack.
The hack was removed from lib/libtelnet/Makefile rev 1.16, following
the lib/libtelnet/kerberos.c revision rev 1.10 that fixed the original
problem.
2003-08-14 15:08:32 +00:00
salo 0a6047a968 netbsd.org->NetBSD.org 2003-07-26 17:24:44 +00:00
scw 08cfcbf2ee Document the SH5 toolchain hack for pthread_lock.c. 2003-05-16 23:43:29 +00:00
jdc 0ed7982550 Remove curses \E[m hack - fixed in setterm.c : 1.36.
Add curses hack mentioning colour swap when real fix is to enhance termcap.
2003-04-06 10:12:20 +00:00
he 0ed8d3ba23 Document hack/workaround for PR toolchain/20924. 2003-03-28 21:15:20 +00:00
lukem cf738336cd move doc/* -> basesrc/doc/*, except for doc/MIRRORS, which is not used
anymore (we refer to http://www.netbsd.org/mirrors/ now)
2002-09-21 08:17:32 +00:00