History log of /netbsd-current/external/gpl3/gcc/usr.bin/cc1obj/Makefile
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: perseant-exfatfs-base-20240630
# 1.20 30-Jun-2024 christos

make SSP build work again


Revision tags: perseant-exfatfs-base
# 1.19 01-Aug-2023 mrg

branches: 1.19.2;
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.)


Revision tags: netbsd-10-base cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base
# 1.18 23-Apr-2021 mrg

branches: 1.18.6;
build cc1objplus. don't forget debug set this time.


# 1.17 05-Sep-2020 mrg

make GCC 9.3.0 build itself:
- common-target is needed before common now
- complete build-sort.o framework
- fix cyclic dep
- fix .c vs .cc issues


# 1.16 29-Jun-2020 lukem

Fix addition of C++ .cc source to SRCS

Fix assumption that all of the source files are .c, as some are .cc.


# 1.15 28-Apr-2020 mrg

use -O3 for c-common.c on mipse[lb]. -O2 (but not -O1, -Os, or -O3) fails:

/tmp/ccyXqMRz.s: Assembler messages:
/tmp/ccyXqMRz.s:35813: Error: branch out of range
/tmp/ccyXqMRz.s:85083: Error: branch out of range


Revision tags: phil-wifi-20200421 phil-wifi-20200411 is-mlppp-base phil-wifi-20200406
# 1.14 12-Feb-2020 fox

external/gpl3/gcc: Fix build failure under LLVM.

-Wno-error= flag now only applies to gcc 8 and not to LLVM based builds.

Reviewed by: kamil@


# 1.13 09-Feb-2020 fox

external/gpl3/gcc: Suppress -Werror=format-overflow error.

Add -Wno-error=format-overflow for c-cppbuiltin.c and c-typeck.c to prevent
build failure.

Error was reported when build.sh was run with MKLIBCSANITIZER=yes flag.

Reviewed by: kamil@


Revision tags: netbsd-9-4-RELEASE netbsd-9-3-RELEASE netbsd-9-2-RELEASE netbsd-9-1-RELEASE netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609
# 1.12 06-Feb-2019 christos

fix stack protector build


# 1.11 01-Feb-2019 mrg

- move various stuff into Makefile.prog
- make sure VER_CPPFLAGS is applied to all required files
- add ADD_FRONTEND_LIBRARY to avoid linking libfrontend, while
using the rest of this fragment


Revision tags: netbsd-8-3-RELEASE netbsd-8-2-RELEASE netbsd-8-1-RELEASE netbsd-8-1-RC1 pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
# 1.10 24-Mar-2016 christos

branches: 1.10.16;
XXX: gcc -O0 for vax


# 1.9 18-Mar-2016 christos

Add more stack-protector elides


Revision tags: netbsd-7-2-RELEASE netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 netbsd-7-1-RC1 netbsd-7-0-2-RELEASE netbsd-7-nhusb-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE gcc-4-8-5-pre-gcc-old-import netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base tls-earlyentropy-base tls-maxphys-base
# 1.8 31-May-2014 mrg

make sure that files containing version numbers are rebuilt when
the version actually changes.


Revision tags: yamt-pagecache-base9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15
# 1.7 22-Mar-2014 tron

branches: 1.7.2;
Fix build with "HAVE_GCC=48" and "USE_SSP=yes".


Revision tags: riastradh-drm2-base3
# 1.6 01-Mar-2014 mrg

merge GCC 4.8 build.


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE yamt-pagecache-tag8 netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE imported-to-gcc-old-20140227-0107 netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 agc-symver-base netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 yamt-pagecache-base5 yamt-pagecache-base4 netbsd-6-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.5 09-Aug-2011 joerg

branches: 1.5.2; 1.5.8;
Since cproj and friends are used, link explicitly against libm.


# 1.4 21-Jul-2011 mrg

build GMP, MPFR and MPC as private libraries just for GCC. don't
install the headers or librarys into the system.

someone who really cares could make them shlibs again and have them
installed into eg, /usr/lib/gcc. not convinced it is worth it.


# 1.3 05-Jul-2011 mrg

fix the ordering of gmp, mpfr and mpc libraries. add to DPLIB.


# 1.2 29-Jun-2011 mrg

