#
b2ed49a5 |
| 11-Nov-2015 |
David van Moolenbroek <david@minix3.org> |
libmagicrt: integrate into build system
The magic runtime library is now built as part of the regular build, if the MKMAGIC=yes flag is passed to the build system. The library has been renamed from
libmagicrt: integrate into build system
The magic runtime library is now built as part of the regular build, if the MKMAGIC=yes flag is passed to the build system. The library has been renamed from "magic" to "magicrt" to resolve a name clash with BSD file(1)'s libmagic. All its level-5 LLVM warnings have been resolved. The final library, "libmagicrt.bcc", is now stored in the destination library directory rather than in the source tree.
Change-Id: Iebd4b93a2cafbb59f95d938ad1edb8b4f6e729f6
show more ...
|
#
0a6a1f1d |
| 15-Oct-2015 |
Lionel Sambuc <lionel.sambuc@gmail.com> |
NetBSD re-synchronization of the source tree
This brings our tree to NetBSD 7.0, as found on -current on the 10-10-2015.
This updates: - LLVM to 3.6.1 - GCC to GCC 5.1 - Replace minix/commands/z
NetBSD re-synchronization of the source tree
This brings our tree to NetBSD 7.0, as found on -current on the 10-10-2015.
This updates: - LLVM to 3.6.1 - GCC to GCC 5.1 - Replace minix/commands/zdump with usr.bin/zdump - external/bsd/libelf has moved to /external/bsd/elftoolchain/ - Import ctwm - Drop sprintf from libminc
Change-Id: I149836ac18e9326be9353958bab9b266efb056f0
show more ...
|
#
9b9bea92 |
| 26-Aug-2015 |
David van Moolenbroek <david@minix3.org> |
Do not instrument malloc implementation variables
Since the heap is reconstructed upon state transfer, the old malloc state is discarded. In order to avoid state transfer errors, we can and in fact
Do not instrument malloc implementation variables
Since the heap is reconstructed upon state transfer, the old malloc state is discarded. In order to avoid state transfer errors, we can and in fact must discard the internal state of the malloc implementation. This patch achieves this by using the sectionify pass to mark the variables in the libminc malloc object as state that must be skipped during state transfer.
Change-Id: Ie330f582c8bd45f37a878ea41fa0f9d4a18045e1
show more ...
|
#
bad58c9c |
| 28-Aug-2014 |
Ben Gras <ben@minix3.org> |
merge libminlib with libc
Change-Id: I79cc4ea90c378a1da3dac16487b53034953827a7
|
#
4684ddb6 |
| 06-Dec-2013 |
Lionel Sambuc <lionel@minix3.org> |
LLVM Minix changes
- import libcxx - reduce targets to the one when compiled as a tools
Change-Id: Iabb8427f80ff8e89463559a28bcb8b4f2bdbc496
|
#
d3d33afe |
| 14-Jan-2014 |
Lionel Sambuc <lionel@minix3.org> |
Experimental pthread compatibility library
This patch adds pthread compatibility by using libmthread.
To use this with a program using pthreads, you have to replace #include <pthread> with #def
Experimental pthread compatibility library
This patch adds pthread compatibility by using libmthread.
To use this with a program using pthreads, you have to replace #include <pthread> with #define _MTHREADIFY_PTHREADS #include <minix/mthreads>
This also changes the initialization function to be a constructor, which is implicitly called before the call to main. This allows for conformance with pthreads, while not paying a high price by checking on each mthread_* call whether the library has been initialized or not.
As mthread_init is now a constructor, it also has been set as static, and relevent calls removed from programs using it.
Change-Id: I2aa375db557958d2bee9a70d285aabb990c88f00
show more ...
|
#
84d9c625 |
| 06-Dec-2013 |
Lionel Sambuc <lionel@minix3.org> |
Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC)
- Fix for possible unset uid/gid in toproto - Fix for default mtree style - Update libelf - Importing libexecinfo - Resynchronize GCC, mpc, gm
Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC)
- Fix for possible unset uid/gid in toproto - Fix for default mtree style - Update libelf - Importing libexecinfo - Resynchronize GCC, mpc, gmp, mpfr - build.sh: Replace params with show-params. This has been done as the make target has been renamed in the same way, while a new target named params has been added. This new target generates a file containing all the parameters, instead of printing it on the console. - Update test48 with new etc/services (Fix by Ben Gras <ben@minix3.org) get getservbyport() out of the inner loop
Change-Id: Ie6ad5226fa2621ff9f0dee8782ea48f9443d2091
show more ...
|
#
0cdf705c |
| 24-Apr-2013 |
Lionel Sambuc <lionel@minix3.org> |
Enable optional GCC install and GCC improvements
-By adding MKGCC=yes and MKGCCCMDS=yes on the make commandline it is now possible to compile and install GCC on the system.
Before doing this
Enable optional GCC install and GCC improvements
-By adding MKGCC=yes and MKGCCCMDS=yes on the make commandline it is now possible to compile and install GCC on the system.
Before doing this, if you are not using the build.sh script, you will need to call the fetch scripts in order to retrieve the sources of GCC and its dependencies.
-Reduce difference with NetBSD share/mk
Move Minix-specific parameters from bsd.gcc.mk to bsd.own.mk, which is anyway patched, so that bsd.gcc.mk is now aligned on the NetBSD version.
-Clean libraries dependencies, compiles stdc++ only if gcc is also compiled (it is part of the gcc sources)
-Correct minix.h header sequence, cleanup spec headers.
-Fix cross-compilation from a 32bit host targeting MINIX/arm
Change-Id: I1b234af18eed4ab5675188244e931b2a2b7bd943
show more ...
|
#
2e304675 |
| 17-Jun-2013 |
Anton Kuijsten <anton@kuijsten.info> |
LLVM bitcode for almost the whole source tree
Change-Id: Ibc6f89de112e0649c3a3bfe49c2baa2ed0746212
|
#
1d71e39b |
| 11-Jun-2013 |
Anton Kuijsten <anton@kuijsten.info> |
Gold linker support for entire source tree
|
#
ee0cc364 |
| 06-Feb-2013 |
Tomas Hruby <tom@minix3.org> |
core is not cleaned in libraries
- according to Lionel, no such files are generated
- it conflicts with the core subdirectory in liblwip
|
#
8e5df35e |
| 04-Dec-2012 |
Lionel Sambuc <lionel@minix3.org> |
Importing NetBSD tsort
Change-Id: I110de8037b9253f4fe53cbe13dc8fc281aeea2ec
|
#
b8a678ef |
| 01-Nov-2012 |
Lionel Sambuc <root@10.0.2.15> |
Cross compile on minix support
* Remade patch so it works with minix patch tool.
* New MINIX tar support -ox, so revert back to it
In fetch scripts, tar had been replaced by bsdtar as the pre
Cross compile on minix support
* Remade patch so it works with minix patch tool.
* New MINIX tar support -ox, so revert back to it
In fetch scripts, tar had been replaced by bsdtar as the prebvious tar did not support the -o flag under minix, which is required to prevent usage of tar file stored user and group information.
This introduces portability problems. As our new tar tool now support that flag revert back to improve portability.
show more ...
|
#
9152e1c5 |
| 12-Sep-2012 |
Lionel Sambuc <lionel@minix3.org> |
Upgrading build system to new NetBSD revision
The tested targets are the followgin ones: * tools * distribution * sets * release
The remaining NetBSD targets have not been disabled nor tested *
Upgrading build system to new NetBSD revision
The tested targets are the followgin ones: * tools * distribution * sets * release
The remaining NetBSD targets have not been disabled nor tested *at all*. Try them at your own risk, they may reboot the earth.
For all compliant Makefiles, objects and generated files are put in MAKEOBJDIR, which means you can now keep objects between two branch switching. Same for DESTDIR, please refer to build.sh options.
Regarding new or modifications of Makefiles a few things: * Read share/mk/bsd.README * If you add a subdirectory, add a Makefile in it, and have it called by the parent through the SUBDIR variable. * Do not add arbitrary inclusion which crosses to another branch of the hierarchy; If you can't do without it, put a comment on why. If possible, do not use inclusion at all. * Use as much as possible the infrastructure, it is here to make life easier, do not fight it.
Sets and package are now used to track files. We have one set called "minix", composed of one package called "minix-sys"
show more ...
|
#
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 ...
|
#
39fea0a5 |
| 16-Feb-2012 |
Ben Gras <ben@minix3.org> |
install library manpages
. harmonize bsd.lib.mk and bsd.man.mk with netbsd files . throw out minix section 3 (library calls) manpages, replaced by netbsd ones that are now installed
|
#
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 ...
|
#
06617e7f |
| 22-Jul-2011 |
Arun Thomas <arun@minix3.org> |
Import NetBSD mkdep
|
#
e1091647 |
| 25-Jun-2010 |
Arun Thomas <arun@minix3.org> |
Move mkfiles from /etc/mk to /usr/share/mk
Simplifies pkgsrc porting.
|