NetBSD re-synchronization of the source treeThis brings our tree to NetBSD 7.0, as found on -current on the10-10-2015.This updates: - LLVM to 3.6.1 - GCC to GCC 5.1 - Replace minix/commands/z
NetBSD re-synchronization of the source treeThis brings our tree to NetBSD 7.0, as found on -current on the10-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 libmincChange-Id: I149836ac18e9326be9353958bab9b266efb056f0
show more ...
ARM: can build with llvm, switch to EABI . bitcode fixes . switch to compiler-rt instead of netbsd libc functions or libgcc for support functions for both x86 and arm . minor build fixes . al
ARM: can build with llvm, switch to EABI . bitcode fixes . switch to compiler-rt instead of netbsd libc functions or libgcc for support functions for both x86 and arm . minor build fixes . allow build with llvm without crossbuilding llvm itself . can now build minix/arm using llvm and eabi - without C++ support for now (hence crossbuilding llvm itself is turned off for minix/arm)Change-Id: If5c44ef766f5b4fc4394d4586ecc289927a0d6eb
LLVM Minix changes - import libcxx - reduce targets to the one when compiled as a toolsChange-Id: Iabb8427f80ff8e89463559a28bcb8b4f2bdbc496
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 loopChange-Id: Ie6ad5226fa2621ff9f0dee8782ea48f9443d2091
libm Makefile: typo (from NetBSD)
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/armChange-Id: I1b234af18eed4ab5675188244e931b2a2b7bd943
Upgrading build system to new NetBSD revisionThe tested targets are the followgin ones: * tools * distribution * sets * releaseThe remaining NetBSD targets have not been disabled nor tested*
Upgrading build system to new NetBSD revisionThe tested targets are the followgin ones: * tools * distribution * sets * releaseThe 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 inMAKEOBJDIR, which means you can now keep objects between two branchswitching. 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"
set major version of shlibs to 0WARNING: this will break existing dynamically linked binaries if theyexist. If you have any: . re-build world statically first if necessary . remove libraries fro
set major version of shlibs to 0WARNING: this will break existing dynamically linked binaries if theyexist. If you have any: . re-build world statically first if necessary . remove libraries from /lib and /usr/lib . then build worldThis change: . avoids possible future dismay when interfacing other systems' binaries; done until they are abi-compatibleThanks to Antoine Leca for pointing this out.
Full switch to clang/ELF. Drop ack. Simplify.There is important information about booting non-ack images indocs/UPDATING. ack/aout-format images can't be built any more, andbooting clang/ELF-form
Full switch to clang/ELF. Drop ack. Simplify.There is important information about booting non-ack images indocs/UPDATING. ack/aout-format images can't be built any more, andbooting clang/ELF-format ones is a little different. Updating to thenew 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
Rename mkfiles from minix.*.mk to bsd.*.mkMakes things easier for pkgsrc
Incorporate bsdmake into buildsystem and reorganize libs