- build libdecnumber
- don't build protoize/unprotoize
- use libdecnumber and VER_CPPFLAGS


# 1.1 21-Jun-2011 mrg

move the gcc 4.5 usr.bin build makefiles to the right place.


# 1.19 01-Aug-2023 mrg

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.)


Revision tags: netbsd-10-base cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base
# 1.18 23-Apr-2021 mrg

build cc1objplus. don't forget debug set this time.


# 1.17 05-Sep-2020 mrg

make GCC 9.3.0 build itself:
- common-target is needed before common now
- complete build-sort.o framework
- fix cyclic dep
- fix .c vs .cc issues


# 1.16 29-Jun-2020 lukem

Fix addition of C++ .cc source to SRCS

Fix assumption that all of the source files are .c, as some are .cc.


# 1.15 28-Apr-2020 mrg

use -O3 for c-common.c on mipse[lb]. -O2 (but not -O1, -Os, or -O3) fails:

/tmp/ccyXqMRz.s: Assembler messages:
/tmp/ccyXqMRz.s:35813: Error: branch out of range
/tmp/ccyXqMRz.s:85083: Error: branch out of range


Revision tags: phil-wifi-20200421 phil-wifi-20200411 is-mlppp-base phil-wifi-20200406
# 1.14 12-Feb-2020 fox

external/gpl3/gcc: Fix build failure under LLVM.

-Wno-error= flag now only applies to gcc 8 and not to LLVM based builds.

Reviewed by: kamil@


# 1.13 09-Feb-2020 fox

external/gpl3/gcc: Suppress -Werror=format-overflow error.

Add -Wno-error=format-overflow for c-cppbuiltin.c and c-typeck.c to prevent
build failure.

Error was reported when build.sh was run with MKLIBCSANITIZER=yes flag.

Reviewed by: kamil@


Revision tags: netbsd-9-3-RELEASE netbsd-9-2-RELEASE netbsd-9-1-RELEASE netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609
# 1.12 06-Feb-2019 christos

fix stack protector build


# 1.11 01-Feb-2019 mrg

- move various stuff into Makefile.prog
- make sure VER_CPPFLAGS is applied to all required files
- add ADD_FRONTEND_LIBRARY to avoid linking libfrontend, while
using the rest of this fragment


Revision tags: netbsd-8-2-RELEASE netbsd-8-1-RELEASE netbsd-8-1-RC1 pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
# 1.10 24-Mar-2016 christos

branches: 1.10.16;
XXX: gcc -O0 for vax


# 1.9 18-Mar-2016 christos

Add more stack-protector elides


Revision tags: netbsd-7-2-RELEASE netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 netbsd-7-1-RC1 netbsd-7-0-2-RELEASE netbsd-7-nhusb-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE gcc-4-8-5-pre-gcc-old-import netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base tls-earlyentropy-base tls-maxphys-base
# 1.8 31-May-2014 mrg

make sure that files containing version numbers are rebuilt when
the version actually changes.


Revision tags: yamt-pagecache-base9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15
# 1.7 22-Mar-2014 tron

branches: 1.7.2;
Fix build with "HAVE_GCC=48" and "USE_SSP=yes".


Revision tags: riastradh-drm2-base3
# 1.6 01-Mar-2014 mrg

merge GCC 4.8 build.


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE yamt-pagecache-tag8 netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE imported-to-gcc-old-20140227-0107 netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 agc-symver-base netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 yamt-pagecache-base5 yamt-pagecache-base4 netbsd-6-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.5 09-Aug-2011 joerg

branches: 1.5.2; 1.5.8;
Since cproj and friends are used, link explicitly against libm.


# 1.4 21-Jul-2011 mrg

build GMP, MPFR and MPC as private libraries just for GCC. don't
install the headers or librarys into the system.

someone who really cares could make them shlibs again and have them
installed into eg, /usr/lib/gcc. not convinced it is worth it.


# 1.3 05-Jul-2011 mrg

fix the ordering of gmp, mpfr and mpc libraries. add to DPLIB.


# 1.2 29-Jun-2011 mrg

- build libdecnumber
- don't build protoize/unprotoize
- use libdecnumber and VER_CPPFLAGS


# 1.1 21-Jun-2011 mrg

move the gcc 4.5 usr.bin build makefiles to the right place.


# 1.18 23-Apr-2021 mrg

