| #
7c8fb5cb |
| 30-Jun-2024 |
christos <christos@NetBSD.org> |
make SSP build work again
|
| #
45fa5e92 |
| 01-Aug-2023 |
mrg <mrg@NetBSD.org> |
various updates to build native GCC 12.
- for usr.bin, build libcody and link it into cc1*plus - move makefile code for auto-build.h and version.h (was gcov-iov.h) into makefile fragment to share
various updates to build native GCC 12.
- for usr.bin, build libcody and link it into cc1*plus - move makefile code for auto-build.h and version.h (was gcov-iov.h) into makefile fragment to share them. (XXX probably best to only do this in one place, but that's a future step.) - many updates to handle the .c -> .cc renames - build some x86 files with -msse2 - bump shlib versions for libgomp and libstdc++v3 - fix MKGCCCMDS=no builds - updates for new rtl-ssa subdir - use -std=gnu++11 for various places - define TARGET_MACHINE and HOST_MACHINE for some places - avoid a .BEGIN rule that writes to missing obj (ie src) sometimes
cleanups still needed: - remove a bunch of commented -Wno* that don't seem to be needed anymore - leave or remove various vax-specific -O0s that should no longer be necessary for the vax-gcc port - some "XXXGCC12" that should be may be fixable or converted to using our standard ${CC_...} warnings (but may need to remain, in which case the XXXGCC12 marker will be removed.)
with these, and a few other changes around the tree, i've able to build gcc12 releases for several ports that seem to work (arm64, sparc, amd64, i386 at least so far, have run, several others have built.)
show more ...
|
| #
0ab65e79 |
| 19-May-2023 |
lukem <lukem@NetBSD.org> |
gcc: fix build with clang++ HOST_CXX
Define HOSTPROG_CXX before .include anything that brings in bsd.own.mk. This ensures that HOST_DBG (etc) gets assigned before HOST_CFLAGS and HOST_CXXFLAGS is cr
gcc: fix build with clang++ HOST_CXX
Define HOSTPROG_CXX before .include anything that brings in bsd.own.mk. This ensures that HOST_DBG (etc) gets assigned before HOST_CFLAGS and HOST_CXXFLAGS is created.
backend: .include <bsd.init.mk> much earlier, as per the other directories. Fixes backend build when using clang++ as the host compiler (e.g., macOS), because backend host tools are now built with -O. Inspired by https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255760
Note that gcc.old/Makefile.prog may be mis-used because it defines HOSTPROG_CXX and this Makefile fragment is included after bsd.*.mk in other Makefiles, but they seem to build ok so leaving it alone for now.
Fixes PR toolchain/57014
show more ...
|
| #
a0439553 |
| 18-Sep-2021 |
christos <christos@NetBSD.org> |
Patch the build script and toolchain to allow passing through HOST_CPPFLAGS, HOST_CXXFLAGS, but not LIBRARY_PATH because it breaks the build. These variables are necessary to support building NetBSD
Patch the build script and toolchain to allow passing through 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
show more ...
|
| #
09f7d6a7 |
| 11-Feb-2018 |
christos <christos@NetBSD.org> |
Use bsd.init.mk (instead of bsd.own.mk) consistently so that Makefile.inc gets called before bsd.own.mk so that we get a chance to use NOFOO easily in Makefile.inc. Use that to turn CTF off for every
Use bsd.init.mk (instead of bsd.own.mk) consistently so that Makefile.inc gets called before bsd.own.mk so that we get a chance to use NOFOO easily in Makefile.inc. Use that to turn CTF off for everything.
show more ...
|
| #
64f116ed |
| 05-Mar-2014 |
tron <tron@NetBSD.org> |
Get GCC 4.8 closer to build with "USE_SSP" set to "yes".
|
| #
49d8c9ec |
| 01-Mar-2014 |
mrg <mrg@NetBSD.org> |
merge GCC 4.8 build.
|
| #
6e02d043 |
| 22-Aug-2013 |
matt <matt@NetBSD.org> |
Add MACHINE_ARCH's evbearmv5-e[bl] to work
|
| #
debeb3b1 |
| 13-Aug-2013 |
drochner <drochner@NetBSD.org> |
add to CLEANFILES at some places, for generated files
|
| #
d15283f2 |
| 29-Jun-2011 |
mrg <mrg@NetBSD.org> |
minor fixes for libstdc++-v3 build. fix the gengtype call.
|
| #
498a5a5a |
| 28-Jun-2011 |
mrg <mrg@NetBSD.org> |
init.o wants a localedir.h to define LOCALEDIR now. make it so.
|
| #
3b87de1d |
| 21-Jun-2011 |
mrg <mrg@NetBSD.org> |
move the gcc 4.5 usr.bin build makefiles to the right place.
|