Commit Graph

4133 Commits

Author SHA1 Message Date
jmmv
752fe084c0 Fix the bundling of the version number in built files.
Yes, attempting yet another fix at this so that the version number that
gets recorded in the pkgconfig files and inside atf-version really matches
the latest imported version.  Should resolve issues where the built files
get stuck with an older version number during update builds.

This time, I'm trying the same approach I applied in the FreeBSD source
tree, which has been working fine so far across various release imports.
2014-02-15 04:19:46 +00:00
jmmv
70bbcb4b33 Prevent registering the helper programs as test programs.
They are not intended to be run neither by atf-run nor Kyua, and doing so
results in test failures.  The easiest way to do this for now is to just
ship custom Atffile and Kyuafile files.  (This broke because with atf-0.20
we started using the auto-generated versions of these, and due to the way
bsd.test.mk works, these registered the helpers as well.)

Problem reported by martin@.
2014-02-15 04:15:20 +00:00
jmmv
3e03992881 Fix path to libtools.a.
The build would break when we do not use MAKEOBJDIR* but do use OBJMACHINE.
Problem found by B Harder and fix based on patch from NONAKA Kimihiro as
posted on current-users.
2014-02-15 02:02:39 +00:00
joerg
c544fc34ef Build glue for the libedit wrapper, not yet used. 2014-02-14 20:32:58 +00:00
joerg
6befd1d588 Update LLVm/Clang to 3.5svn r201163. This brings improvements to the
16bit x86 support, self hosting for SPARC64 and improvements to the
NetBSD driver on ARM, AArch64 and MIPS.
2014-02-14 20:23:56 +00:00
joerg
c4d029a7ad Import LLVM 3.5svn r201163. 2014-02-14 20:09:23 +00:00
joerg
ed535df4b4 Import Clang 3.5svn r201163. 2014-02-14 20:04:58 +00:00
jmmv
a38e0b43c5 Homogenize reachover build file structure with that of kyua-cli:
- Move the majority of the common build definitions to the top-level
  Makefile.inc and ensure this gets included everywhere.
- Move the bconfig.h file to the top-level directory.
- Add a statically-generated defs.h file instead of creating one
  during the build.  Easier to understand and less chances for things
  to go wrong.
- Make sure all files using ATF_VERSION have the right dependency to
  trigger a rebuild when the value changes.
- Clean up stale -I flags.

This is all mostly for simplicity reasons and to reduce the cognitive
load required to understand the build of the atf and kyua-* packages.

I have tested this with both MKKYUA=no/yes and non-clean/clean builds
so hopefully I got the details right.  But if not, let me know please.
2014-02-12 04:08:31 +00:00
jmmv
5506dc87b2 Remove unused reachover Makefiles.
The content of these was subsumed into the sibling 'tools' subdirectory
during the import of atf-0.19.
2014-02-12 03:47:21 +00:00
jmmv
646fe152bb Remove portability-related guards from the atf tools.
Just assume we are building for NetBSD given that the tools code is now
owned by the NetBSD tree.
2014-02-11 18:13:45 +00:00
jmmv
892cb06d80 Remove revision.h and associated complexity from atf-version.
Arguably, this was never needed and only made the code and the build system
more complex for no real reason.
2014-02-11 18:07:30 +00:00
jmmv
fd47ea3b40 Stop using bconfig.h in the tools code.
Just assume the code is being built for NetBSD for simplicity reasons.
2014-02-11 17:28:20 +00:00
jmmv
ad23a81712 Remove defs.hpp.
Because we now own the 'tools' subdirectory in the tree, we can yank some
of the upstream autoconf-related complexity.  Start doing so by removing
defs.hpp and using the real compiler attributes where necessary.
2014-02-11 16:31:38 +00:00
jmmv
25347c603f Update reachover build files for atf-0.20. 2014-02-11 16:11:28 +00:00
jmmv
6b0aadc835 Merge atf-0.20.
The upstream Atffiles are gone so we will just rely on our automatic
generation of such files from bsd.test.mk.
2014-02-11 16:10:40 +00:00
jmmv
940a202b3a Import atf-0.20:
Experimental version released on February 7th, 2014.

This is the first release without the code for the deprecated tools.  If
you require such code, please fetch a copy of the 0.19 release and extract
the 'tools' directory for your own consumption.

* Removed the deprecated tools.  This includes atf-config, atf-report,
  atf-run and atf-version.
2014-02-11 16:07:06 +00:00
jmmv
fd82d5173d Update for atf 0.19. 2014-02-09 14:02:39 +00:00
jmmv
152d2ecbea Adjust reachover Makefiles for atf-0.19.
The main change here is that the atf-config, atf-report, atf-run and
atf-version tools no longer depend on libatf-c nor libatf-c++.  Instead,
they depend on an internal libtools.a that contains code specifically
for these tools and nothing else, making them self-contained.
2014-02-08 19:15:33 +00:00
jmmv
97bff2045d Merge atf-0.19. 2014-02-08 19:13:43 +00:00
jmmv
d780102efe Import atf 0.19:
Changes in version 0.19
***********************

Experimental version released on February 7th, 2014.

This is the last release to bundle the code for the deprecated tools.
The next release will drop their code and will stop worrying about
backwards compatibility between the ATF libraries and what the old tools
may or may not support.

If you still require the old tools for some reason, grab a copy of the
'tools' directory now.  The code in this directory is standalone and
does not depend on any internal details of atf-c++ any longer.

* Various fixes and improvements to support running as part of the FreeBSD
  test suite.