build cc1objplus. don't forget debug set this time.


# 1.17 05-Sep-2020 mrg

make GCC 9.3.0 build itself:
- common-target is needed before common now
- complete build-sort.o framework
- fix cyclic dep
- fix .c vs .cc issues


# 1.16 29-Jun-2020 lukem

Fix addition of C++ .cc source to SRCS

Fix assumption that all of the source files are .c, as some are .cc.


# 1.15 28-Apr-2020 mrg

use -O3 for c-common.c on mipse[lb]. -O2 (but not -O1, -Os, or -O3) fails:

/tmp/ccyXqMRz.s: Assembler messages:
/tmp/ccyXqMRz.s:35813: Error: branch out of range
/tmp/ccyXqMRz.s:85083: Error: branch out of range


Revision tags: phil-wifi-20200421 phil-wifi-20200411 is-mlppp-base phil-wifi-20200406
# 1.14 12-Feb-2020 fox

external/gpl3/gcc: Fix build failure under LLVM.

-Wno-error= flag now only applies to gcc 8 and not to LLVM based builds.

Reviewed by: kamil@


# 1.13 09-Feb-2020 fox

external/gpl3/gcc: Suppress -Werror=format-overflow error.

Add -Wno-error=format-overflow for c-cppbuiltin.c and c-typeck.c to prevent
build failure.

Error was reported when build.sh was run with MKLIBCSANITIZER=yes flag.

Reviewed by: kamil@


Revision tags: netbsd-9-1-RELEASE netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609
# 1.12 06-Feb-2019 christos

fix stack protector build


# 1.11 01-Feb-2019 mrg

- move various stuff into Makefile.prog
- make sure VER_CPPFLAGS is applied to all required files
- add ADD_FRONTEND_LIBRARY to avoid linking libfrontend, while
using the rest of this fragment


Revision tags: netbsd-8-2-RELEASE netbsd-8-1-RELEASE netbsd-8-1-RC1 pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
# 1.10 24-Mar-2016 christos

branches: 1.10.16;
XXX: gcc -O0 for vax


# 1.9 18-Mar-2016 christos

Add more stack-protector elides


Revision tags: netbsd-7-2-RELEASE netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 netbsd-7-1-RC1 netbsd-7-0-2-RELEASE netbsd-7-nhusb-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE gcc-4-8-5-pre-gcc-old-import netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base tls-earlyentropy-base tls-maxphys-base
# 1.8 31-May-2014 mrg

make sure that files containing version numbers are rebuilt when
the version actually changes.


Revision tags: yamt-pagecache-base9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15
# 1.7 22-Mar-2014 tron

branches: 1.7.2;
Fix build with "HAVE_GCC=48" and "USE_SSP=yes".


Revision tags: riastradh-drm2-base3
# 1.6 01-Mar-2014 mrg

merge GCC 4.8 build.


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE yamt-pagecache-tag8 netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE imported-to-gcc-old-20140227-0107 netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 agc-symver-base netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 yamt-pagecache-base5 yamt-pagecache-base4 netbsd-6-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.5 09-Aug-2011 joerg

branches: 1.5.2; 1.5.8;
Since cproj and friends are used, link explicitly against libm.


# 1.4 21-Jul-2011 mrg

build GMP, MPFR and MPC as private libraries just for GCC. don't
install the headers or librarys into the system.

someone who really cares could make them shlibs again and have them
installed into eg, /usr/lib/gcc. not convinced it is worth it.


# 1.3 05-Jul-2011 mrg

fix the ordering of gmp, mpfr and mpc libraries. add to DPLIB.


# 1.2 29-Jun-2011 mrg

- build libdecnumber
- don't build protoize/unprotoize
- use libdecnumber and VER_CPPFLAGS


# 1.1 21-Jun-2011 mrg

move the gcc 4.5 usr.bin build makefiles to the right place.


# 1.17 05-Sep-2020 mrg

make GCC 9.3.0 build itself:
- common-target is needed before common now
- complete build-sort.o framework
- fix cyclic dep
- fix .c vs .cc issues


# 1.16 29-Jun-2020 lukem

Fix addition of C++ .cc source to SRCS

Fix assumption that all of the source files are .c, as some are .cc.


# 1.15 28-Apr-2020 mrg

