summaryrefslogtreecommitdiff
path: root/tools/gcc
AgeCommit message (Collapse)Author
2022-07-23bump the netbsd version GCC to yesterday's date.mrg
2022-07-22don't rename codecvt.cc here, do it in a Makefile when consumed.mrg
since the Makefiles already need updates for these, it's easier if all of the changes are there.
2021-09-18Patch the build script and toolchain to allow passing throughchristos
HOST_CPPFLAGS, HOST_CXXFLAGS, but not LIBRARY_PATH because it breaks the build. These variables are necessary to support building NetBSD from a GNU Guix or NixOS host, where /usr/include, /lib, and all but /bin/sh do not exist. In many cases, support for HOST_CPPFLAGS was incomplete. From Ryan Sundberg
2021-08-16fetch experimental_headers, experimental_bits_headers, and ext_host_headersmrg
to install install experimental/* and ext/opt_random.h.
2021-05-08Disable again initfini; breaks some archs and not worth dealing with whenchristos
we have both gcc's active in the tree.
2021-05-07enable initfini-array since all platforms support it.christos
2021-04-11add a netbsd version for GCC 10. properly generate omp-device-properties.h.mrg
2021-04-11fetch omp-device-properties.h and don't try to fetch sanitizermrg
stuff automatically yet.
2021-04-11make mknative-gcc.old for GCC 9. begin to update mknative-gcc for GCC 10.mrg
2020-09-09more consolidation and properly condition all variables like previously.mrg
2020-09-09consolidate a bunch of libstdc++ variable collection.mrg
2020-09-08oops, pull out the value of pstl_headers.mrg
2020-09-06mark GCC 9 as (so far) netbsd 20200907 version. this should fix themrg
compiler saying it is "gcc version 9.3.0 ()". (needs mknative redo.)
2020-09-06pass down earm* not earmv5* to mknative-gcc.mrg
2020-09-05disable fetching stuff from libsanitizer for now. it needs libstdc++mrg
to build in mknative using gcc makefiles, and our locale changes break the "normal" build of this. make sure MKNATIVE_TARGET is always set. since mknative-gcc doesn't care about the version any more (we keep two versions for gcc/gcc.old) simply set it to "gcc".
2020-09-05pull out a few more things for GCC 9.mrg
2020-09-05port to GCC 9.3.mrg
2020-08-13set MODULE to ${EXTERNAL_GCC_SUBDIR} so this actually works..mrg
2020-08-13set _OUTDIRBASE depending on $0, and then set _OUTDIR based on this.mrg
now you can copy mknative-gcc to mknative-gcc.old without edit.
2020-08-12mknative-gcc is for GCC 8.4.mrg
mknative-gcc.old is supposed to be for GCC 7, but is the GCC 6 version. update it and mark it for GCC 7.5.
2020-08-11update GCC 7 version to nb4 20200810, and fix the unknown GCC versionmrg
error assignment from "=?" to "?=" so it works as designed.
2020-03-11update date for GCC 8.4.0 import.mrg
2019-11-06add something to auto-detect when GCC has changed from gcc to gcc.oldmrg
or back and auto-cleandir tools/gcc. based upon the code for PREVIOUSTOOLDIR in tools/Makefile.
2019-10-24arm needs more fileschristos
2019-10-16copy arm-cpu.h and arm-isa.h for arm platforms.mrg
2019-09-30remove HAVE_GCC == 6 support, add HAVE_GCC == 8 supportmrg
2019-09-09Fix bugurl. PR toolchain/48712maya
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-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-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"
2018-11-11our GCC 6.5 is "nb4 20181109".mrg
2018-10-19Pass --without-isl to GCC.maya
We don't provide one, but if we did the build would fail. This can also happen if there's a system isl that GCC manages to find. From mgorny.
2018-09-05remove GCC 5 marker. this is now nb3 20180905.mrg
2018-09-05copy across GCC 6.4 mknative-gcc into mknative-gcc.old.mrg
2018-09-04also pullout INTERNAL_CFLAGS for the libgcc build, where it may havemrg
-DHAVE_CC_TLS defined on the command line. (we already collect all the other components.)
2018-09-04in configargs.h, as well as normalising to /usr/src, normalise themrg
--build to the same as the --host, so that it never changes based upon the host you ran mknative on. (some recent changes are only because i updated a system from netbsd-7 to netbsd-8. this will avoid that in the future.)
2018-05-01Create a new bsd.hostinit.mk file and put the build definitions for all hostchristos
programs there; make all Makefiles that use bsd.hostprog.mk include it. Namely turn off MKREPRO and don't make lint, man pages, info files etc. Remove the Makefile.inc files that contained these same settings, and remove the settings from Makefile.host
2018-05-01PR/53238: Robert Elz: Disable MKREPRO in tools; the host compiler mightchristos
not support the necessary options. This is done thusly: 1. Set MKREPRO=no in Makefile.host. This handles all the Makefiles that use it and don't include bsd.own.mk. 2. Create Makefile.inc and set MKREPRO=no in it. Change the Makefiles that include bsd.own.mk, to include bsd.init.mk which includes Makefile.inc first. This will also allow us to control other tools options from a single location if we need to. XXX: pullup-8