Commit Graph

3274 Commits

Author SHA1 Message Date
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