use -O3 for c-common.c on mipse[lb]. -O2 (but not -O1, -Os, or -O3) fails:

/tmp/ccyXqMRz.s: Assembler messages:
/tmp/ccyXqMRz.s:35813: Error: branch out of range
/tmp/ccyXqMRz.s:85083: Error: branch out of range


Revision tags: phil-wifi-20200421 phil-wifi-20200411 is-mlppp-base phil-wifi-20200406
# 1.14 12-Feb-2020 fox

external/gpl3/gcc: Fix build failure under LLVM.

-Wno-error= flag now only applies to gcc 8 and not to LLVM based builds.

Reviewed by: kamil@


# 1.13 09-Feb-2020 fox

external/gpl3/gcc: Suppress -Werror=format-overflow error.

Add -Wno-error=format-overflow for c-cppbuiltin.c and c-typeck.c to prevent
build failure.

Error was reported when build.sh was run with MKLIBCSANITIZER=yes flag.

Reviewed by: kamil@


Revision tags: netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609
# 1.12 06-Feb-2019 christos

fix stack protector build


# 1.11 01-Feb-2019 mrg

- move various stuff into Makefile.prog
- make sure VER_CPPFLAGS is applied to all required files
- add ADD_FRONTEND_LIBRARY to avoid linking libfrontend, while
using the rest of this fragment


Revision tags: netbsd-8-2-RELEASE netbsd-8-1-RELEASE netbsd-8-1-RC1 pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
# 1.10 24-Mar-2016 christos

branches: 1.10.16;
XXX: gcc -O0 for vax


# 1.9 18-Mar-2016 christos

Add more stack-protector elides


Revision tags: netbsd-7-2-RELEASE netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 netbsd-7-1-RC1 netbsd-7-0-2-RELEASE netbsd-7-nhusb-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE gcc-4-8-5-pre-gcc-old-import netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base tls-earlyentropy-base tls-maxphys-base
# 1.8 31-May-2014 mrg

make sure that files containing version numbers are rebuilt when
the version actually changes.


Revision tags: yamt-pagecache-base9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15
# 1.7 22-Mar-2014 tron

branches: 1.7.2;
Fix build with "HAVE_GCC=48" and "USE_SSP=yes".


Revision tags: riastradh-drm2-base3
# 1.6 01-Mar-2014 mrg

merge GCC 4.8 build.


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE yamt-pagecache-tag8 netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE imported-to-gcc-old-20140227-0107 netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 agc-symver-base netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 yamt-pagecache-base5 yamt-pagecache-base4 netbsd-6-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.5 09-Aug-2011 joerg

branches: 1.5.2; 1.5.8;
Since cproj and friends are used, link explicitly against libm.


# 1.4 21-Jul-2011 mrg

build GMP, MPFR and MPC as private libraries just for GCC. don't
install the headers or librarys into the system.

someone who really cares could make them shlibs again and have them
installed into eg, /usr/lib/gcc. not convinced it is worth it.


# 1.3 05-Jul-2011 mrg

fix the ordering of gmp, mpfr and mpc libraries. add to DPLIB.


# 1.2 29-Jun-2011 mrg

- build libdecnumber
- don't build protoize/unprotoize
- use libdecnumber and VER_CPPFLAGS


# 1.1 21-Jun-2011 mrg

move the gcc 4.5 usr.bin build makefiles to the right place.


# 1.16 29-Jun-2020 lukem

Fix addition of C++ .cc source to SRCS

Fix assumption that all of the source files are .c, as some are .cc.


# 1.15 28-Apr-2020 mrg

use -O3 for c-common.c on mipse[lb]. -O2 (but not -O1, -Os, or -O3) fails:

/tmp/ccyXqMRz.s: Assembler messages:
/tmp/ccyXqMRz.s:35813: Error: branch out of range
/tmp/ccyXqMRz.s:85083: Error: branch out of range


Revision tags: phil-wifi-20200421 phil-wifi-20200411 is-mlppp-base phil-wifi-20200406
# 1.14 12-Feb-2020 fox

external/gpl3/gcc: Fix build failure under LLVM.

-Wno-error= flag now only applies to gcc 8 and not to LLVM based builds.

Reviewed by: kamil@


# 1.13 09-Feb-2020 fox

