Commit Graph

3606 Commits

Author SHA1 Message Date
skrll
688c5db149 Re-run mknative for earm. It helps if GDB can read ELF binaries. 2013-04-17 08:15:19 +00:00
christos
ea65093059 stub out for now 2013-04-14 16:52:47 +00:00
christos
1dd1e91a24 add a stub for arm 2013-04-14 16:39:59 +00:00
christos
831a981593 Use -Wl,-B{static,dynamic}, using -Bstatic does not work because all the
flags arguments are passed to collect2 in front.
2013-04-14 16:28:57 +00:00
christos
18e8a81233 The common fields of the socket should be initialized in one place since
we are the socket provider. Fixes crash with "rndc status", where accepted
sockets did not have their method fields initialized!
2013-04-14 13:18:23 +00:00
christos
ca316180bc initialize the omapi subsystem early so we can allocate interfaces. 2013-04-14 01:51:39 +00:00
christos
211104fe6e How could this possibly ever have worked with threads? It forked *after*
it initialized the isc library and the parent having created the threads
exited with the worker threads?!?!? Only -d worked because it did not
fork!
2013-04-13 23:04:35 +00:00
joerg
e8fa8f4db7 Extend ctype classification table to 16bit. Based on patch by
Takehiko Nozaki, with changes to compile fail when using the old names
and to exploit __BUILD_LEGACY
2013-04-13 10:21:20 +00:00
christos
8846758c2d remove debugging accidentally committed. 2013-04-13 02:08:59 +00:00
christos
c66d06cb46 move droproot after we have dealt with input and output files. 2013-04-12 23:51:50 +00:00
christos
7816f7e5c1 missed one xkill in the rename 2013-04-12 21:49:54 +00:00
christos
71b46c3cd2 undo previous, breaks differently when testing for EINPROGRESS. 2013-04-12 20:02:00 +00:00
christos
1dab78693d #if 0 more 2013-04-12 20:00:21 +00:00
christos
21bc640ddf XXX: disable the simple conditions test right now because it depends on
thread scheduling timings and we don't seem to schedule threads the way
it assumes.
2013-04-12 19:59:26 +00:00
christos
a79378684d connect(2) returns EINPROGRESS for "239.10.20.30" which is supposed to
be an unroutable address. getsockopt() to find the actual error returns
0. This is prolly broken, but this temporary work-around fixes the regression
test.
2013-04-12 19:41:45 +00:00
joerg
0b4c1e12e1 Remove potentially extra consts. 2013-04-12 18:11:40 +00:00
joerg
64b3fac0e4 Work correctly with ISO C99 compiler. 2013-04-12 18:11:15 +00:00
christos
ef8dcd3907 remove bug we added. 2013-04-12 17:50:27 +00:00
christos
a18e92eddb fix merge that broke the tests 2013-04-11 20:14:44 +00:00
christos
318c3a432e rename deprecated to evdeprecated. 2013-04-11 17:49:12 +00:00
christos
62f324d012 the rest of the build glue. 2013-04-11 16:59:16 +00:00
christos
883110aaf9 merge conflicts, make compile with warnings. 2013-04-11 16:56:41 +00:00
christos
1d2a5e2b5b import script 2013-04-11 16:56:11 +00:00
christos
46e414e0ff Event2 build gluons 2013-04-11 16:55:51 +00:00
christos
6ecf6635ee import libevent 2.x 2013-04-11 16:43:19 +00:00
christos
5b62b33417 Add build glue 2013-04-11 16:06:47 +00:00
christos
e41eef06c7 import doxygen generated pages for libevent.
mandoc renders them butt-ugly.
2013-04-11 16:05:55 +00:00
christos
5a5f53489c use a more direct approach. 2013-04-09 15:19:45 +00:00
martin
ebfcfb962b Fix "ashq" second argument sign extension (the assembler does not treat
-1 as a 64bit value).
Upstream reported as http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56875
Problemm noted by Jonny Billquist (in lint), hint for solution from mouse.
2013-04-08 12:10:53 +00:00
christos
b8058707a3 Use the active link local layer address instead of the first one you find.
It would be nice if getifaddrs gave all the information needed instead of
needed a separate ioctl. Or at least if the inactive addresses were marked
down in flags?
2013-04-08 02:16:03 +00:00
christos
d5063e771b - the initgroups function needs to be able to do name to gid translations,
so do it before the chroot, otherwise we lose /etc/nsswitch.conf and
  /etc/group
- run res_init() so that we prime and initialize the resolver before the
  chroot, since our chroot lacks /etc/{{nsswitch,resolve}.conf,hosts}
  this is not portable behavior, but it is a lot better than populating
  the chroot with crap.
