The NetBSD Project

CVS log for src/external/gpl3/gcc/usr.bin/Makefile.inc

[BACK] Up to [cvs.NetBSD.org] / src / external / gpl3 / gcc / usr.bin

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.39 / (download) - annotate - [select for diffs], Fri Aug 4 17:17:06 2023 UTC (7 months, 2 weeks ago) by rin
Branch: MAIN
CVS Tags: triaxx-drm, HEAD
Changes since 1.38: +3 -1 lines
Diff to previous 1.38 (colored)

gcc/usr.bin: Sprinkle -fno-jump-tables more for m68k and friends

Now, gcc builds for m68k native.

Revision 1.38 / (download) - annotate - [select for diffs], Thu Aug 3 01:36:55 2023 UTC (7 months, 2 weeks ago) by mrg
Branch: MAIN
Changes since 1.37: +7 -1 lines
Diff to previous 1.37 (colored)

many fixes for native GCC 12 builds

- default to dwarf4 since out ctf tools fail with dwarf5.  i tried to
  do this via subtarget options as other ports do, but this would
  require adjusting several of the targets non-netbsd code, and ideally
  we'll fix our tools sooner than later, so just hack it here for now.
- catch up config/rs6000/netbsd64.h (mostly delete things)
- remove some more upstream diffs in config/vax, though it does not work
  currently - libc.so link fails due to weird relocations.
- include some headers to ensure types are available
- add missing sanitizer netbsd files to the 'dist' tree
- remove no longer present TIOCRCVFRAME and TIOCXMTFRAME interceptors
- expanding the sanitizer OS/cpu defs to cover more netbsd platforms
- copy across a few minor changes from gcc.old's sanitizer's (eg,
  disabling linux-specific code, adding netbsd specific code.)
- add (untested, but building) tsan support for arm64
- re-enable the sanitzers, at least simple -fsanitize=address builds a
  working application on amd64 now
- fix the source lists (mostly .cc -> .cpp rename here)
- add some missing new defines, -f*, and -W*
- bump sanitizer shlib version
- apply -fno-jump-tables in some more places on m68k
- update the list in README.gcc12 to note many things now work or a few
  things to do not work (although there are many uncommited changes at
  this point across the rest of 'src' and 'xsrc'.)  main points are that
  vax, hppa, ppc, and sh3 don't build yet, but most other things are
  either testing and working or at least building.

Revision 1.37 / (download) - annotate - [select for diffs], Tue Aug 1 05:57:53 2023 UTC (7 months, 2 weeks ago) by mrg
Branch: MAIN
Changes since 1.36: +3 -40 lines
Diff to previous 1.36 (colored)

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 1.36 / (download) - annotate - [select for diffs], Wed Jul 12 07:35:15 2023 UTC (8 months, 1 week ago) by mrg
Branch: MAIN
Changes since 1.35: +1 -3 lines
Diff to previous 1.35 (colored)

don't force gnu++98 here.

fixes build issues seen with GCC 10.5, as well as hopefully ones reported
by Andrew Cagney on current-users.

Revision 1.35 / (download) - annotate - [select for diffs], Wed Feb 1 19:38:20 2023 UTC (13 months, 2 weeks ago) by mrg
Branch: MAIN
Changes since 1.34: +6 -1 lines
Diff to previous 1.34 (colored)

for MKDEBUG builds, set CXXFLAGS += -g1 for all GCC binaries.

reduces the size of a non-x11 i386 build by 38% - 992MiB -> 612MiB,
and likely similar reductions elsewhere.  it also reduced the build
time by about 3%, perhaps from less IO to write and less data to
compress.  for amd64, the size was reduced 1137MiB -> 741MiB, about
35%, though i don't have timing guesses here.

note that these are sizes of .gz not .xz (i enable pigz for my
builds), and this probably has a much greater benefit for xz builds
as the sets creation phase is much slower there.

