summaryrefslogtreecommitdiff
path: root/tools
AgeCommit message (Collapse)Author
2020-08-14Pull up following revision(s) (requested by mrg in ticket #1049):martin
tools/gcc/mknative-gcc: revision 1.104 tools/gcc/mknative-gcc: revision 1.105 tools/gcc/gcc-version.mk: revision 1.19 share/mk/bsd.own.mk: revision 1.1203 tools/gcc/Makefile: revision 1.98 tools/gcc/mknative-gcc.old: revision 1.7 tools/gcc/mknative-gcc.old: revision 1.8 First pass at mknative for GCC 7.5.0
2019-06-22Bring back two lines deleted by accident. From Kamil Rytarowski.hannken
2019-06-22Update tools/compat/configure for new path of "rpc/types.h".hannken
Remove intermediate patch from rpcgen/Makefile. Patch from Nick Hudson, errors from me.
2019-06-21Instruct tools/rpcgen about new path for rpc headerskamil
Fixes build on Gentoo.
2019-06-21Update to working instructions.maya
thx mrg for the build_install suggestion.
2019-06-19regen tools/compatkamil
2019-06-19Add more SunOS types to tools/compatkamil
Add fallback defintions of: uchar_t, ushort_t, uint_t, ulong_t. Needed by the libctf code on Ubuntu 16.x.
2019-06-19Add sys/uio.h & enum uio_seg, enum uio_rw to tools/compatkamil
This is needed for bootstrapping the tools on Ubuntu 16.x.
2019-06-02force libexpat since the autoconfig test are not cross-compile friendlychristos
(they try to link with /usr/lib/libexpat.so in the compiler invocation).
2019-06-01Disable mpfr to make MKCROSSGDB work again. The problem is that the defaultchristos
(auto) finds the mpfr library in tools, but then when it tries to build using the proper headers it does not find it anymore since we don't install it (like the native build does not find it).
2019-05-29adjust for gdb-8.3christos
2019-05-20sync with arm.christos
2019-05-19sync with latest.christos
2019-05-17Use ${_TOOL_PREFIX} instead of hardcoding "nb" for consistency.nakayama
2019-05-17Revert previous.nakayama
The binaries created are different, but according to joerg@ there is no difference in functionality.
2019-05-16Rename nb{clang,llvm}-tblgen to ${MACHINE_GNU_PLATFORM}-{clang,llvm}-tblgennakayama
since they contain the default target (e.g. x86_64--netbsd).
2019-05-08Fix building libprop as a host tool library on platforms that don't havethorpej
the Matt Thomas rbtree: - Include rb.c in libnbcompat, and provide a nbcompat sys/rbtree.h header. - Make sure libprop's source file include prop_object_impl.h before anything else, and pull in nbtool_config.h from there. Tested by simulating such a host system by renaming the host's <sys/rbtree.h> out of the way (which reproduced the build failure) and verifying that the host-tool installboot contained the rb_* functions in its own .text segment.
2019-05-07Fix build, "pax" must be built before "libprop".hannken
Ok: Matthew Green mrg@
2019-05-07Add installboot(8) support for evbarm (and, in the future, other evb*)thorpej
boards that use u-boot. A known board database lists boards and their respective u-boot packages. u-boot packages are discovered at run-time (in /usr/pkg/share/u-boot, by default). These packages contain board database overlays that describe u-boot installation procedure that's specific for that board. Support this as a native tool and as a host tool. The native tool will attempt to determine the running board type using OpenFirmware calls. Host tool and native tool alike may also specify a board type directly using the "-o board=xxx option" or have installboot(8) determine the board type from a device tree blob using "-o dtb=/path/to/board.dtb". A "-o media=xxx" option is provided for boards that have different u-boot binaries and/or installation procedures for different media types (e.g. SDMMC, eMMC, or USB). This is trivial to extend to other evb* platforms that use u-boot, even if they don't use FDT for autoconfiguration.
2019-05-07Add support for libprop as a host tool library.thorpej
2019-04-03Add MKLLVMRT to build a subset of the LLVM stack for JIT purposes.joerg
Hook up AMDGPU backend for clang.
2019-04-03Undo tools part of the AMDGPU changes for LLVM.joerg
2019-04-03Revert MKLLVMCMDS changes.joerg
2019-03-20split MKLLVM into MKLLVM and MKLLVMCMDS, like MKGCC and MKGCCCMDS:mrg
- only build clang or clang-tblgen if MKLLVMCMDS != "no" - move HAVE_MESA_VER earlier so we can detect mesa 18 and enable MKLLVM on platforms that need it - move the clang commands and headers into llvmcmds group - only build the clang specific LLVM libraries if MKLLVMCMDS != "no" much of this work came from maya@'s github commit f90685c11d4460d3098fa35f48b58d1893e974e0, reworked for HAVE_MESA_VER and llvmcmds vs MKCLANG. build tested on several platforms and on amd64 and i386 with several different build options (clang build, gcc build, gcc build with llvm libs).
2019-03-20bump libstdc++.so.mrg
unfortunately, we attempted to do this for netbsd-8 but we did not actually end up having any ABI incompatibility with that, as turning off dual ABI in libstdc++ means *only* enabling the old ABI. however, enabling dual ABI with C11 defaults (ie, a forward looking ABI) *is* an ABI-change for some special cases and thus we should have bumped this a couple of weeks ago when we re-enabled dual ABI. call this "nb3 20190319". mknative-gcc regen all switched ports and almost all of the unswitched ports.
2019-03-19enable the workarounds for cortex a53 errata 835769 and 843419 by default.mrg
2019-03-10add most of the AMDGPU target makefiles and stuff that don'tmrg
touch the build. this comes from: commit f90685c11d4460d3098fa35f48b58d1893e974e0 Author: Maya Rashish <maya@NetBSD.org> Date: Sat Feb 23 09:46:14 2019 +0200 Separate MKCLANG from MKLLVM. build LLVM libraries as PIC. Add AMDGPU target, and adjust tools accordingly.
2019-02-27also bump the X in "nbX" with previousmrg
2019-02-27bump netbsd gcc version date.mrg
2019-02-26Remove "--disable-libstdcxx-dual-abi". This option does not do whatchristos
it says: Instead of disabling the dual-abi and letting you choose which one you want, it disables the cxx11 abi and the "--with-default-libstdcxx-abi=OPTION" becomes a noop. Removing the old COW compatibility ABI is not easy. For more info see: https://gcc.gnu.org/onlinedocs/libstdc++/manual/configure.html https://gcc.gnu.org/onlinedocs/libstdc++/manual/using_dual_abi.html
2019-02-23pull out libstdc++ config.h as-is, for gnu.ver processing.mrg
pull out the cxx11_sources and cxx98_sources values to avoid hard coding.
2019-02-17don't pass --disable-symver to mknative configure. this turns offmrg
the checking for gcc 4.6 and some exception handling routines which we need on several platforms. this should fix missing symbol issues seen on current-users.
2019-02-09- build the gthr*.h files to be installed on the fly, instead ofmrg
having dozens of copies of the same thing in the tree. - don't fetch any gthr*.h files. - delete ancient gthr-tpf.h that was removed in GCC 4.8 or so. this should fix the call_once tests for real now.
2019-02-04common-target source list is MD. make it so.mrg
2019-02-04- don't getlinks here, they're no longer used.mrg
- pullout the libcommon, libcommon-target and libgomp source list so they don't have to be hard coded in the reachover makefile
2019-02-03add || true to the gthr-default.h copy, it can fail first time aroundmrg
2019-02-01- use --with-default-libstdcxx-abi=new for GCC, otherwise we get themrg
old ABI with --disable-libstdcxx-dual-abi - fix libbacktrace mknative - find gthr-default.h for libstdc++ mknative - fetch FILESYSTEM_SOURCES
2019-01-27fix duplicated chunk from mergedholland
2019-01-27Restore comment accidentally lost in merge.dholland
2019-01-27Merge the [pgoyette-compat] branchpgoyette
2019-01-19make includes works now.mrg
pull out more data needed for headers and fix gthr-defaults.h. libgcc_s has multiple symbols.
2019-01-19also pull out these variables:mrg
enable_execute_stack unwind_header md_unwind_header sfp_machine_header thread_header
2019-01-19obsolete gcc 5 support.mrg
add gcc 7 support. call it "nb1 20190119"
2019-01-02use MACHINE_CPU for elf2aoutchristos
2018-12-31Add an arm-specific elf2aout tool since objdump does not support a.out anymorechristos
2018-12-27explicitly disable initfini-array; we don't have it yet.christos
2018-11-19Prepend ${_TOOL_PREFIX} to xz, too.aymeric
2018-11-11our GCC 6.5 is "nb4 20181109".mrg
2018-11-08need global replacechristos
2018-11-07Adjust for 2.31.1christos