Commit Graph

118159 Commits

Author SHA1 Message Date
lukem
58d2d9a196 Set _LIBLDOPTS to set -Wl,-rpath-link -R -L appropriately based
on the setting of ${SHLIBDIR} and ${SHLIBINSTALLDIR} (_not_ ${_LIBSODIR}).

Fixes cruel and unusual ^W^W^W obscure native-build and not-so-obscure
cross-builds problems I was having with shared libraries with a
non-base LIBDIR (e.g, /usr/X11R6/lib) that use LDADD to pull in other
libraries from /usr/lib (such as libm) which are really in /lib and the
symlink from ${DESTDIR}/usr/lib/libm.so to /lib/libm.so.N.M was confusing
the linker.  Stuffing -rpath-link ${DESTDIR}/lib in solves the problem.

This should mean that shared libraries that depend upon other shared
libraries in other directories should DTRT in a DESTDIR (cross-)build...

Inspired by _PROGLDOPTS in <bsd.prog.mk>
2003-09-30 07:24:23 +00:00
lukem
06b22cf0b9 Use '${DESTDIR}${somepathvar}' instead of '${DESTDIR}/${somepathvar}'.
Suggested by Matt Thomas.
2003-09-30 06:41:29 +00:00
lukem
98cb2b51cf clarify which bits of xserver we are most interested in 2003-09-30 06:39:09 +00:00
lukem
312f747986 Invoke ./checkflist with ${CHECKFLIST_FLAGS}, so that the end-user
can set CHECKFLIST_FLAGS="-e" in mk.conf so that extra files in
$DESTDIR are `non fatal'.

Remove unused '${CHECKFLISTFLAGS}' (which allowed selection of
different checkflist target in maketars target)
2003-09-30 06:26:37 +00:00
lukem
38ae235c4f * add -e; extra files are not fatal
* add -m; missing files are not fatal
* use  ${MKTEMP} -d  instead of home-grown tempdir creation code
2003-09-30 06:23:43 +00:00
matt
21b18140ed Add -I${X11SRCDIR.xc}/config/${HOSTPROG} 2003-09-30 05:58:56 +00:00
lukem
9eb4566d27 * use ${MKTEMP} -d instead of home-grown tempdir creation code
* use $(...) instead of `...`
* fix a recent modification to follow the same coding style as the
  rest of the file...  (mmm, consistency)
2003-09-30 05:07:40 +00:00
lukem
02ec5b66b9 add MKTEMP=${TOOL_MKTEMP:Q} to SETSENV 2003-09-30 04:58:20 +00:00
mycroft
4aa6d02a2d Maybe I'm just slow, but having diffs in the wrong direction confuses me... 2003-09-30 04:20:24 +00:00
mycroft
5e57353b7b Add P1003_1B_SEMAPHORE. 2003-09-30 03:57:36 +00:00
mycroft
af8bef6910 Catch up with MAXINTERP changing. 2003-09-30 03:41:33 +00:00
mycroft
7f2125f83b sysctl has moved. 2003-09-30 03:34:42 +00:00
mycroft
afea89cace Make this test actually *work*... 2003-09-30 03:29:08 +00:00
thorpej
4a178080ab Note new i2c code. 2003-09-30 00:39:19 +00:00
thorpej
2652188cc4 New generic I2C framework. Supports bit-bang and "intelligent" I2C
interface controllers (of varying intelligence levels).

Contributed by Wasabi Systems, Inc.  Primarily written by Steve Woodford,
with some modification by me.
2003-09-30 00:35:30 +00:00
christos
f32195ffa6 turn off calendar -a by default and mention why. 2003-09-30 00:23:23 +00:00
christos
36b4e0b6e7 Fix off-by-one in PRC_NCMDS check. From FreeBSD via OpenBSD 2003-09-30 00:01:18 +00:00
grant
d2b2b89242 typo in comment 2003-09-29 23:31:04 +00:00
matt
de203a6459 Fix GCC3'ism's 2003-09-29 22:54:28 +00:00
jonathan
ffa9f8f5aa No copyrignt notice here (caught by Sam Leffler). Add the same two-clause
copyright I sent to Sam Leffler for the FreeBSD version.
2003-09-29 22:35:43 +00:00
matt
2298bf0a7a trap.c: Set ksi.ksi_trap to frame->trap.
sig_machdep.c:	Use ksi->ksi_addr in compat code to supply the
		'code' argument to the old signal routines.
2003-09-29 22:24:53 +00:00
matt
ec1689548e Set ksi_addr to frame->code. 2003-09-29 22:20:52 +00:00
tls
b911732f2a Increase default socket-buffer sizes from 16K to 32K. This increases
throughput significantly in a wide variety of test cases, including
local gigabit ethernet with both jumbo and standard frames,
transcontinental (U.S.) connections with e2e bandwidths ranging from
10Mbit/sec to 155Mbit/sec, and on a variety of test connections
between the NetBSD Project public servers and machines in Australia.

The impact of this change is less dramatic for high-delay connections
when Path MTU is in use but still measurable.

For optimal performance on local gigabit networks, a higher socket
buffer size (at least 64K) will still yield a substantial improvement
in performance, but 32K gets us most of the way there in my test
cases, with only a cost of _doubling_ memory use per socket rather
than _quadrupling_ it.

N.B. Windows NT, at least since Win2k SP2, uses a default socket buffer
     size (or their analogue thereof) of 64K, which is a useful data
     point.
2003-09-29 21:39:35 +00:00
dsl
13fd6f5a25 Fix rmdir -p x/y/z//
Remove redundant code.
2003-09-29 21:11:15 +00:00
matt
050d126a03 Add SA_SIGINFO support for VAX. 2003-09-29 21:04:53 +00:00
dbj
5c09d20130 Declare fs_old_flags and fs_flags as unsigned.
This fixes a bug introduced in revision 1.120 of ffs_vfsops dated 2003/09/13
which results in fs_flags having a value of 0x7fffff00 when a superblock
is updated to use the new layout.
Discussed in http://mail-index.netbsd.org/tech-kern/2003/09/28/0003.html
2003-09-29 20:34:23 +00:00
augustss
1aa1d2f8e2 The umass attach can fail in many ways. Print a message about why it
failed instead of just being silent about it.
2003-09-29 20:04:25 +00:00
mycroft
100f87c7ae Move several files (e.g. zipcodes) from base to misc. 2003-09-29 19:33:06 +00:00
martin
feb5c96dad In the thread support functions only transfer those registers, that fit
into our struct fpreg64. This avoids gdb crashing due to smashed stack
when debugging threaded programs.
2003-09-29 17:47:26 +00:00
yamt
0dc0c83b61 remove redundant prototypes. 2003-09-29 15:12:08 +00:00
tsutsui
e67b04670b Remove '#' from if/endif, otherwise it fails on elf64 environment.
From Christopher SEKIYA.
2003-09-29 14:34:44 +00:00
scw
5b05921978 Copy our pci_chipset_tag_t into wi_pci_softc instead of a pointer
to pci_attach_args. The latter is allocated on the stack during auto-
configuration and so will not be valid after that time.

It's amazing how the old code worked for so long. I guess pci_attach_args
is allocated deep in pid#0's kernel stack on most platforms.
2003-09-29 14:10:35 +00:00
jmmv
43a170e323 +AFU 2003-09-29 12:44:30 +00:00
rearnsha
f539610cfa When allocating a common object, ALIGN is in bits, but common expects
bytes.  So divide by BITS_PER_UNIT.  Fixes over-allocation of
common objects and thus reduces the BSS by approx 75%.
2003-09-29 12:40:35 +00:00
blymn
6adf4a4e77 new_item fixes:
* return NULL to indicate an error if a NULL name is passed
	* fix a crash if description is NULL
Thanks to Julian Coleman for finding and fixing these.
2003-09-29 12:32:24 +00:00
augustss
95b435b7b3 Update URLs. From PR 23004. 2003-09-29 11:54:26 +00:00
wiz
9326479dd9 Fix typos; new sentence, new line; fix name in license (ok'd by manu);
sort sections; sort SEE ALSO; drop trailing whitespace.
2003-09-29 10:05:35 +00:00
cb
93491c15d3 fix O_NOFOLLOW for non-O_CREAT case.
Reviewed by: christos@ (some time ago)
2003-09-29 10:04:03 +00:00
manu
855db7049d Setup to run Darwin binaries 2003-09-29 09:56:04 +00:00
wiz
37ac1db454 available, not avaliable. From miod@openbsd. 2003-09-29 09:50:21 +00:00
scw
960dfae23f Define ELF32_MACHDEP_ENDIANNESS according to target byte order. 2003-09-29 09:08:20 +00:00
lukem
1024ddb55e regenerate for "%" prompt update 2003-09-29 07:58:01 +00:00
lukem
8a3d32e99e provide a %' for the non-root examples, as we show #' for the root prompt. 2003-09-29 07:55:17 +00:00
simonb
953b5b465b Add a dependancy on assym.h; helps "make -j N" kernel builds. 2003-09-29 05:14:23 +00:00
junyoung
4c47dc9339 Fix typo in comments. 2003-09-29 04:03:55 +00:00
jdolecek
c82b56d651 constify a little 2003-09-29 03:22:58 +00:00
mrg
0aad2d6101 - convert to new aprint*() autoconfig print mechanism
- clean up some magic numbers
- make 1.6 friendly
2003-09-29 01:53:02 +00:00
cl
e1614ccdf9 Cast through (void *) to appease gcc3. 2003-09-29 01:20:41 +00:00
lukem
0f9e6cf359 Add LIBSTDCXX (for usr/lib/libstdc++.a).
Sync LIB* documentation with reality.
2003-09-29 01:06:37 +00:00
simonb
e74fba6f88 Extra columns appeared in one line of the "Memory statistics by type"
header in '94 and '97.  Grow the other line a little so that it looks
pretty again.
2003-09-28 23:31:48 +00:00