2013-04-07 19:17:11 +00:00
christos
ad59ad05be add the rest of the man pages. 2013-04-07 00:18:55 +00:00
christos
650fcf2c0e don't produce code that has warnings. 2013-04-06 20:05:40 +00:00
christos
0e9868ba9d merge conflicts 2013-04-06 19:33:07 +00:00
christos
9546e36db8 import tcpdump 4.3.0 2013-04-06 17:57:45 +00:00
christos
2fcf5de83d moved script out 2013-04-06 17:50:33 +00:00
christos
07fc359697 install in /lib per rmind's request 2013-04-06 17:36:40 +00:00
christos
17e55052cd new libpcap 2013-04-06 17:29:12 +00:00
christos
de62228d07 import 1.3.0 2013-04-06 15:57:39 +00:00
joerg
5c58779bec Regen initparse.c with the current byacc with -l. 2013-04-06 15:27:26 +00:00
joerg
31db473bdd Don't use __printflike during tool build. 2013-04-06 15:27:05 +00:00
joerg
74a4a33c84 Only define M4 if it wasn't set on the command line. 2013-04-06 15:25:51 +00:00
christos
c8b0dbc8c4 resolve conflicts 2013-04-06 14:52:24 +00:00
christos
fa8b4d5199 Import byacc 20130304 2013-04-06 14:45:24 +00:00
christos
44825738cf merge conflicts 2013-04-06 14:27:52 +00:00
christos
dded093e98 Import flex 2.5.7 2013-04-06 14:05:39 +00:00
christos
e1b25b170f merge conflicts 2013-04-06 02:20:24 +00:00
christos
23e44a7766 Import openpam-20120526 2013-04-06 01:23:24 +00:00
christos
14303f280d don't assume that what we are going to import lives in dist 2013-04-03 14:51:31 +00:00
christos
43ed5f5eba merge diffs 2013-04-03 14:50:26 +00:00
christos
0d88b60388 import latest 2013-04-03 14:46:49 +00:00
christos
18c0fd3025 Allow both x==y and x=y in conditionals. With this change the ksh93 manpage
works.
2013-04-03 01:05:16 +00:00
christos
738a635d29 remove debugging printf. 2013-04-03 01:00:03 +00:00
christos
08c89a8c21 - remove the expand inline function, we don't need it.
- make allow = 1, deny = 0 to avoid confusion
- use memset properly
- merge ctl duplicated code
- add numeric conditional evaluator for unary and binary
- fix parsing of numeric registers to stop on non alnum