* Project hosting moved from Google Code (as a subproject of Kyua) to
  GitHub (as a first-class project).  The main reason for the change is
  the suppression of binary downloads in Google Code on Jan 15th, 2014.
  See https://github.com/jmmv/atf/

* Removed builtin help from atf-sh(1) and atf-check(1) for simplicity
  reasons.  In other words, their -h option is gone.

* Moved the code of the deprecated tools into a 'tools' directory and
  completely decoupled their code from the internals of atf-c++.  The
  reason for this is to painlessly allow a third-party to maintain a
  copy of these tools after we delete them because upcoming changes to
  atf-c++ would break the stale tools.


Changes in version 0.18
***********************

Experimental version released on November 16th, 2013.

* Issue 45: Added require.memory support in atf-run for FreeBSD.

* Fixed an issue with the handling of cin with libc++.

* Issue 64: Fixed various mandoc formatting warnings.

* NetBSD PR bin/48284: Made atf-check flush its progress message to
  stdout so that an interrupted test case always shows the last message
  being executed.

* NetBSD PR bin/48285: Fixed atf_check examples in atf-sh-api(3).
2014-02-08 19:11:29 +00:00
jmmv
01fb61d6eb Adjust for import of atf 0.19.
- Delete some unnecessary files.
- Print out both the list of deleted files and added files in the import.
  Useful when adjusting file lists and the reachover Makefiles.
2014-02-08 19:06:05 +00:00
hannken
97834f7ba0 Change vnode operation lookup to return the resulting vnode *vpp unlocked.
Change cache_lookup() to return an unlocked vnode.

Discussed on tech-kern@

Welcome to 6.99.31
2014-02-07 15:29:20 +00:00
matt
700fb1c20d Always supply LIB_PATH in case one of the included scripts set it to
something inappropriate.
2014-02-06 18:28:28 +00:00
matt
b3a8421d95 Don't unset LIB_PATH, just override it. 2014-02-06 15:40:47 +00:00
christos
d39376afb9 Wait for all the interfaces specified on the command line to be configured
before daemonizing, not just the first one. Perhaps we should introduce a
separate flag for this behavior?
2014-02-04 22:34:39 +00:00
wiz
1193e8963a Try improving a comment. 2014-02-03 14:15:07 +00:00
christos
fef7521afe remove stale comment and explain what we are doing. thanks dsl 2014-02-02 23:17:54 +00:00
christos
cf1ad84b0d Fix threading bug again. 2014-02-02 22:00:38 +00:00
matt
6a41a228a5 Fix TARGET_LINKER_EABI_SUFFIX to actually use the right suffix. Since this
now depends on the default float-abi, pick from two strings to select the
right suffix.
2014-01-31 07:58:39 +00:00
matt
57eaac67d3 Regen for missing emulations. 2014-01-31 07:56:18 +00:00
matt
420036df2f Use separate emulations for EABI hardfloat / softfloat. 2014-01-31 07:32:53 +00:00
matt
42f0af0447 Add armelf{,b}_nbsd_eabihf emulations for MKCOMPAT to use. 2014-01-31 03:26:50 +00:00
riz
dc1f2053d6 Turn off attribute warning errors for clang in
pixman-mmx.c (__artificial__).
2014-01-30 19:24:06 +00:00
matt
f5d761233f Make {,U}INTPTR_TYPE long 2014-01-30 01:06:11 +00:00
matt
ff329494be Fix typo bsd -> nbsd 2014-01-29 23:16:14 +00:00
matt
98a4b7b58e Add missing emulations for armelf{,b}_nbsd 2014-01-29 22:39:47 +00:00
matt
175c9fb16a Fix arm eabi typo 2014-01-29 05:27:35 +00:00
joerg
59f647b48e One __RCSID is enough. Don't define it when building catalog as tool. 2014-01-28 20:43:55 +00:00
apb
36ef98548b Use ${TOOL_GZIP} instead of just gzip in all Makefiles
outside */dist/* subdirectories.

When USE_PIGZGZIP=yes, bsd.own.mk sets TOOL_GZIP=${TOOL_PIGZ},
so there's no need to test USE_PIGZGZIP in these Makefiles.
2014-01-27 08:18:07 +00:00
christos
638199ebfd little manual fixing 2014-01-26 21:47:00 +00:00
christos
2689d3025f add netbsd rcsids (does not handle the regex files well) 2014-01-26 21:46:49 +00:00
christos
2f698edb5c Fix RCSID's 2014-01-26 21:43:44 +00:00
bouyer
bf5517d87e Fix http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57260 (patch from
gcc's repository). This bugs show up with Xorg, preventing  xf86-video-sis and
xf86-video-silicon modules from being loaded.
2014-01-26 21:26:02 +00:00
mlelstv
ba1d7138dc stoa() already includes the scope, no need to print it twice. 2014-01-26 02:21:08 +00:00
matt
bf70954af3 Fix awk programs to use $$ so make doesn't eat each $ 2014-01-24 23:42:31 +00:00
joerg
abc73d3e55 Unbreak clang build. Hi xtos. 2014-01-23 14:14:23 +00:00
joerg
4a937800dd Support LLVM build. 2014-01-23 14:06:28 +00:00
joerg
29cb017282 Apply diagnostic overwrite for clang too. 2014-01-23 13:41:58 +00:00
joerg
ebb76e629b Force consistent alignemnt of _Unwind_Exception with libgcc_s. 2014-01-23 13:30:38 +00:00
hannken
04c776e5c8 Change vnode operations create, mknod, mkdir and symlink to return
the resulting vnode *vpp unlocked.

Discussed on tech-kern@

Welcome to 6.99.30
2014-01-23 10:13:55 +00:00