Commit Graph

147141 Commits

Author SHA1 Message Date
lukem a6f0ba44b5 When creating BASE.rom, don't use BASE.bin as a temporary filename,
since the latter is a valid target name.
2006-05-13 02:47:03 +00:00
lukem 667bf36cad support MAKEVERBOSE 2006-05-13 02:33:40 +00:00
uwe e37068ccdf Force building and installing libgcc_pic.a when MKPIC=yes even when
MKPICINSTALL=no, as it is required to build shared libraries.  Move it
to comp-c-lib set to match crtbeginS.o
2006-05-13 01:50:51 +00:00
mrg 6688c1d37d merge the LIBGCC_PICSUFFIX and NETBSD_NATIVE support from GCC3.
now hello.c and hello.cc both work!
2006-05-13 01:49:30 +00:00
mrg f2a1fc4b01 actually, define STANDARD_LIBEXEC_PREFIX as STANDARD_EXEC_PREFIX in
the NETBSD_NATIVE case, since that's what it really is.
2006-05-13 01:48:14 +00:00
mrg 6e5288e9d6 STANDARD_LIBEXEC_PREFIX needs to end with a /. 2006-05-13 01:43:17 +00:00
mrg 169832563d with GCC4 we *need* to pass -fno-unit-at-a-time otherwise GCC
reorders things breaking _init() and _fini().

for i386, the {init,fini}_fallthru() functions were being output
_before_ the _init()/ _fini(), and instead of falling through to
the rest of the .init/.fini section, it would fall through to
_init()/_fini() again, and again, and again, until the stack was
exhausted.

now i386 works, but i have not checked that this works for
sparc64 as well.
2006-05-13 01:40:34 +00:00
mrg a281677257 properly build the version string with spaces. 2006-05-13 01:18:37 +00:00
gdamore d92bd53f93 Correct two problems with established timings. First, the wrong hex value
was being read due to using the same byte twice.

Second, the ordered list of names was *backwards* in the _edid_modes list.
2006-05-13 00:39:19 +00:00
perseant 285f68c114 Fixes to address the "vinvalbuf: dirty blocks" panic that can occur when
many inodes are cleaned at once.  Make sure that we write all the pages
on vnodes that are being flushed, even if we don't think there's room;
drain v_numoutput before lfs_vflush() completes.