With those fixes, the man page for top(1) works.
2013-04-03 00:58:48 +00:00
christos
897a7bb8a0 do roff nr expansion before trailing backslash 2013-04-03 00:55:32 +00:00
wiz
68982ad7df Remove ' ???' after Xr. 2013-03-30 08:24:17 +00:00
christos
1af2431ab1 build glue 2013-03-30 02:47:56 +00:00
christos
fa45436570 athn firmware from OpenBSD 2013-03-30 02:47:30 +00:00
christos
8b57040752 patches for new wifi devices. 2013-03-30 02:38:58 +00:00
njoly
d1f2d0ccef Remove unknown \*(tN and \*(sP macros.
ok wiz.
2013-03-28 22:54:25 +00:00
christos
10f770acff delete the assert as we'll never get there anyway. 2013-03-27 19:23:28 +00:00
christos
6046c6b246 Don't abort with an assertion when a directory cannot be found in a
repository. This could happen when someone copies from one directory
to another CVS files or when things get corrupted. Provide an explanatory
error message instead.
2013-03-27 18:15:13 +00:00
christos
cd51191677 update for version change 2013-03-27 00:38:54 +00:00
christos
fe3afd85ef make sure we add rcsids in all the files and not in the headers 2013-03-27 00:38:41 +00:00
christos
49d01eccc3 welcome to 4.2.5-P1 2013-03-27 00:38:07 +00:00
christos
79364f4eb5 security fix propagation from bind, no actual changes, and it does not
affect us since we use an external bind.
2013-03-27 00:30:58 +00:00
christos
7ec4b58530 put back example server configuration file that was removed upstream 2013-03-25 12:59:59 +00:00
christos
cec592dd5a Undo horrid configure hack, use compiler define. 2013-03-25 01:11:02 +00:00
christos
f662ec0bb9 adjust build to 4.2.5 2013-03-24 23:03:05 +00:00
christos
b576cb34cf updat to 4.2.5 2013-03-24 22:50:21 +00:00
christos
2fbb8dab62 hook in the new dhcp code 2013-03-24 22:22:32 +00:00
christos
dae5e0f4f6 Add a build kludge to make dhclient link statically libisc, libdns, libpthread
so it does not need things from /usr/lib, until we decide what to do with it.
2013-03-24 22:21:21 +00:00
christos
50e3eb7c07 bump bind libs. 2013-03-24 18:55:54 +00:00
christos
94ee3dd93f Call the isc register functions now that we are not calling the library using
the special BIND9 compilation.
2013-03-24 18:44:37 +00:00
christos
0b0207d3e9 - Relax some of the assertions to make things work outside bind.
- Remove #ifndef BIND9 exclusions
Now a libdns that is built with BIND9 can be used by other isc programs.
2013-03-24 18:43:32 +00:00
christos
fb92122b29 Export all the necessary functions via the registry API instead of playing
namespace games with cpp. Remove the BIND9 ifdef. Now the bind programs
don't need a special build of libisc.
2013-03-24 18:41:59 +00:00
christos
2e21570ca6 remove error(1) comment 2013-03-24 16:27:58 +00:00
christos
790a253ab0 Build gluons
NB: This will not link yet, until I commit all the bind changes.
2013-03-24 15:54:29 +00:00
christos
b4295394bf minimal patches to compile with WARNS=1 !?!? 2013-03-24 15:53:58 +00:00
christos
6644b02250 from ftp.isc.org 2013-03-24 15:45:44 +00:00
joerg
c565c4f275 Update LLVM/Clang snapshot to r177512 and MCLinker to deeb2a77.
Most noticably, this brings in the (optional) clang-format tool.
2013-03-24 13:02:16 +00:00
joerg
85fc5176f6 Rename __is_signed to __is_signed_val to avoid conflict with a type
trait in Clang.
2013-03-24 12:15:50 +00:00
christos
a24c340b1b remove extra space 2013-03-23 16:23:46 +00:00
christos
c2e19894b5 merge new file 2013-03-23 16:15:57 +00:00
christos
52df37c7bd import file-5.14
changes are "name" + "use" keyword features, bug fixes
2013-03-23 15:49:08 +00:00
christos
75e9b80ac4 add Makefile 2013-03-23 15:42:40 +00:00
christos
4b2f55bb35 move pdisk 2013-03-23 15:42:00 +00:00
christos
48a628ae04 Apply our fixes 2013-03-23 15:39:43 +00:00
christos
9428323d40 from:
http://cantaforda.com/cfcl/eryk/linux/pdisk/dist/pdisk.20000516.src.tar
2013-03-23 15:36:33 +00:00
christos
f3119165d7 avoid arraycount for toolz 2013-03-22 12:31:25 +00:00
christos
81aec73d48 move the code to expand variables in one place and use it to expand
variables inside conditionals. still conditionals with variables don't
work.
2013-03-22 01:24:46 +00:00
christos
a4a10d58ae mandoc can now print numbered registers. 2013-03-21 21:43:22 +00:00
christos
66541c2d35 support expanding numbered registers 2013-03-21 21:42:16 +00:00
joerg
600ab75df5 Add missing .El. 2013-03-21 04:57:38 +00:00
christos
40b61ad4dd The man page has numbered registers and conditionals and cannot be handled
by mandoc, so make it use groff. Unfortunately since we don't install cat
pages, this does not work. At least it works for html!
2013-03-21 02:04:05 +00:00
christos
b32a30787e revert previous, this is a mandoc issue (does not handle .if and .nr) 2013-03-21 01:39:04 +00:00
christos
2c041bfd20 PR/47675: Nick Hudson: top(1) man page missing default number of seconds 2013-03-21 00:27:44 +00:00
jmmv
63dd2c4874 Apply upstream change 1b82d0fe146031526b73454cc64bca7ee1f5b87a:
Fix fs_test:cleanup__mount_point__busy

The first call to kyua_fs_cleanup in this test was supposed to fail as
it is exercising an error path.  But the check was reversed, expecting
no error.  Fix this obvious mistake.
2013-03-17 05:56:46 +00:00
jmmv
4efe0dfefd Mark the atf/atf-{c,c++}/pkg_config_test:version tests as needing atf-version. 2013-03-16 04:21:19 +00:00
jmmv
29a902d3bf Deduce the version number to encode in pkgconfig files by getting it from
bconfig.h.  Also make the build of these files depends on bconfig.h itself.

This should fix once and for all the problems of the
atf/atf-{c,c++}/pkg_config_test:version tests breaking because the
pkgconfig files hold an old version number during update builds.
2013-03-14 07:10:05 +00:00
joerg
05cdf4d619 Update mclinker snapshot to include the various amd64 fixes. 2013-03-13 13:21:17 +00:00
skrll
e818dd6fc0 New firmware from today 2013/03/09 2013-03-09 10:58:44 +00:00
wiz
500d85431e casing. 2013-03-08 08:29:36 +00:00
pooka
e23a1341b4 Add librumpclient. requested by wiz 2013-03-08 08:13:34 +00:00
wiz
ba9019db8d Add libnpf. From rmind.
While here, add consistency in casing.
2013-03-07 21:54:04 +00:00
agc
63d2555829 Following a prompt from wiz, ensure that explanations for the
minimalist JSON library libmj, and the netpgp verification library,
libnetpgpverify, are in the correct places.
2013-03-07 05:33:13 +00:00
wiz
72cafb0e98 Add libmandoc. 2013-03-06 21:42:47 +00:00
christos
213aef742a let zfs autoload too. 2013-03-04 01:14:35 +00:00
christos
db9ff9a846 print the function name that was not found. 2013-03-03 18:18:13 +00:00
christos
c43c276ced autoload tracing modules. 2013-03-03 18:16:35 +00:00
christos
9776ad40b3 need to be a DRIVER class module to be able to autoload when /dev/dtrace/dtrace
is opened.
2013-03-03 16:56:15 +00:00
joerg
34173e99da Fix template lookup. 2013-03-02 23:23:55 +00:00
macallan
e288e83a84 set PCVT_SUPPORT on MIPS 2013-02-28 13:28:36 +00:00
macallan
749749856e build support for Loongson Multimedia Instructions on evbmips 2013-02-28 12:40:47 +00:00
joerg
db135d737c Add infrastructure for building MCLinker. 2013-02-27 21:25:05 +00:00
jmmv
63c0fb4108 Cherry-pick upstream change 70aefdbe5b843d6b24b5a9b816e47f2fb026dde2:
Properly handle tabs when parsing config files

Backslashes within [] in a regexp don't have any meaning, so [ \t]
did not have the intended effect of being evaluated to a space and
a tab.  Fix this by writing an actual tab in the regexp.

Problem found by Valeriy E. Ushakov.
2013-02-26 15:23:19 +00:00
jmmv
f2f2e0cf47 Cherry-pick upstream change d0daf9983f5a0e635f1127dbc827aa114daa90d8:
Fix broken variable parsing with NetBSD's /bin/sh

Quote the expansion of a $() command that was not properly surrounded
by quotes so that this runs properly with NetBSD's /bin/sh.
2013-02-25 18:49:51 +00:00
jmmv
8c23905fbe Do not install atf-config, atf-report, atf-run nor atf-version when
MKKYUA!=no.  The newly imported kyua-atf-compat module provides a
backwards-compatibility implementation of atf-report and atf-run
based on kyua(1).
2013-02-25 00:22:10 +00:00
jmmv
1a338a3807 Descend into kyua-atf-compat when MKKYUA!=no. 2013-02-25 00:21:04 +00:00
jmmv
3bca2a4367 Add reachover build files for kyua-atf-compat. 2013-02-25 00:20:08 +00:00
jmmv
b92cbc7321 Initial import of kyua-atf-compat, version 0.1:
This is the last component of the import of Kyua and its build will be
guarded by the MKKYUA knob.  core@ has approved this import.

Description:

Kyua (pronounced Q.A.) is a testing framework for both developers and
users.  Kyua is different from most other testing frameworks in that it
puts the end user experience before anything else.  There are multiple
reasons for users to run the tests themselves, and Kyua ensures that
they can do so in the most convenient way.

This module, kyua-atf-compat, provides tools to ease the transition from
ATF to Kyua.  In particular, this includes a tool to convert Atffile
files to Kyuafile files in an automated manner, and drop-in replacement
wrappers for both atf-run and atf-report.
2013-02-25 00:17:26 +00:00
jmmv
b02153e645 Install kyua-testers' distribution documents.
(Followup to my previous commit as I forgot to include these new files.)
2013-02-24 03:12:59 +00:00
jmmv
47840f72d0 Install a kyua.conf file that sets unprivileged_user to _tests. 2013-02-24 03:06:13 +00:00
jmmv
8faee98977 Cherry-pick upstream commit 9f81e6f6fece7f7e26643022a5efb93c3595e9bc:
Escape backslashes in test metadata

The previous code in kyua-atf-tester escaped single quotes in the
metadata of test cases so that those single quotes did not yield
invalid Lua strings in the output of the tester.

It turns out we also need to escape backslashes for things to work
properly.  Backslashes also have special meaning within Lua strings.

Found while running the NetBSD test suite.  In particular, the
lib/libc/gen/t_fnmatch test program had the '\'' sequence in the
description of a test and this made the test program be reported
as bogus.
2013-02-23 21:04:28 +00:00
jmmv
edcb14a44e Install kyua-testers' distribution documents. 2013-02-23 14:58:11 +00:00
jmmv
0d18479af7 Descend into kyua-cli when MKKYUA!=no. 2013-02-23 14:18:52 +00:00
jmmv
ba65fde2d7 Add reachover build files for kyua-cli. 2013-02-23 14:16:49 +00:00
jmmv
6b3a42af15 Initial import of Kyua CLI, version 0.6:
This is the main component of Kyua and its build will be guarded by the
MKKYUA knob.  core@ has approved this import.

Description:

Kyua (pronounced Q.A.) is a testing framework for both developers and
users.  Kyua is different from most other testing frameworks in that it
puts the end user experience before anything else.  There are multiple
reasons for users to run the tests themselves, and Kyua ensures that
they can do so in the most convenient way.

This module, kyua-cli, provides the command-line interface to the Kyua
runtime system.  The major purpose of this tool is to run test cases and
generate unified reports for their results.
2013-02-23 12:34:03 +00:00
jmmv
9c6c1d3b56 Install lutok's missing test_utils.hpp header file. 2013-02-22 15:14:29 +00:00
hans
f49c4a3f9c Make this build on SunOS. 2013-02-21 15:56:07 +00:00
martin
7f2ffc8436 Make the Xdm default config use vt05 for all arches that can switch
consoles while in X.
2013-02-21 08:20:19 +00:00
tron
53529c743e Fix dodgy arguments to snprintf(3) which cause a warning that breaks
the build (at least with "USE_SSP" set to "yes").
2013-02-20 22:45:12 +00:00
christos
2d62d9f82b define HAVE_CLONING_BPF. 2013-02-20 01:39:02 +00:00
jmmv
2ff3d6baf3 Fix atf version in pkgconfig files (should be 0.17).
Keeping these files up to date with every new import is too easy to get
wrong.  Would be nice if we'd extract the version number in some other
manner, like from lib/libatf-c/bconfig.h.

Found by martin@.
2013-02-19 15:35:42 +00:00
joerg
c1d816d5fd Update LLVM/Clang snapshot to r175373. This improves GNU as
compatibility.
2013-02-19 12:35:41 +00:00
jmmv
dbf5b53da3 Enable the build of kyua-testers and register its files and directories.
This is conditional on MKKYUA.
2013-02-19 06:06:39 +00:00
jmmv
6de51c519f Add reachover build files for kyua-testers. 2013-02-19 06:04:42 +00:00
jmmv
754f425fc2 Initial import of Kyua Testers, version 0.1:
This is a component of Kyua and its build will be guarded by the MKKYUA
knob.  core@ has approved this import.

Description:

Kyua (pronounced Q.A.) is a testing framework for both developers and
users.  Kyua is different from most other testing frameworks in that it
puts the end user experience before anything else.  There are multiple
reasons for users to run the tests themselves, and Kyua ensures that
they can do so in the most convenient way.

This module, kyua-testers, provides scriptable interfaces to interact
with test programs of various kinds.  The interface of such testers
allows the caller to execute a single test case of a single test program
in a controlled and homogeneous manner.
2013-02-19 06:01:39 +00:00
gdt
aa97bfb53f Adjust blank lines. Add comment about missing DPADD for -lz. 2013-02-18 15:32:02 +00:00
gdt
7c713e5631 Adjust blank lines, add comment about DPADD 2013-02-18 15:29:36 +00:00
christos
c6cdafa088 Don't use DPADD for HOST build. 2013-02-17 20:36:01 +00:00
jmmv
7d3a48f1d2 Hook Lutok into the build. This is all protected by the MKKYUA guard. 2013-02-16 21:40:05 +00:00
jmmv
41ab123075 Add reachover build files for the newly-imported Lutok. 2013-02-16 21:29:45 +00:00
martin
4199c0b4fb When searching for an active thread (e.g. right after switching to threaded
mode), if no lwp is signaled, just stay with the current (inferior_ptid.lwp).
This fixes gdb -p to a threaded process with all threads active.
Previously we eroneously restored an lwp of 0 (returned as sentinel from
ptrace) to inferior_ptid.lwp, which then would not match any thread in
thread_list and caused assertion failures.
2013-02-16 18:06:43 +00:00
jmmv
a15637525a Initial import of Lutok, version 0.2.
This is a required component of Kyua and its build will be guarded by
the MKKYUA knob.  core@ has approved this import.

Description:

Lutok is a lightweight C++ API library for Lua.

Lutok provides thin C++ wrappers around the Lua C API to ease the
interaction between C++ and Lua.  These wrappers make intensive use of
RAII to prevent resource leakage, expose C++-friendly data types, report
errors by means of exceptions and ensure that the Lua stack is always
left untouched in the face of errors.  The library also provides a small
subset of miscellaneous utility functions built on top of the wrappers.

Lutok focuses on providing a clean and safe C++ interface; the drawback
is that it is not suitable for performance-critical environments.  In
order to implement error-safe C++ wrappers on top of a Lua C binary
library, Lutok adds several layers or abstraction and error checking
that go against the original spirit of the Lua C API and thus degrade
performance.
2013-02-16 15:06:52 +00:00
jmcneill
1b27b88159 Fix cygwin build. 2013-02-16 13:33:10 +00:00
jmmv
0a00e59342 Install lua.hpp. 2013-02-15 20:07:00 +00:00
jmmv
a9d87426d0 Update reachover Makefiles for atf 0.17. 2013-02-15 17:08:34 +00:00
jmmv
6f587c9882 Fix merge conflicts after import of atf 0.17. 2013-02-15 17:07:59 +00:00
jmmv
0659fc670c Import atf 0.17:
Experimental version released on February 14th, 2013.

* Added the atf_utils_cat_file, atf_utils_compare_file,
  atf_utils_copy_file, atf_utils_create_file, atf_utils_file_exists,
  atf_utils_fork, atf_utils_grep_file, atf_utils_grep_string,
  atf_utils_readline, atf_utils_redirect and atf_utils_wait utility
  functions to atf-c-api.  Documented the already-public
  atf_utils_free_charpp function.

* Added the cat_file, compare_file, copy_file, create_file, file_exists,
  fork, grep_collection, grep_file, grep_string, redirect and wait
  functions to the atf::utils namespace of atf-c++-api.  These are
  wrappers around the same functions added to the atf-c-api library.

* Added the ATF_CHECK_MATCH, ATF_CHECK_MATCH_MSG, ATF_REQUIRE_MATCH and
  ATF_REQUIRE_MATCH_MSG macros to atf-c to simplify the validation of a
  string against a regular expression.

* Miscellaneous fixes for manpage typos and compilation problems with
  clang.

* Added caching of the results of those configure tests that rely on
  executing a test program.  This should help crossbuild systems by
  providing a mechanism to pre-specify what the results should be.

* PR bin/45690: Make atf-report convert any non-printable characters to
  a plain-text representation (matching their corresponding hexadecimal
  entities) in XML output files.  This is to prevent the output of test
  cases from breaking xsltproc later.
2013-02-15 17:04:15 +00:00
martin
33a57db067 Backout libm dependency here as well (assuming it was meant for the
backed-out use of floor() I added/removed yesterday)
2013-02-15 07:59:36 +00:00
christos
c48559910e re-order library dependencies to make sure that -lintl and -lz are after
the rest of the libraries so that static linking works.
2013-02-14 21:29:35 +00:00
martin
cbad08c3fb Backout previous 2013-02-14 21:07:25 +00:00
matt
d8eebedb0c Link against libm 2013-02-14 19:18:38 +00:00
martin
9a9df90953 When converting long double values to decimal, convert to int via a call
to floor(), so the conversion does not depend on current rounding mode.
Fixes PR port-sparc64/47535.
2013-02-14 17:12:23 +00:00
macallan
c9c152a0c4 set -DPCVT_SUPPORT on most hardware 2013-02-14 16:16:25 +00:00
matt
251aa7b9a5 Make sure LIBGCC_MACHINE_ARCH is always defined. 2013-02-14 15:42:31 +00:00
matt
782461209b For compat, use LIBGCC_MACHINE_ARCH (which defaults to MACHINE_ARCH).
When generating .hidden stub, use ${COPTS}
2013-02-14 09:19:28 +00:00
christos
55c4079b3b fix previous 2013-02-14 03:36:44 +00:00
matt
92b4e13a0d Use PROGDPLIBS 2013-02-14 02:52:59 +00:00
christos
48e0a195df add PROGDPLIBS, and remove duplicate dependencies. 2013-02-14 01:57:42 +00:00
matt
276acf4a26 Use LIBDPLIBS 2013-02-14 01:21:25 +00:00
matt
050da5b67a Use LIBDPLIBS 2013-02-14 01:06:04 +00:00
matt
6cb6b78422 Deal with MKPICLIB=no fallout 2013-02-14 00:53:30 +00:00
christos
f195d367a6 This has no business going to the crypto tree and building it. 2013-02-12 20:32:11 +00:00
martin
1664f62de2 Enable SSE2 support for amd64 2013-02-11 09:26:07 +00:00
christos
5090c2e613 PR/47553: Aleksev Cheusov: awk segfault: NULL dereference. 2013-02-11 00:32:07 +00:00
christos
60404ef41f explicitly set the prefix here. 2013-02-09 17:18:01 +00:00
macallan
aa178e99e1 build altivec support on powerpc 2013-02-07 13:33:50 +00:00
christos
0730293fd3 - dlopen(3) errors should be printed with dlerror(3) so we get the reason the
module link failed, instead of printing "Undefined error 0".
- don't print free'd variable on error, restructure so that we free at the
  end and print the consistent name of the path dlopened.
2013-02-05 23:47:42 +00:00
matt
4b5bef3f0b If compiling with apcs-gnu or atpcs ABIs, supply -mabi=gnu to gas. 2013-02-05 19:29:13 +00:00
matt
5819f2ad68 Use the fact that all big endian arm MACHINE_ARCH end in eb to detect
endianness
2013-02-05 16:57:07 +00:00
matt
6984b4168c Backout setting of UNWIND_H 2013-02-05 08:28:15 +00:00
matt
3ba56103bd There are other little endian arm machine_arches other than "arm"
Use MACHINE_CPU and TARGET_ENDIANNESS instead of MACHINE_ARCH
2013-02-05 07:27:02 +00:00
matt
cae58222cc Don't include t-arm-elf since it just provides stuff which netbsd already has. 2013-02-05 03:02:10 +00:00
matt
912dc5c278 updated mknative gcc bits for earmhf 2013-02-05 02:57:54 +00:00
matt
4f3ff322ae Use NETBSDSRCDIR. Use ?= when setting target so you can override from cmdline. 2013-02-05 02:54:01 +00:00
matt
cb9822ba41 mknative for earmhf 2013-02-05 02:51:14 +00:00
matt
db87bbedd6 Rerun mknative for earm and earmhf for gas changes. 2013-02-04 22:50:12 +00:00
matt
13994434d1 Move arm-*-netbsdelf-*eabi* to before arm-*-eabi* so it matches properly.
Add arm-*-netbsdelf-*eabihf* which has a VFP V2 by default.
Rename armnetbsdeabi*.h to armnbsdeabi*.h to be consistent with other nbsd
files.
2013-02-04 22:38:07 +00:00
matt
5b98504a16 Add a match for arm*--netbsdelf-eabi* and default that EABI with a VFP FPU
and ARCH_ARM_V5TEJ cpu.
2013-02-04 18:42:30 +00:00
matt
a34eb5c25e Default to EABI5. Don't supply -meabi= to as. switch back unwind-arm.h
nuke unwind-netbsd.h
2013-02-04 18:41:18 +00:00
joerg
96fc3e30a7 Update to LLVM/Clang snapshot r174288. This brings in the new AArch64
backend as well as an import bug fix for pointer compare optimisations.
2013-02-04 15:00:31 +00:00
matt
442c893d77 mknative gdb for earmhf 2013-02-04 03:29:45 +00:00
matt
9e4a740eba Understand netbsd*-*eabi* for an os 2013-02-04 02:45:28 +00:00
matt
f07f4bab6c gcc mknative for earmhf 2013-02-04 01:22:14 +00:00
jmcneill
ad483c54da enable simd, neon, and iwmmxt for earmhf 2013-02-03 12:41:40 +00:00
matt
15d372dbba mknative for earmhf 2013-02-03 05:34:50 +00:00
matt
c5775ada06 earmhf mknative for libgcc 2013-02-03 02:01:19 +00:00
matt
eeb9da25fc Use MACHINE_CPU for arm instead of MACHINE_ARCH 2013-02-03 01:59:55 +00:00
matt
2e93500115 binutils mknative for earmhf 2013-02-03 01:58:13 +00:00
matt
d6f7d83d82 Can't use TARGET_AAPCS_BASED since it's not setup by the time
SUBTARGET_CPU_DEFAULT is invoked so use ARM_DEFAULT_ABI instead).
2013-02-02 05:04:25 +00:00
jmcneill
03caaef799 only enable ARM SIMD and NEON for earm, as the configure script tests for this 2013-02-01 00:17:24 +00:00
jmcneill
a5510fd45a Remove PIXMAN_NO_TLS and replace with HAVE_PTHREAD_SETSPECIFIC so the
installed library is actually thread-safe.
2013-01-31 12:21:12 +00:00
jmcneill
a4b324f471 merge pixman 0.28.2. for arm and earm, enable simd & neon support. for
earm, enable iwmmx support.
2013-01-31 10:58:22 +00:00
matt
c510eba682 Add a unwind-netbsd.h which will include the proper unwind.h file depending
on __ARM_EABI__.  This allow gcc to build libgcc for both ABIs properly since
they both different unwind.h.
2013-01-31 07:11:08 +00:00
matt
8355d788c7 Cleanup arm--netbsdelf-*eabi* 2013-01-31 06:53:21 +00:00
matt
8728f6bef4 Define size_t, ptrdiff_t, and wchar_t to what NetBSD/arm wants instead of the
stupid values chosen for AAPCS.
2013-01-31 06:52:16 +00:00
roy
2d64930a6b Sync 2013-01-28 15:46:52 +00:00
roy
9fd5edf906 Import dhcpcd-5.6.7 with the following changes:
* Preserve space in static routes on the command line.
* Check correct interface the RAP came from; fixes PR bin/47433 thanks to
  Taylor R Campbell
* Ensure the nooption works for IPv4 routes
2013-01-28 15:45:10 +00:00
christos
55ad42a55f Avoid comparison between pointer and integer. 2013-01-26 20:15:50 +00:00
skrll
66c6ef5e53 Latest firmware including EDID support. 2013-01-25 13:20:23 +00:00
matt
58ca788453 Make GCC define __ARM_PCS and __ARM_PCS_VFP as defined by the ARM C Language
Extentions (clang already defines them):
__ARM_PCS is defined to 1 if the default procedure calling standard for
the translation unit conforms to the "base PCS" defined in [AAPCS].
__ARM_PCS_VFP is defined to 1 if the default is to pass floating-point
parameters in hardware floating-point registers using the "VFP variant PCS"
defined in [AAPCS].
2013-01-25 08:31:43 +00:00
joerg
fa9d9d71df Update LLVM/Clang snapshot to r172366. Catch up with the move past 3.2
release.
2013-01-23 15:02:52 +00:00
christos
8fb7bb9693 When abusing enums, please at least use valid constants... 2013-01-21 21:38:02 +00:00
wiz
3c7ce2aac6 Put optional args before non-optional ones. 2013-01-20 23:51:40 +00:00
wiz
519dc5efd2 Sort options in SYNOPSIS and text.
XXX: please check if SYNOPSIS are correct, I think they missing some .Op.
2013-01-19 01:22:12 +00:00
christos
d3d2c27409 add man pages 2013-01-18 19:58:43 +00:00
christos
a83c8cf9a9 Handle enum forward declarations. 2013-01-18 16:23:48 +00:00
christos
ef4e6538b4 Forgot to commit additional file. 2013-01-18 16:22:35 +00:00
christos
8c30a47f87 remove RCSID, other files don't have it. 2013-01-17 22:24:55 +00:00
christos
6998db2383 toolify 2013-01-17 22:23:41 +00:00
christos
d546d6fc48 resolve conflicts, bump 2013-01-17 22:06:58 +00:00
christos
0e4a7fb1a7 sync with FreeBSD 2013-01-17 22:03:02 +00:00
christos
62b158cdce Apply GCC/35998 from FreeBSD http://svnweb.freebsd.org/changeset/base/245024
gcc: avoid generating negative values to DW_AT_byte_size.

There is a bug in gcc (GCC/35998) where dwarf reports
sizes of unsigned -1 (0xffffffff).

On NetBSD this generated a faulty CTF entry which then
caused a segfault in ctfmerge. The issue was worked
around in NetBSD's Dtrace but since the issue originated
in gcc, it seems reasonable to fix it here.

Thanks to Christoph Mallon for pointing out a correct fix.
2013-01-17 19:10:56 +00:00
pooka
9cc8b77e83 ... but make sure to unset empty before it's used as an empty variable. 2013-01-14 16:00:49 +00:00
pooka
cdaf970fbf Make this work with xpg4/sh where "for x in;" is an error. 2013-01-14 15:50:18 +00:00
macallan
ce55cd64b5 default to swkbd mode on evbarm as well, now X without config should work
properly on BeagleBoard, RPi and the like
2013-01-12 18:32:12 +00:00
matt
6093c05ac7 Add missing % to SUBTARGET_ASM_FLOAT_SPEC
If compiling for AAPCS, default to a TARGET_CPU_arm926ejs (armv5te)
If linking for AAPCS, use the right linker emulation.
2013-01-11 13:58:40 +00:00
tron
aa2dcc1a61 Comment out "inet_protocols = ipv4" line which came from up-stream.
We want Postfix to support IPv6 out of the box.

Pointed out by Dieter Roelants on "current-users" mailing list.
2013-01-06 13:58:24 +00:00
christos
ae7c06ea58 fix quoting. 2013-01-04 17:33:01 +00:00
christos
db1b387dc9 bring return value fixes from head. 2013-01-04 17:03:13 +00:00
christos
b060521580 fix the version string manually.
new sentence, new line.
2013-01-04 15:37:53 +00:00
christos
1c5b5b415c fix version detection 2013-01-04 15:34:47 +00:00
christos
f5bc9f2162 magic bug. 2013-01-04 00:49:44 +00:00
christos
f731f39bd1 new config, bump lib 2013-01-03 23:18:10 +00:00
christos
20d96732d4 merge changes 2013-01-03 23:05:35 +00:00
christos
84d8cf07ec make it work if $1 != . 2013-01-03 23:04:52 +00:00
dsl
a34e002f26 Spell cprng_fast() properly 2013-01-03 17:12:05 +00:00
dsl
278835249a Use cprgn_fast() not rnd_extract_data().
The latter isn't in any header files any more.
2013-01-03 16:42:55 +00:00
dsl
51f5533426 Compilation fixes:
- include sys/ioctl.h
- NULL isn't an int constant
- %llf isn't a printf format
2013-01-03 16:41:51 +00:00
christos
2ae0d66f56 from ftp.astron.com 2013-01-03 16:27:48 +00:00
para
2277afb1ef explicitly include sys/resource.h 2013-01-03 10:12:36 +00:00
tron
a536ee5124 Install documentation and manual pages for Postfix's memcache client support. 2013-01-02 22:33:19 +00:00
tron
888f2d7310 Include "sys/ioctl.h" for the prototype of ioctl(2) which fixes the build. 2013-01-02 21:19:13 +00:00
tron
d561406f71 Fix build of Postfix 2.9.5. 2013-01-02 19:45:48 +00:00
tron
cf33639979 Resolve conflicts from last import. 2013-01-02 19:18:29 +00:00
tron
a30b880ed6 Import Postfix 2.9.5. Major changes since version 2.8.x:
- Support for long, non-repeating, queue IDs (queue file names). The
  main benefit of non-repeating names is simpler logfile analysis. See
  the description of "enable_long_queue_ids" in postconf(5) for
  details.
- Memcache client support, and support to share postscreen(8) and
  verify(8) caches via the proxymap server. Details about memcache
  support are in memcache_table(5) and MEMCACHE_README.
- Gradual degradation: if a database is unavailable (can't open, most
  read or write errors) a Postfix daemon will log a warning and
  continue providing the services that don't depend on that table,
  instead of immediately terminating with a fatal error. To terminate
  immediately when a database file can't be opened, specify
  "daemon_table_open_error_is_fatal = yes".
- Revised postconf(1) command. It warns about unused parameter
  name=value settings in main.cf or master.cf (likely mistakes),
  understands "dynamic" parameter names such as names that depend on
  the name of a master.cf entry (finally, "postconf -n" shows all
  parameter settings), and it can display main.cf and master.cf in a
  more user-friendly format (postconf -nf, postconf -Mf).
- Read/write deadline support in the SMTP client and server to defend
  against application-level DOS attacks that very slowly write or read
  data one byte at a time.
2013-01-02 18:58:23 +00:00
dsl
8a7a69a21d amd64's machine/reg now includes fpu.h (to define 'struct fxsave64)
so no need to include signal.h here - which shouldn't result in
the definitions in fpu.h being included anyway.
2013-01-02 18:44:46 +00:00
dsl
3a052f167f There is some very dubious code to locate the values of
tcb.rcv_adv, tcb.snd_nxt and tcb.rcv_nxt for a socket.
so set CPPFLAGS+=      -D_KMEMUSER
2013-01-02 18:41:49 +00:00
dsl
6c6b743ee5 I've NFI why this code has userspace stuff playing with 'struct proc *'
nor why it uses &p0 as a magic constant (rather than NULL).
Re-instate the definition of p0, but enable the 'fake' definition
  of 'struct proc' if the relevant part of sys/proc.h seems to have
  been #if'ed away.