Revision 1.34 / (download) - annotate - [select for diffs], Wed Dec 15 13:28:29 2021 UTC (2 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: netbsd-10-base
Branch point for: netbsd-10
Changes since 1.33: +2 -1 lines
Diff to previous 1.33 (colored)

no lint (c++)

Revision 1.33 / (download) - annotate - [select for diffs], Mon Apr 12 00:05:56 2021 UTC (2 years, 11 months ago) by mrg
Branch: MAIN
CVS Tags: cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.32: +4 -1 lines
Diff to previous 1.32 (colored)

various changes to get GCC 10 to build here.

- fix path to compiler-specific includes
- missing (void) for (older) C
- fix __is_signed/__is_signed_val change
- avoid compiler warning-as-errors
- add to existing COPTS.file values, instead of setting
- bump libgomp minor; functions were added
- add new 'compare' c++ header
- handle new analyzer subdirectory.  set TARGET_MACHINE for lto-streamer-in.c.
  remove params.list etc handling.
- coroutines.cc is another .cc not .c.  adjust .PATH to suit.
- add new lto1 sources
- couple of files not in /arch/ subdirs missed in mknative update.

rs6000.c is still not merged.

Revision 1.32 / (download) - annotate - [select for diffs], Fri Feb 1 10:39:48 2019 UTC (5 years, 1 month ago) by mrg
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, is-mlppp-base, is-mlppp
Changes since 1.31: +7 -3 lines
Diff to previous 1.31 (colored)

- update source lists
- XXX: pull out OBJS-libcommon-target and OBJS-libcommon-target
  in mknative

Revision 1.31 / (download) - annotate - [select for diffs], Sun Feb 11 02:12:28 2018 UTC (6 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: phil-wifi-base, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat
Branch point for: phil-wifi
Changes since 1.30: +3 -2 lines
Diff to previous 1.30 (colored)

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.

Revision 1.30 / (download) - annotate - [select for diffs], Sun Feb 4 09:22:03 2018 UTC (6 years, 1 month ago) by mrg
Branch: MAIN
Changes since 1.29: +3 -1 lines
Diff to previous 1.29 (colored)

partial work-in-progress to build GCC 6.4 natively:
- use -std=gnu++98 by default.
- add build support for new GCC generators, etc.
- regen i386 mknative files.

Revision 1.29 / (download) - annotate - [select for diffs], Tue Aug 22 09:17:50 2017 UTC (6 years, 6 months ago) by mrg
Branch: MAIN
Changes since 1.28: +2 -2 lines
Diff to previous 1.28 (colored)

move the GMP_MACHINE_ARCH definition into external/lgpl3/gmp/Makefile.arch.
soon to be GMP 6 allows us to have only two arm copies.

Revision 1.28 / (download) - annotate - [select for diffs], Fri Aug 4 01:18:39 2017 UTC (6 years, 7 months ago) by mrg
Branch: MAIN
Changes since 1.27: +10 -6 lines
Diff to previous 1.27 (colored)

put the location of gmp/mpc/mpfr in a variable so we can .old them.

Revision 1.27 / (download) - annotate - [select for diffs], Tue Apr 19 21:11:05 2016 UTC (7 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-8-base, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: netbsd-8
Changes since 1.26: +4 -1 lines
Diff to previous 1.26 (colored)

Enable minimal warnings, disabling the unused and narrowing ones that gcc
authors don't seem to pay attention to.

Revision 1.26 / (download) - annotate - [select for diffs], Tue Mar 15 19:14:47 2016 UTC (8 years ago) by mrg
Branch: MAIN
Changes since 1.25: +4 -1 lines
Diff to previous 1.25 (colored)

build a host version of libcpp, same as we do for libiberty.
the new genmatch generator program needs libcpp.

Revision 1.25 / (download) - annotate - [select for diffs], Sun Jul 27 04:16:09 2014 UTC (9 years, 7 months ago) by dholland
Branch: MAIN
CVS Tags: tls-maxphys-base, tls-earlyentropy-base, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, gcc-4-8-5-pre-gcc-old-import
Changes since 1.24: +2 -2 lines
Diff to previous 1.24 (colored)

Update the bug report URL as per PR 48712. I assume in order for this
to propagate to where it'll be seen we need to rerun mknative, which
I'm not in a position to do right now; but this way it'll update the
next time someone else does that.

Revision 1.24 / (download) - annotate - [select for diffs], Sun Jun 1 19:51:02 2014 UTC (9 years, 9 months ago) by mrg
Branch: MAIN
Changes since 1.23: +4 -2 lines
Diff to previous 1.23 (colored)

port over 3 changes made here in the GCC 4.5 tree that we'll need
when GCC 4.8 becomes "gcc.old" eventually.

this tree still needs to be tested for more, but this should be the
bulk of the work.

----
Log Message:
prepare for moving GCC 4.5 into gcc.old:

- convert to using ${EXTERNAL_GCC_SUBDIR}
- define base-external-gpl3-gcc* subdir as GCC_SUBDIR
- use <bsd.init.mk> over <bsd.own.mk> for a bunch of places; mostly
  because it arranges for ../Makefile.inc to be included earlier, and
  don't bother including the latter if the former is already included.
- move all .PATH: settings after <bsd.{own,lib}.mk> so that all
  valid variables are set before it is evaluated
- rename mknative-gcc* to match their subdir name.

XXX the relationship between the Makefile.inc/Makefile.gcc_path files
    is kind of sketchy, it would be great if this was fixed.

----
Log Message:
oops, avoid re-setting DIST to something that might be wrong now.

----
Log Message:
fix another dated DIST.

Revision 1.23 / (download) - annotate - [select for diffs], Sat May 31 22:55:16 2014 UTC (9 years, 9 months ago) by mrg
Branch: MAIN
Changes since 1.22: +2 -1 lines
Diff to previous 1.22 (colored)

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

Revision 1.22 / (download) - annotate - [select for diffs], Thu May 29 07:40:37 2014 UTC (9 years, 9 months ago) by mrg
Branch: MAIN
Changes since 1.21: +4 -2 lines
Diff to previous 1.21 (colored)

commonize the netbsd local version string.  (the native one wasn't
updated, and now that won't be a problem again.)

Revision 1.21 / (download) - annotate - [select for diffs], Sun Mar 9 17:06:30 2014 UTC (10 years ago) by martin
Branch: MAIN
CVS Tags: yamt-pagecache-base9, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3
Branch point for: tls-earlyentropy
Changes since 1.20: +2 -2 lines
Diff to previous 1.20 (colored)

Fix variable name, so BUGURL gets properly defined

Revision 1.20 / (download) - annotate - [select for diffs], Tue Mar 4 09:16:04 2014 UTC (10 years ago) by mrg
Branch: MAIN
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (colored)

bump local pkg version.

Revision 1.19 / (download) - annotate - [select for diffs], Sat Mar 1 10:00:49 2014 UTC (10 years ago) by mrg
Branch: MAIN
Changes since 1.18: +19 -24 lines
Diff to previous 1.18 (colored)

merge GCC 4.8 build.

Revision 1.18 / (download) - annotate - [select for diffs], Wed Feb 26 09:54:33 2014 UTC (10 years ago) by mrg
Branch: MAIN
CVS Tags: imported-to-gcc-old-20140227-0107
Changes since 1.17: +4 -3 lines
Diff to previous 1.17 (colored)

prepare for moving GCC 4.5 into gcc.old:

- convert to using ${EXTERNAL_GCC_SUBDIR}
- define base-external-gpl3-gcc* subdir as GCC_SUBDIR
- use <bsd.init.mk> over <bsd.own.mk> for a bunch of places; mostly
  because it arranges for ../Makefile.inc to be included earlier, and
  don't bother including the latter if the former is already included.
- move all .PATH: settings after <bsd.{own,lib}.mk> so that all
  valid variables are set before it is evaluated
- rename mknative-gcc* to match their subdir name.

XXX the relationship between the Makefile.inc/Makefile.gcc_path files
    is kind of sketchy, it would be great if this was fixed.

Revision 1.17 / (download) - annotate - [select for diffs], Thu Nov 28 13:04:35 2013 UTC (10 years, 3 months ago) by mrg
Branch: MAIN
Changes since 1.16: +3 -3 lines
Diff to previous 1.16 (colored)

handle with moved mpfr*.h files.

Revision 1.16 / (download) - annotate - [select for diffs], Thu Nov 28 12:08:56 2013 UTC (10 years, 3 months ago) by mrg
Branch: MAIN
Changes since 1.15: +3 -3 lines
Diff to previous 1.15 (colored)

update to MPC 1.0.1.

Revision 1.15 / (download) - annotate - [select for diffs], Thu Aug 22 00:17:48 2013 UTC (10 years, 6 months ago) by matt
Branch: MAIN
Changes since 1.14: +3 -2 lines
Diff to previous 1.14 (colored)

Add MACHINE_ARCH's evbearmv5-e[bl] to work

Revision 1.14 / (download) - annotate - [select for diffs], Tue Aug 6 05:36:42 2013 UTC (10 years, 7 months ago) by matt
Branch: MAIN
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored)

Use armv[4-7] to be consistent

Revision 1.13 / (download) - annotate - [select for diffs], Mon Aug 5 03:22:45 2013 UTC (10 years, 7 months ago) by matt
Branch: MAIN
Changes since 1.12: +4 -2 lines
Diff to previous 1.12 (colored)

Use GMP_MACHINE_ARCH which is MACHINE_ARCH with arm substituted for armv[467].

Revision 1.12 / (download) - annotate - [select for diffs], Sun Dec 2 12:55:27 2012 UTC (11 years, 3 months ago) by apb
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, agc-symver-base, agc-symver
Changes since 1.11: +2 -3 lines
Diff to previous 1.11 (colored)

Adjust everything under src (but outside src/tools) to use
the TOOLDIR version of libnbcompat, associated include files,
and associated defs.mk file, instead of the version from the
.OBJDIR of src/tools/compat.  This should fix PR 47188.

Revision 1.11 / (download) - annotate - [select for diffs], Tue Sep 18 07:05:15 2012 UTC (11 years, 6 months ago) by skrll
Branch: MAIN
CVS Tags: yamt-pagecache-base6
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

Update for gcc 4.5.4

Revision 1.10 / (download) - annotate - [select for diffs], Sun Aug 7 11:41:50 2011 UTC (12 years, 7 months ago) by mrg
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus
Branch point for: yamt-pagecache, tls-maxphys
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

after all the recent fixes, let's call this "NetBSD nb2 20110806"

Revision 1.9 / (download) - annotate - [select for diffs], Thu Jul 21 03:13:32 2011 UTC (12 years, 8 months ago) by mrg
Branch: MAIN
Changes since 1.8: +16 -1 lines
Diff to previous 1.8 (colored)

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.

Revision 1.8 / (download) - annotate - [select for diffs], Fri Jul 1 10:03:17 2011 UTC (12 years, 8 months ago) by mrg
Branch: MAIN
Changes since 1.7: +8 -4 lines
Diff to previous 1.7 (colored)

fix version.c defines.  now the version says:
	gcc version 4.5.3 (NetBSD nb1 20110620)
instead of:
	gcc version 4.5.320110428

Revision 1.7 / (download) - annotate - [select for diffs], Wed Jun 29 02:15:13 2011 UTC (12 years, 8 months ago) by mrg
Branch: MAIN
Changes since 1.6: +5 -3 lines
Diff to previous 1.6 (colored)

add G_BUGURL and G_PKGVERSION variables that are unquoted versions.

Revision 1.6 / (download) - annotate - [select for diffs], Tue Jun 28 10:15:15 2011 UTC (12 years, 8 months ago) by mrg
Branch: MAIN
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

build libdecnumber.

Revision 1.5 / (download) - annotate - [select for diffs], Tue Jun 28 09:28:22 2011 UTC (12 years, 8 months ago) by mrg
Branch: MAIN
Changes since 1.4: +12 -4 lines
Diff to previous 1.4 (colored)

- add LIBDECNUMBEROBJ.
- update the VER_CPPFLAGS for GCC 4.5.

Revision 1.4 / (download) - annotate - [select for diffs], Tue Jun 28 04:22:17 2011 UTC (12 years, 8 months ago) by mrg
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

DEVPHASE of an actual gcc release is empty.  do that.

Revision 1.3 / (download) - annotate - [select for diffs], Fri Jun 24 05:27:57 2011 UTC (12 years, 8 months ago) by mrg
Branch: MAIN
Changes since 1.2: +6 -4 lines
Diff to previous 1.2 (colored)

- fix the path for GCCARCH and GCCARCH
- force DEVPHASE to "release"
-

Revision 1.2 / (download) - annotate - [select for diffs], Thu Jun 23 11:47:13 2011 UTC (12 years, 8 months ago) by mrg
Branch: MAIN
Changes since 1.1: +3 -3 lines
Diff to previous 1.1 (colored)

fix a bunch of paths to look in the right places for gcc 4.5.

Revision 1.1 / (download) - annotate - [select for diffs], Tue Jun 21 06:03:13 2011 UTC (12 years, 9 months ago) by mrg
Branch: MAIN

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

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>