external/gpl3/gcc: Suppress -Werror=format-overflow error.

Add -Wno-error=format-overflow for c-cppbuiltin.c and c-typeck.c to prevent
build failure.

Error was reported when build.sh was run with MKLIBCSANITIZER=yes flag.

Reviewed by: kamil@


Revision tags: netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609
# 1.12 06-Feb-2019 christos

fix stack protector build


# 1.11 01-Feb-2019 mrg

- move various stuff into Makefile.prog
- make sure VER_CPPFLAGS is applied to all required files
- add ADD_FRONTEND_LIBRARY to avoid linking libfrontend, while
using the rest of this fragment


Revision tags: netbsd-8-2-RELEASE netbsd-8-1-RELEASE netbsd-8-1-RC1 pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
# 1.10 24-Mar-2016 christos

branches: 1.10.16;
XXX: gcc -O0 for vax


# 1.9 18-Mar-2016 christos

Add more stack-protector elides


Revision tags: netbsd-7-2-RELEASE netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 netbsd-7-1-RC1 netbsd-7-0-2-RELEASE netbsd-7-nhusb-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE gcc-4-8-5-pre-gcc-old-import netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base tls-earlyentropy-base tls-maxphys-base
# 1.8 31-May-2014 mrg

make sure that files containing version numbers are rebuilt when
the version actually changes.


Revision tags: yamt-pagecache-base9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15
# 1.7 22-Mar-2014 tron

branches: 1.7.2;
Fix build with "HAVE_GCC=48" and "USE_SSP=yes".


Revision tags: riastradh-drm2-base3
# 1.6 01-Mar-2014 mrg

merge GCC 4.8 build.


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE yamt-pagecache-tag8 netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE imported-to-gcc-old-20140227-0107 netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 agc-symver-base netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 yamt-pagecache-base5 yamt-pagecache-base4 netbsd-6-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.5 09-Aug-2011 joerg

branches: 1.5.2; 1.5.8;
Since cproj and friends are used, link explicitly against libm.


# 1.4 21-Jul-2011 mrg

build GMP, MPFR and MPC as private libraries just for GCC. don't
install the headers or librarys into the system.

someone who really cares could make them shlibs again and have them
installed into eg, /usr/lib/gcc. not convinced it is worth it.


# 1.3 05-Jul-2011 mrg

fix the ordering of gmp, mpfr and mpc libraries. add to DPLIB.


# 1.2 29-Jun-2011 mrg

- build libdecnumber
- don't build protoize/unprotoize
- use libdecnumber and VER_CPPFLAGS


# 1.1 21-Jun-2011 mrg

move the gcc 4.5 usr.bin build makefiles to the right place.


# 1.15 28-Apr-2020 mrg

use -O3 for c-common.c on mipse[lb]. -O2 (but not -O1, -Os, or -O3) fails:

/tmp/ccyXqMRz.s: Assembler messages:
/tmp/ccyXqMRz.s:35813: Error: branch out of range
/tmp/ccyXqMRz.s:85083: Error: branch out of range


Revision tags: phil-wifi-20200421 phil-wifi-20200411 is-mlppp-base phil-wifi-20200406
# 1.14 12-Feb-2020 fox

external/gpl3/gcc: Fix build failure under LLVM.

-Wno-error= flag now only applies to gcc 8 and not to LLVM based builds.

Reviewed by: kamil@


# 1.13 09-Feb-2020 fox

external/gpl3/gcc: Suppress -Werror=format-overflow error.

Add -Wno-error=format-overflow for c-cppbuiltin.c and c-typeck.c to prevent
build failure.

Error was reported when build.sh was run with MKLIBCSANITIZER=yes flag.

Reviewed by: kamil@


Revision tags: netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609
# 1.12 06-Feb-2019 christos

fix stack protector build


# 1.11 01-Feb-2019 mrg

- move various stuff into Makefile.prog
- make sure VER_CPPFLAGS is applied to all required files
- add ADD_FRONTEND_LIBRARY to avoid linking libfrontend, while
using the rest of this fragment


Revision tags: netbsd-8-2-RELEASE netbsd-8-1-RELEASE netbsd-8-1-RC1 pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
# 1.10 24-Mar-2016 christos

branches: 1.10.16;
XXX: gcc -O0 for vax