Should fix the build.
2013-01-02 16:31:24 +00:00
dsl
29dbe6c092 # There is some very dubious code to locate the values of
# tcb.rcv_adv, tcb.snd_nxt and tcb.rcv_nxt for a socket.
so add: CPPFLAGS+=     -D_KMEMUSER
2013-01-02 15:50:34 +00:00
christos
eeca57e31f we define HAS_ISBLANK in the Makefile 2013-01-02 13:46:17 +00:00
dsl
be6d96d7d9 Explicitly include sys/ioctl.h 2013-01-02 10:33:49 +00:00
dsl
07465819ee Replace alloca(256) with an array.
The code ended up using alloca() from libc - which 'just can't work' (tm).
It is also pointless!
2013-01-02 10:33:19 +00:00
dsl
b4041ccef0 Comment out the unused 'struct proc p0;'
This is userspace, it isn't supposed to know what a 'struct proc' is.
2013-01-01 19:03:26 +00:00
dsl
f337b6c74a This needs an explicit include of sys/ioctl.h.
XXX: There is some crappy code in here :-)
2013-01-01 19:02:19 +00:00
christos
f5ae1cb28b avoid strict aliasing problems 2012-12-31 18:47:41 +00:00
dsl
f5cd40cc56 No need to check both TARGET_64BIT and ix86_preferred_stack_boundary >= 64,
if the former is true the latter is also true.
2012-12-30 20:16:58 +00:00
dsl
c18b7a38ac If -march=native is specified, only enable AVX if the processor supports
it and the OS has enabled XGETBV for application use.
It might need to also check XCR0[2] (having executed XGETBV) to check that
  the kernel actually supports saving the YMM registers, but I suspect the
  kernel might defer setting that until the first fault.
See vol 1 section 13.5 of the Intel SDM (intel_x86_325462.pdf).
Fixes toolchain/45673
2012-12-30 16:13:57 +00:00