Commit Graph

3585 Commits

Author SHA1 Message Date
skrll
25da020250 Remove a hack. 2013-04-29 12:59:55 +00:00
skrll
22c5786eaa libc was missing symbols for a while there. Re-run bintuils mknative
against a good libc.
2013-04-29 09:32:38 +00:00
joerg
1f0aea4e46 One more missing cast. 2013-04-28 19:46:44 +00:00
joerg
cb8ea1ca39 Fix value ranges. 2013-04-28 19:46:01 +00:00
joerg
b3e8993905 Drop sys/ctype_bits.h again. 2013-04-28 19:41:25 +00:00
joerg
0cffcac141 Don't forget space between -mcmodel and -cxx-isystem on SPARC and
SPARC64.
2013-04-28 13:35:23 +00:00
joerg
6b96d07889 Don't forget to include bsd.own.mk. 2013-04-28 06:14:52 +00:00
joerg
2fa1d2471b Introduce MKLIBSTDCXX, defaulting to yes. 2013-04-28 04:05:37 +00:00
joerg
d81d2afdeb Update to LLVM/Clang snapshot r180686. Allows building without cxxabi.h. 2013-04-28 00:41:00 +00:00
joerg
ee8b1e3e15 Typo 2013-04-28 00:14:14 +00:00
joerg
5f14cb8bb7 Optionally recurse into libc++. 2013-04-27 23:03:10 +00:00
joerg
ecb06a3b09 Add build glue for libc++. 2013-04-27 23:02:17 +00:00
matt
79114a7336 Add MULTILIB support and fix specs for MKCOMPAT 2013-04-27 08:03:02 +00:00
joerg
be4584e4d4 Don't depend on ctype.h pulling in sys/ctype_bits.h, do so explicitly. 2013-04-26 17:34:55 +00:00
skrll
412212bf9d Re-run gcc mknative for earm 2013-04-26 15:56:45 +00:00
skrll
9332c51671 binutils mknative run for earmeb 2013-04-26 11:01:28 +00:00
matt
6d6cbcdee2 To support build compat binaries, change MUST_USE_SJLJ_EXCEPTIONS to
be the inverse of TARGET_AAPCS_BASED.
2013-04-25 17:08:00 +00:00
skrll
ca2e453ce2 Re-run mknative. 2013-04-25 16:22:56 +00:00
skrll
3d05234d02 mknative re-run
XXX /usr/src should be removed.
2013-04-25 15:07:16 +00:00
matt
ce483308e5 If libc isn't build with compat, ldexp/frexp will not be included. Always
pick them up from libm instead.
2013-04-25 14:53:35 +00:00
joerg
af56d1fe99 Update LLVM/Clang snapshot to r180004. This brings in the last pieces of
C++11 support in Clang as well as initial SPARC64 support.
2013-04-25 13:59:54 +00:00
skrll
3a52d71d1b Deal with earm* 2013-04-22 08:52:33 +00:00
jakllsch
f8fc4eca22 Use LOG_ERR instead of LOG_EMERG, as LOG_EMERG causes syslogd to tell all
ttys.
2013-04-21 19:34:13 +00:00
wiz
47c6fa449f Fix path. 2013-04-20 15:30:34 +00:00
wiz
9dc14f8abd Merge pkg_install-20130420. 2013-04-20 15:29:22 +00:00
wiz
ac52c41608 Import pkg_install from current pkgsrc.
Licence changes and less warnings when opsys doesn't match build
host opsys version, and documentation updates.
2013-04-20 15:26:52 +00:00
skrll
9fae83b3c1 Fix up arm*-*-netbsdelf-*eabi*) targets.
Remove all (most?) of the softfloat functions as they clash with the
libc versions. Also stop using t-bpapi as it adds stuff that's also in
libc. Bring in the parts of t-bpapi that we do want.

Discussed with matt@
2013-04-18 09:11:13 +00:00
skrll
0869f9f1e8 Initial commit of earmeb gdb mknative output. 2013-04-17 10:12:26 +00:00
skrll
afebf55114 Initial run of gcc mknative for earmeb 2013-04-17 08:55:12 +00:00
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