#
325ce30b |
| 13-Feb-2017 |
David van Moolenbroek <david@minix3.org> |
Initial import of NetBSD rc system
IMPORTANT: this change has a docs/UPDATING entry!
This patch performs an initial import of the infrastructure and a subset of the NetBSD set of rc startup and shu
Initial import of NetBSD rc system
IMPORTANT: this change has a docs/UPDATING entry!
This patch performs an initial import of the infrastructure and a subset of the NetBSD set of rc startup and shutdown scripts. The "initial" refers to the fact that this is not yet a full switch to the NetBSD rc system: the MINIX ramdisk rc script, which (typically) runs as the first thing, is kept as is. After mounting the root file system, the ramdisk rc script will start the NetBSD rc infrastructure by invoking /etc/rc, however. The regular MINIX startup-and-shutdown script has been moved from /etc/rc to /etc/rc.minix, and is now invoked as part of the NetBSD rc infrastructure through a bridge rc script /etc/rc.d/minixrc. /etc/rc.minix invokes /usr/etc/rc as before.
Switching over the ramdisk to the NetBSD system and decomposing the MINIX rc.minix script into smaller components are left to future work. Also, the current pkgsrc etc/rc.d auto-start functionality is left as is, even though it should be removed (see the etc/usr/rc comment).
Change-Id: Ia96cae7c426e94b85c67978dc1307dacc4b09fc5
show more ...
|
#
3ac58492 |
| 24-Sep-2016 |
David van Moolenbroek <david@minix3.org> |
Add LLVM GCOV coverage support
With this patch, it is now possible to generate coverage information for MINIX3 system services with LLVM. In particular, the system can be built with MKCOVERAGE=yes,
Add LLVM GCOV coverage support
With this patch, it is now possible to generate coverage information for MINIX3 system services with LLVM. In particular, the system can be built with MKCOVERAGE=yes, either with a native "make build" or with crosscompilation. Either way, MKCOVERAGE=yes will build the MINIX3 system services with coverage profiling support, generating a .gcno file for each source module. After a reboot it is possible to obtain runtime coverage data (.gcda files) for individual system services using gcov-pull(8). The combination of the .gcno and .gcda files can then be inspected with llvm-cov(1).
For reasons documented in minix.gcov.mk, only system service program modules are supported for now; system service libraries (libsys etc.) are not included. Userland programs are not affected by MKCOVERAGE.
The heart of this patch is the libsys code that writes data generated by the LLVM coverage hooks into a serialized format using the routines we already had for GCC GCOV. Unfortunately, the new llvm_gcov.c code is LLVM ABI dependent, and may therefore have to be updated later when we upgrade LLVM. The current implementation should support all LLVM versions 3.x with x >= 4.
The rest of this patch is mostly a light cleanup of our existing GCOV infrastructure, with as most visible change that gcov-pull(8) now takes a service label string rather than a PID number.
Change-Id: I6de055359d3d2b3f53e426f3fffb17af7877261f
show more ...
|
#
7a3aae8b |
| 15-Jul-2016 |
Antoine Leca <Antoine.Leca.1@gmail.com> |
Adjust .gitignore for MINIX file system
Some files in LLVM have more than Minix-maximum of 60 characters. Also drop some obsolete stuff, and add obj which are symlinks added to every directory when
Adjust .gitignore for MINIX file system
Some files in LLVM have more than Minix-maximum of 60 characters. Also drop some obsolete stuff, and add obj which are symlinks added to every directory when using /usr/obj as OBJDIR (hinted in wiki.)
Change-Id: Iac82bb064f68689f247a2ee1b1d2f365344ab793
show more ...
|
Revision tags: v3.3.0, v3.2.1 |
|
#
ec10840b |
| 06-Dec-2012 |
David van Moolenbroek <david@minix3.org> |
gitignore: ignore some more generated files
|
#
b2731fd6 |
| 07-Jun-2012 |
Thomas Veerman <thomas@minix3.org> |
Update gitignore for releasetools
|
#
4b999f19 |
| 31-Mar-2012 |
Ben Gras <ben@minix3.org> |
build shared versions of libraries
building defaults to off until clang is updated.
current clang does not handle -shared, necessary to change the ld invocation to build shared libraries properly.
build shared versions of libraries
building defaults to off until clang is updated.
current clang does not handle -shared, necessary to change the ld invocation to build shared libraries properly. a new clang should be installed and MKPIC defaults to no unless the newer clang is detected.
changes:
. mainly small imports of a Makefile or two and small fixes (turning things back on that were turned off in Makefiles) . e.g.: dynamic librefuse now depends on dynamic libpuffs, so libpuffs has to be built dynamically too and a make dependency barrier is needed in lib/Makefile . all library objects now have a PIC (for .so) and non-PIC version, so everything is built twice. . generate PIC versions of the compat (un-RENAMEd) jump files, include function type annotation in generated assembly . build progs with -static by default for now . also build ld.elf_so . also import NetBSD ldd
show more ...
|
Revision tags: v3.2.0 |
|
#
2fe8fb19 |
| 11-Feb-2012 |
Ben Gras <ben@minix3.org> |
Full switch to clang/ELF. Drop ack. Simplify.
There is important information about booting non-ack images in docs/UPDATING. ack/aout-format images can't be built any more, and booting clang/ELF-form
Full switch to clang/ELF. Drop ack. Simplify.
There is important information about booting non-ack images in docs/UPDATING. ack/aout-format images can't be built any more, and booting clang/ELF-format ones is a little different. Updating to the new boot monitor is recommended.
Changes in this commit:
. drop boot monitor -> allowing dropping ack support . facility to copy ELF boot files to /boot so that old boot monitor can still boot fairly easily, see UPDATING . no more ack-format libraries -> single-case libraries . some cleanup of OBJECT_FMT, COMPILER_TYPE, etc cases . drop several ack toolchain commands, but not all support commands (e.g. aal is gone but acksize is not yet). . a few libc files moved to netbsd libc dir . new /bin/date as minix date used code in libc/ . test compile fix . harmonize includes . /usr/lib is no longer special: without ack, /usr/lib plays no kind of special bootstrapping role any more and bootstrapping is done exclusively through packages, so releases depend even less on the state of the machine making them now. . rename nbsd_lib* to lib* . reduce mtree
show more ...
|
#
02b46221 |
| 10-Feb-2012 |
Antoine Leca <Antoine.Leca.1@gmail.com> |
.gitignore: add another generated directory
|
#
2a7bc122 |
| 03-Dec-2011 |
David van Moolenbroek <david@minix3.org> |
.gitignore: add more generated files
|
#
0c3983b2 |
| 26-Sep-2011 |
Ben Gras <ben@minix3.org> |
update/fix manpage support
. add bsd-style MLINKS to minix man set, restoring aliases (e.g. man add64 -> int64) . update daily cron script to run makewhatis and restore makewhatis in man Mak
update/fix manpage support
. add bsd-style MLINKS to minix man set, restoring aliases (e.g. man add64 -> int64) . update daily cron script to run makewhatis and restore makewhatis in man Makefile (makedb), restores functionality of man -k . netbsd imports of man, mdocml, makewhatis, libutil, apropos . update man.conf with manpage locations, restoring man [-s] <section> . throws out some obsolete manpages
show more ...
|
#
bc0a3923 |
| 21-Sep-2011 |
Ben Gras <ben@minix3.org> |
worldstone benchmark script
. also imports seq(1) to help it . add -C option to time(1) to print tsc difference . increase col width for ministat for tsc numbers
|
#
10375d26 |
| 10-Aug-2011 |
Ben Gras <ben@minix3.org> |
don't keep minix-port.patch files in repo
. causes git noise, and unnecessary conflicts . are easily generated with 'make nbsd_diff' in tools/
|
#
ec84a2cf |
| 25-Jun-2011 |
Ben Gras <ben@minix3.org> |
.gitignore: add obj-elfbase-nbsd
|
#
cc17b27a |
| 27-Apr-2011 |
Gianluca Guida <gianluca@minix3.org> |
Build NetBSD libc library in world in ELF mode.
3 sets of libraries are built now: . ack: all libraries that ack can compile (/usr/lib/i386/) . clang+elf: all libraries with minix headers (/usr/
Build NetBSD libc library in world in ELF mode.
3 sets of libraries are built now: . ack: all libraries that ack can compile (/usr/lib/i386/) . clang+elf: all libraries with minix headers (/usr/lib/) . clang+elf: all libraries with netbsd headers (/usr/netbsd/)
Once everything can be compiled with netbsd libraries and headers, the /usr/netbsd hierarchy will be obsolete and its libraries compiled with netbsd headers will be installed in /usr/lib, and its headers in /usr/include. (i.e. minix libc and current minix headers set will be gone.)
To use the NetBSD libc system (libraries + headers) before it is the default libc, see: http://wiki.minix3.org/en/DevelopersGuide/UsingNetBSDCode This wiki page also documents the maintenance of the patch files of minix-specific changes to imported NetBSD code.
Changes in this commit: . libsys: Add NBSD compilation and create a safe NBSD-based libc. . Port rest of libraries (except libddekit) to new header system. . Enable compilation of libddekit with new headers. . Enable kernel compilation with new headers. . Enable drivers compilation with new headers. . Port legacy commands to new headers and libc. . Port servers to new headers. . Add <sys/sigcontext.h> in compat library. . Remove dependency file in tree. . Enable compilation of common/lib/libc/atomic in libsys . Do not generate RCSID strings in libc. . Temporarily disable zoneinfo as they are incompatible with NetBSD format . obj-nbsd for .gitignore . Procfs: use only integer arithmetic. (Antoine Leca) . Increase ramdisk size to create NBSD-based images. . Remove INCSYMLINKS handling hack. . Add nbsd_include/sys/exec_elf.h . Enable ELF compilation with NBSD libc. . Add 'make nbsdsrc' in tools to download reference NetBSD sources. . Automate minix-port.patch creation. . Avoid using fstavfs() as it is *extremely* slow and unneeded. . Set err() as PRIVATE to avoid name clash with libc. . [NBSD] servers/vm: remove compilation warnings. . u32 is not a long in NBSD headers. . UPDATING info on netbsd hierarchy . commands fixes for netbsd libc
show more ...
|
#
230b7775 |
| 07-Jun-2011 |
Ben Gras <ben@minix3.org> |
changes for detecting and building for clang/binutils elf
and minor fixes: . add ack/clean target to lib, 'unify' clean target . add includes as library dependency . mk: exclude warning options c
changes for detecting and building for clang/binutils elf
and minor fixes: . add ack/clean target to lib, 'unify' clean target . add includes as library dependency . mk: exclude warning options clang doesn't have in non-gcc . set -e in lib/*.sh build files . clang compile error circumvention (disable NOASSERTS for release builds)
show more ...
|
#
4ee146c0 |
| 17-Nov-2010 |
Ben Gras <ben@minix3.org> |
revert r8783, as those entries are auto-generated now
|
#
371624e0 |
| 17-Nov-2010 |
Ben Gras <ben@minix3.org> |
. auto-generate per-directory .gitignore files based on $(CLEANFILES) . gitignore .gitignore files except for the root one.
|
#
8ccfb297 |
| 15-Nov-2010 |
Arun Thomas <arun@minix3.org> |
Update gitignore
|
#
0e6dcf02 |
| 04-Nov-2010 |
Ben Gras <ben@minix3.org> |
.gitignore: also ignore CVS and .svn dirs
- to make importing from cvs and svn repos smoother
|
#
16493465 |
| 02-Nov-2010 |
Ben Gras <ben@minix3.org> |
add top-level .gitignore.
|