Also, don't allow a vnode that is in the process of being cleaned to be
chosen by getnewvnode(); this avoids a segment accounting panic in the case
that a large number of inodes are fed to lfs_markv() all at once.
2006-05-12 23:36:11 +00:00
uwe ada9aa3cee De-__P. 2006-05-12 23:35:24 +00:00
dsl 2073f7f26c Fix use of uninitialised variable.
I think the code it correct - but since it is only relevant when setting
the default boot partition (for mbr_bootsel) to an extended partition
it probably doesn't matter too often!
2006-05-12 21:22:34 +00:00
rpaulo 2134afa7ad By popular demand, this should be done by config(1). 2006-05-12 20:39:39 +00:00
perseant 45dc123d6e Be more careful about checking return value of {m,re}alloc().
In determining when to stop reading segments when counting bytes (-b flag),
total the sizes of the blocks we're actually writing instead of assuming
they are all full blocks: many could be fragments or inode blocks.  This
increases the number of segments per Ifile write, markedly improving the
efficiency of the cleaner in the small file case.
2006-05-12 19:33:02 +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
mrg c08a446c31 set AR and RANLIB to the host versions in MAKE_ARGS - otherwise the
build of the "build-libiberty" fails due to these being set to "".
2006-05-12 18:01:13 +00:00
mrg c80d901665 put MAKE_ARGS in the gmake command line. 2006-05-12 18:00:27 +00:00
mrg 6a3e7ce9e1 apply -fno-strict-aliasing to changepw.c 2006-05-12 18:00:06 +00:00
dogcow dcc4a379f8 as mrg@ points out, including <bsd.own.mk> is the proper fix. 2006-05-12 16:45:12 +00:00
nathanw a255fcef8d Fix a typo in a comment. 2006-05-12 16:01:05 +00:00
christos fc079150a4 prepend cvs_ to all the x* functions to avoid coverity conflicts with other
programs.
2006-05-12 15:41:53 +00:00
christos 7c8717d509 Revert previous coverity fixes because they were caused by the wrong model
(xstrdup() from xlint was used instead of the locally defined one). Replace
with assertions instead (from Mark D. Baushke)
2006-05-12 15:33:17 +00:00
he 6dedaa9f94 List one more gcc 3.3.3 -Wuninitialized fix. 2006-05-12 13:32:50 +00:00
he c4447252c1 Appease gcc 3.3.3 once more, marked with /* -Wuninitialized [many] */,
as it fixes build problem for many archs.
2006-05-12 13:31:56 +00:00
wiz f62810c5ba XFree86-4.6.0 is out. 2006-05-12 12:49:09 +00:00
tron 2d77f6d3d5 Add "iscsi" target which install the iSCSI configuration files.
This will stop e.g. "/etc/security" complaining about these files
missing after a sucessful run of "postinstall"
2006-05-12 12:43:28 +00:00
tsutsui 337a4c703f According to the i8259 manual, EOI, R, and SL bits belong to OCW2 register
so rename them OCW3_* -> OCW2_*.
2006-05-12 10:58:12 +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
he eb8d767d84 Sorry, fix syntax error in previous. 2006-05-12 07:20:13 +00:00
he afd5b9b6d3 Appease gcc 3.3.3 -Wuninitialized warning; fixes build problem for
a multitude of archtectures (prep, alpha, i386, acorn32 and probably
more).
To be documented in doc/HACKS.
2006-05-12 07:19:43 +00:00
tron ef526ff868 Check for and install "/etc/rc.d/iscsi_target". 2006-05-12 07:16:47 +00:00
dogcow 205e5bf7d6 fix typo: did.9 -> edid.9 2006-05-12 07:07:51 +00:00
dogcow c242ce750a deal sanely(?) with when HAVE_GCC is undefined. 2006-05-12 06:43:55 +00:00
dogcow bbea9a711c add more HAVE_GCC == 4 protection 2006-05-12 06:08:47 +00:00
simonb c1924fc56d KNF, ANSIfy, white space clean up. 2006-05-12 06:05:22 +00:00
skrll 4fb473c54c Fix some comments. 2006-05-12 06:01:02 +00:00
jdc fa72ac1da4 Add usr/bin/sort and install.sub to prepare.fs.
Should fix PR port-atari/33455 by Alan Hourihane.
2006-05-12 05:50:30 +00:00
skrll a337e06c5e ANSIfy 2006-05-12 05:42:36 +00:00
lukem a6538b604a LDFLAGS is for CC not LD. 2006-05-12 04:29:08 +00:00
lukem 68908e2212 Convert to using CC instead of LD, as LDFLAGS is for CC not LD. 2006-05-12 04:28:18 +00:00
skrll 6206b7dc5f P_PROFIL is held in p_flag of struct proc so test for it there. 2006-05-12 04:26:40 +00:00
lukem 143c145a8f Only use -Wno-pointer-sign for gcc4. 2006-05-12 03:52:05 +00:00
mrg abeaa4f60d apply -Wno-pointer-sign with GCC4. 2006-05-12 03:29:11 +00:00
mrg 67b1d93cc7 note gzip & mopd pointer-sign hacks 2006-05-12 03:26:54 +00:00
mrg 52874db1aa since we rename and provide a weak symbol for MD2Transform make it non-static. 2006-05-12 02:49:00 +00:00
mrg 642ce2be87 support GCC4:
- look in gnu/dist/gcc4
- don't build fortran
- use /usr/bin/env -i so that gmake works (XXX - breaks from MAKEFLAGS
  in the build.sh generated makewrapper.)
- use gmake and Makefile.gmakehost
- update .native/.configure_done target
2006-05-12 02:12:37 +00:00
mrg f9d28bd46c - ensure $MAKE is set
- support $MAKE as gmake for getvars()
2006-05-12 02:07:59 +00:00
mrg 8794aeca0e support CPPFLAG_ISYSTEMXX for GCC4. 2006-05-12 02:04:55 +00:00
mrg 38ef023f65 like we do for -Wno-traditional, remove -Wstrict-prototypes and
-Wmissing-prototypes from C++ since those are always requird for C++.
2006-05-12 02:03:35 +00:00
mrg 5063b7a180 apply -Wno-pointer-sign with GCC4. 2006-05-12 02:01:15 +00:00