# 1.9 18-Mar-2016 christos

Add more stack-protector elides


Revision tags: netbsd-7-2-RELEASE netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 netbsd-7-1-RC1 netbsd-7-0-2-RELEASE netbsd-7-nhusb-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE gcc-4-8-5-pre-gcc-old-import netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base tls-earlyentropy-base tls-maxphys-base
# 1.8 31-May-2014 mrg

make sure that files containing version numbers are rebuilt when
the version actually changes.


Revision tags: yamt-pagecache-base9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15
# 1.7 22-Mar-2014 tron

branches: 1.7.2;
Fix build with "HAVE_GCC=48" and "USE_SSP=yes".


Revision tags: riastradh-drm2-base3
# 1.6 01-Mar-2014 mrg

merge GCC 4.8 build.


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE yamt-pagecache-tag8 netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE imported-to-gcc-old-20140227-0107 netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 agc-symver-base netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 yamt-pagecache-base5 yamt-pagecache-base4 netbsd-6-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.5 09-Aug-2011 joerg

branches: 1.5.2; 1.5.8;
Since cproj and friends are used, link explicitly against libm.


# 1.4 21-Jul-2011 mrg

build GMP, MPFR and MPC as private libraries just for GCC. don't
install the headers or librarys into the system.

someone who really cares could make them shlibs again and have them
installed into eg, /usr/lib/gcc. not convinced it is worth it.


# 1.3 05-Jul-2011 mrg

fix the ordering of gmp, mpfr and mpc libraries. add to DPLIB.


# 1.2 29-Jun-2011 mrg

- build libdecnumber
- don't build protoize/unprotoize
- use libdecnumber and VER_CPPFLAGS


# 1.1 21-Jun-2011 mrg

move the gcc 4.5 usr.bin build makefiles to the right place.


# 1.14 12-Feb-2020 fox

external/gpl3/gcc: Fix build failure under LLVM.

-Wno-error= flag now only applies to gcc 8 and not to LLVM based builds.

Reviewed by: kamil@


# 1.13 09-Feb-2020 fox

external/gpl3/gcc: Suppress -Werror=format-overflow error.

Add -Wno-error=format-overflow for c-cppbuiltin.c and c-typeck.c to prevent
build failure.

Error was reported when build.sh was run with MKLIBCSANITIZER=yes flag.

Reviewed by: kamil@


Revision tags: netbsd-9-0-RC2 netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609
# 1.12 06-Feb-2019 christos

fix stack protector build


# 1.11 01-Feb-2019 mrg

- move various stuff into Makefile.prog
- make sure VER_CPPFLAGS is applied to all required files
- add ADD_FRONTEND_LIBRARY to avoid linking libfrontend, while
using the rest of this fragment


Revision tags: netbsd-8-1-RELEASE netbsd-8-1-RC1 pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
# 1.10 24-Mar-2016 christos

branches: 1.10.16;
XXX: gcc -O0 for vax


# 1.9 18-Mar-2016 christos

Add more stack-protector elides


Revision tags: netbsd-7-2-RELEASE netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 netbsd-7-1-RC1 netbsd-7-0-2-RELEASE netbsd-7-nhusb-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE gcc-4-8-5-pre-gcc-old-import netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base tls-earlyentropy-base tls-maxphys-base
# 1.8 31-May-2014 mrg

make sure that files containing version numbers are rebuilt when
the version actually changes.


Revision tags: yamt-pagecache-base9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15
# 1.7 22-Mar-2014 tron

branches: 1.7.2;
Fix build with "HAVE_GCC=48" and "USE_SSP=yes".


Revision tags: riastradh-drm2-base3
# 1.6 01-Mar-2014 mrg

merge GCC 4.8 build.


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE yamt-pagecache-tag8 netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE imported-to-gcc-old-20140227-0107 netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 agc-symver-base netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 yamt-pagecache-base5 yamt-pagecache-base4 netbsd-6-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.5 09-Aug-2011 joerg

branches: 1.5.2; 1.5.8;
Since cproj and friends are used, link explicitly against libm.


# 1.4 21-Jul-2011 mrg

build GMP, MPFR and MPC as private libraries just for GCC. don't
install the headers or librarys into the system.

someone who really cares could make them shlibs again and have them
installed into eg, /usr/lib/gcc. not convinced it is worth it.


# 1.3 05-Jul-2011 mrg

fix the ordering of gmp, mpfr and mpc libraries. add to DPLIB.


# 1.2 29-Jun-2011 mrg

- build libdecnumber
- don't build protoize/unprotoize
- use libdecnumber and VER_CPPFLAGS


# 1.1 21-Jun-2011 mrg

move the gcc 4.5 usr.bin build makefiles to the right place.


# 1.13 09-Feb-2020 fox

external/gpl3/gcc: Suppress -Werror=format-overflow error.

Add -Wno-error=format-overflow for c-cppbuiltin.c and c-typeck.c to prevent
build failure.

Error was reported when build.sh was run with MKLIBCSANITIZER=yes flag.

Reviewed by: kamil@


Revision tags: netbsd-9-0-RC2 netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609
# 1.12 06-Feb-2019 christos

fix stack protector build


# 1.11 01-Feb-2019 mrg

- move various stuff into Makefile.prog
- make sure VER_CPPFLAGS is applied to all required files
- add ADD_FRONTEND_LIBRARY to avoid linking libfrontend, while
using the rest of this fragment


Revision tags: netbsd-8-1-RELEASE netbsd-8-1-RC1 pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
# 1.10 24-Mar-2016 christos

branches: 1.10.16;
XXX: gcc -O0 for vax


# 1.9 18-Mar-2016 christos

Add more stack-protector elides


Revision tags: netbsd-7-2-RELEASE netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 netbsd-7-1-RC1 netbsd-7-0-2-RELEASE netbsd-7-nhusb-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE gcc-4-8-5-pre-gcc-old-import netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base tls-earlyentropy-base tls-maxphys-base
# 1.8 31-May-2014 mrg

make sure that files containing version numbers are rebuilt when
the version actually changes.


Revision tags: yamt-pagecache-base9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15
# 1.7 22-Mar-2014 tron

branches: 1.7.2;
Fix build with "HAVE_GCC=48" and "USE_SSP=yes".


Revision tags: riastradh-drm2-base3
# 1.6 01-Mar-2014 mrg

merge GCC 4.8 build.


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE yamt-pagecache-tag8 netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE imported-to-gcc-old-20140227-0107 netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 agc-symver-base netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 yamt-pagecache-base5 yamt-pagecache-base4 netbsd-6-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.5 09-Aug-2011 joerg

branches: 1.5.2; 1.5.8;
Since cproj and friends are used, link explicitly against libm.


# 1.4 21-Jul-2011 mrg

build GMP, MPFR and MPC as private libraries just for GCC. don't
install the headers or librarys into the system.

someone who really cares could make them shlibs again and have them
installed into eg, /usr/lib/gcc. not convinced it is worth it.


# 1.3 05-Jul-2011 mrg

fix the ordering of gmp, mpfr and mpc libraries. add to DPLIB.


# 1.2 29-Jun-2011 mrg

- build libdecnumber
- don't build protoize/unprotoize
- use libdecnumber and VER_CPPFLAGS


# 1.1 21-Jun-2011 mrg

move the gcc 4.5 usr.bin build makefiles to the right place.


# 1.12 06-Feb-2019 christos

fix stack protector build


# 1.11 01-Feb-2019 mrg

- move various stuff into Makefile.prog
- make sure VER_CPPFLAGS is applied to all required files
- add ADD_FRONTEND_LIBRARY to avoid linking libfrontend, while
using the rest of this fragment


Revision tags: pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
# 1.10 24-Mar-2016 christos

XXX: gcc -O0 for vax


# 1.9 18-Mar-2016 christos

Add more stack-protector elides


Revision tags: netbsd-7-2-RELEASE netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 netbsd-7-1-RC1 netbsd-7-0-2-RELEASE netbsd-7-nhusb-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE gcc-4-8-5-pre-gcc-old-import netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base tls-earlyentropy-base tls-maxphys-base
# 1.8 31-May-2014 mrg

make sure that files containing version numbers are rebuilt when
the version actually changes.


Revision tags: yamt-pagecache-base9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15
# 1.7 22-Mar-2014 tron

branches: 1.7.2;
Fix build with "HAVE_GCC=48" and "USE_SSP=yes".


Revision tags: riastradh-drm2-base3
# 1.6 01-Mar-2014 mrg

merge GCC 4.8 build.


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE yamt-pagecache-tag8 netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE imported-to-gcc-old-20140227-0107 netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 agc-symver-base netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 yamt-pagecache-base5 yamt-pagecache-base4 netbsd-6-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.5 09-Aug-2011 joerg

branches: 1.5.2; 1.5.8;
Since cproj and friends are used, link explicitly against libm.


# 1.4 21-Jul-2011 mrg

build GMP, MPFR and MPC as private libraries just for GCC. don't
install the headers or librarys into the system.

someone who really cares could make them shlibs again and have them
installed into eg, /usr/lib/gcc. not convinced it is worth it.


# 1.3 05-Jul-2011 mrg

fix the ordering of gmp, mpfr and mpc libraries. add to DPLIB.


# 1.2 29-Jun-2011 mrg

- build libdecnumber
- don't build protoize/unprotoize
- use libdecnumber and VER_CPPFLAGS


# 1.1 21-Jun-2011 mrg

move the gcc 4.5 usr.bin build makefiles to the right place.


Revision tags: pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
# 1.10 24-Mar-2016 christos

XXX: gcc -O0 for vax


# 1.9 18-Mar-2016 christos

Add more stack-protector elides


Revision tags: netbsd-7-0-2-RELEASE netbsd-7-nhusb-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE gcc-4-8-5-pre-gcc-old-import netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base tls-earlyentropy-base tls-maxphys-base
# 1.8 31-May-2014 mrg

make sure that files containing version numbers are rebuilt when
the version actually changes.


Revision tags: yamt-pagecache-base9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15
# 1.7 22-Mar-2014 tron

branches: 1.7.2;
Fix build with "HAVE_GCC=48" and "USE_SSP=yes".


Revision tags: riastradh-drm2-base3
# 1.6 01-Mar-2014 mrg

merge GCC 4.8 build.


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE yamt-pagecache-tag8 netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE imported-to-gcc-old-20140227-0107 netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 agc-symver-base netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 yamt-pagecache-base5 yamt-pagecache-base4 netbsd-6-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.5 09-Aug-2011 joerg

branches: 1.5.2; 1.5.8;
Since cproj and friends are used, link explicitly against libm.


# 1.4 21-Jul-2011 mrg

build GMP, MPFR and MPC as private libraries just for GCC. don't
install the headers or librarys into the system.

someone who really cares could make them shlibs again and have them
installed into eg, /usr/lib/gcc. not convinced it is worth it.


# 1.3 05-Jul-2011 mrg

fix the ordering of gmp, mpfr and mpc libraries. add to DPLIB.


# 1.2 29-Jun-2011 mrg

- build libdecnumber
- don't build protoize/unprotoize
- use libdecnumber and VER_CPPFLAGS


# 1.1 21-Jun-2011 mrg

move the gcc 4.5 usr.bin build makefiles to the right place.


# 1.8 31-May-2014 mrg

make sure that files containing version numbers are rebuilt when
the version actually changes.


# 1.7 22-Mar-2014 tron

branches: 1.7.2;
Fix build with "HAVE_GCC=48" and "USE_SSP=yes".


# 1.6 01-Mar-2014 mrg

merge GCC 4.8 build.


# 1.5 09-Aug-2011 joerg

branches: 1.5.2; 1.5.8;
Since cproj and friends are used, link explicitly against libm.


# 1.4 20-Jul-2011 mrg

build GMP, MPFR and MPC as private libraries just for GCC. don't
install the headers or librarys into the system.

someone who really cares could make them shlibs again and have them
installed into eg, /usr/lib/gcc. not convinced it is worth it.


# 1.3 05-Jul-2011 mrg

fix the ordering of gmp, mpfr and mpc libraries. add to DPLIB.


# 1.2 28-Jun-2011 mrg

- build libdecnumber
- don't build protoize/unprotoize
- use libdecnumber and VER_CPPFLAGS


# 1.1 21-Jun-2011 mrg

move the gcc 4.5 usr.bin build makefiles to the right place.


# 1.5.8.1 19-Aug-2014 tls

Rebase to HEAD as of a few days ago.


# 1.5.2.1 21-May-2014 yamt

sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")


# 1.7.2.1 10-Aug-2014 tls

Rebase.