Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl3/gcc.old update gcc.old from GCC 4.5 versions t...



details:   https://anonhg.NetBSD.org/src/rev/7021b8a8a3d8
branches:  trunk
changeset: 793801:7021b8a8a3d8
user:      mrg <mrg%NetBSD.org@localhost>
date:      Wed Feb 26 10:56:10 2014 +0000

description:
update gcc.old from GCC 4.5 versions that build with EXTERNAL_GCC_SUBDIR,
should be identicaly for the 'dist' subdir.

diffstat:

 external/gpl3/gcc.old/Makefile.gcc_path                          |   20 +
 external/gpl3/gcc.old/difz                                       |  663 ++++++++++
 external/gpl3/gcc.old/lib/Makefile.inc                           |   10 +
 external/gpl3/gcc.old/lib/crtstuff/Makefile                      |    8 +-
 external/gpl3/gcc.old/lib/libgcc/Makefile.inc                    |   10 +-
 external/gpl3/gcc.old/lib/libgcc/libgcc/Makefile                 |    3 +-
 external/gpl3/gcc.old/lib/libgcc/libgcc_eh/Makefile              |    3 +-
 external/gpl3/gcc.old/lib/libgcc/libgcc_s/Makefile               |    3 +-
 external/gpl3/gcc.old/lib/libgcc/libgcov/Makefile                |    3 +-
 external/gpl3/gcc.old/lib/libgomp/Makefile                       |   10 +-
 external/gpl3/gcc.old/lib/libiberty/Makefile                     |    6 +-
 external/gpl3/gcc.old/lib/libmudflap/Makefile                    |   10 +-
 external/gpl3/gcc.old/lib/libmudflapth/Makefile                  |   10 +-
 external/gpl3/gcc.old/lib/libobjc/Makefile                       |   17 +-
 external/gpl3/gcc.old/lib/libstdc++-v3/Makefile                  |    4 +-
 external/gpl3/gcc.old/lib/libstdc++-v3/Makefile.inc              |   11 +-
 external/gpl3/gcc.old/lib/libstdc++-v3/include/Makefile          |    4 +-
 external/gpl3/gcc.old/lib/libstdc++-v3/include/Makefile.inc      |   10 +-
 external/gpl3/gcc.old/lib/libstdc++-v3/include/backward/Makefile |    9 +-
 external/gpl3/gcc.old/lib/libstdc++-v3/include/bits/Makefile     |   10 +-
 external/gpl3/gcc.old/lib/libstdc++-v3/include/debug/Makefile    |    8 +-
 external/gpl3/gcc.old/lib/libstdc++-v3/include/decimal/Makefile  |    8 +-
 external/gpl3/gcc.old/lib/libstdc++-v3/include/ext/Makefile      |   13 +-
 external/gpl3/gcc.old/lib/libstdc++-v3/include/parallel/Makefile |    8 +-
 external/gpl3/gcc.old/lib/libstdc++-v3/include/tr1/Makefile      |    8 +-
 external/gpl3/gcc.old/lib/libstdc++-v3/include/tr1_impl/Makefile |    8 +-
 external/gpl3/gcc.old/lib/libsupc++/Makefile                     |    4 +-
 external/gpl3/gcc.old/usr.bin/Makefile.inc                       |    7 +-
 external/gpl3/gcc.old/usr.bin/libdecnumber/Makefile              |    2 +-
 29 files changed, 794 insertions(+), 96 deletions(-)

diffs (truncated from 1327 to 300 lines):

diff -r dc8ee3bc371e -r 7021b8a8a3d8 external/gpl3/gcc.old/Makefile.gcc_path
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/gpl3/gcc.old/Makefile.gcc_path   Wed Feb 26 10:56:10 2014 +0000
@@ -0,0 +1,20 @@
+#      $NetBSD: Makefile.gcc_path,v 1.1.1.1 2014/02/26 10:56:10 mrg Exp $
+
+# Define some commom paths
+
+.ifndef _EXTERNAL_GPL3_GCC_MAKEFILE_INC_
+_EXTERNAL_GPL3_GCC_MAKEFILE_INC_=1
+
+.include <bsd.own.mk>
+
+.if ${HAVE_GCC} >= 45
+GCC_SUBDIR=    ${NETBSDSRCDIR}/external/gpl3/${EXTERNAL_GCC_SUBDIR}
+.else
+GCC_SUBDIR=    /not/here/for/you
+.endif
+
+#.if exists(${GCC_SUBDIR}/dist)
+GCCDIST=       ${GCC_SUBDIR}/dist
+#.endif
+
+.endif # _GPL3_GCC_MAKEFILE_INC_
diff -r dc8ee3bc371e -r 7021b8a8a3d8 external/gpl3/gcc.old/difz
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/gpl3/gcc.old/difz        Wed Feb 26 10:56:10 2014 +0000
@@ -0,0 +1,663 @@
+? difz
+Index: Makefile.gcc_path
+===================================================================
+RCS file: Makefile.gcc_path
+diff -N Makefile.gcc_path
+--- /dev/null  1 Jan 1970 00:00:00 -0000
++++ Makefile.gcc_path  26 Feb 2014 05:53:08 -0000
+@@ -0,0 +1,20 @@
++#     $NetBSD: difz,v 1.1.1.1 2014/02/26 10:56:10 mrg Exp $
++
++# Define some commom paths
++
++.ifndef _EXTERNAL_GPL3_GCC_MAKEFILE_INC_
++_EXTERNAL_GPL3_GCC_MAKEFILE_INC_=1
++
++.include <bsd.own.mk>
++
++.if ${HAVE_GCC} >= 45
++GCC_SUBDIR=   ${NETBSDSRCDIR}/external/gpl3/${EXTERNAL_GCC_SUBDIR}
++.else
++GCC_SUBDIR=   /not/here/for/you
++.endif
++
++#.if exists(${GCC_SUBDIR}/dist)
++GCCDIST=      ${GCC_SUBDIR}/dist
++#.endif
++
++.endif        # _GPL3_GCC_MAKEFILE_INC_
+Index: lib/Makefile.inc
+===================================================================
+RCS file: lib/Makefile.inc
+diff -N lib/Makefile.inc
+--- /dev/null  1 Jan 1970 00:00:00 -0000
++++ lib/Makefile.inc   26 Feb 2014 05:53:08 -0000
+@@ -0,0 +1,10 @@
++#     $NetBSD: difz,v 1.1.1.1 2014/02/26 10:56:10 mrg Exp $
++
++.ifndef _EXTERNAL_GPL3_GCC_LIB_MAKEFILE_INC_
++_EXTERNAL_GPL3_GCC_LIB_MAKEFILE_INC_=1
++
++.sinclude "../../Makefile.gcc_path"
++.sinclude "../../../Makefile.gcc_path"
++.sinclude "../../../../Makefile.gcc_path"
++
++.endif
+Index: lib/crtstuff/Makefile
+===================================================================
+RCS file: /cvsroot/src/external/gpl3/gcc/lib/crtstuff/Makefile,v
+retrieving revision 1.7
+diff -p -u -r1.7 Makefile
+--- lib/crtstuff/Makefile      28 Feb 2012 20:26:07 -0000      1.7
++++ lib/crtstuff/Makefile      26 Feb 2014 05:53:08 -0000
+@@ -4,15 +4,15 @@ REQUIRETOOLS=        yes
+ NOLINT=               # defined
+ UNSUPPORTED_COMPILER.clang=   # defined
+ 
+-.include <bsd.own.mk>
++.include <bsd.init.mk>
+ 
+ # If using an external toolchain, we expect crtbegin/crtend to be
+ # supplied by that toolchain's run-time support.
+ .if !defined(EXTERNAL_TOOLCHAIN) && ${MKGCC} != "no"
+ 
+-DIST=         ${NETBSDSRCDIR}/external/gpl3/gcc/dist
++DIST=         ${GCCDIST}
+ GNUHOSTDIST=  ${DIST}
+-GCCARCH=      ${NETBSDSRCDIR}/external/gpl3/gcc/usr.bin/gcc/arch/${MACHINE_ARCH}
++GCCARCH=      ${EXTERNAL_GCC_SUBDIR}/usr.bin/gcc/arch/${MACHINE_ARCH}
+ 
+ GALLCFLAGS=   ${G_CRTSTUFF_CFLAGS} ${G_CRTSTUFF_T_CFLAGS}
+ 
+Index: lib/libgcc/Makefile.inc
+===================================================================
+RCS file: /cvsroot/src/external/gpl3/gcc/lib/libgcc/Makefile.inc,v
+retrieving revision 1.21
+diff -p -u -r1.21 Makefile.inc
+--- lib/libgcc/Makefile.inc    22 Aug 2013 00:16:54 -0000      1.21
++++ lib/libgcc/Makefile.inc    26 Feb 2014 05:53:08 -0000
+@@ -9,11 +9,11 @@ LIBGCC_MACHINE_ARCH?=${MACHINE_ARCH:S/ea
+ 
+ UNSUPPORTED_COMPILER.clang=   # defined
+ 
+-DIST=         ${NETBSDSRCDIR}/external/gpl3/gcc/dist
++DIST=         ${GCCDIST}
+ GNUHOSTDIST=  ${DIST}
+-GCCARCH=      ${NETBSDSRCDIR}/external/gpl3/gcc/usr.bin/gcc/arch/${LIBGCC_MACHINE_ARCH}
+-GCCARCHLIBGCC=        ${NETBSDSRCDIR}/external/gpl3/gcc/lib/libgcc/arch/${LIBGCC_MACHINE_ARCH}
+-GCCARCHXX=    ${NETBSDSRCDIR}/external/gpl3/gcc/lib/libstdc++-v3/arch/${LIBGCC_MACHINE_ARCH}
++GCCARCH=      ${GCC_SUBDIR}/usr.bin/gcc/arch/${LIBGCC_MACHINE_ARCH}
++GCCARCHLIBGCC=        ${GCC_SUBDIR}/lib/libgcc/arch/${LIBGCC_MACHINE_ARCH}
++GCCARCHXX=    ${GCC_SUBDIR}/lib/libstdc++-v3/arch/${LIBGCC_MACHINE_ARCH}
+ 
+ GCPPFLAGS=    ${G_LIBGCC2_CFLAGS} ${G_USE_COLLECT2} ${G_INCLUDES}
+ CPPFLAGS+=    -I${.CURDIR} -I${GCCARCHLIBGCC}
+Index: lib/libgcc/libgcc/Makefile
+===================================================================
+RCS file: /cvsroot/src/external/gpl3/gcc/lib/libgcc/libgcc/Makefile,v
+retrieving revision 1.18
+diff -p -u -r1.18 Makefile
+--- lib/libgcc/libgcc/Makefile 11 Jan 2014 02:45:52 -0000      1.18
++++ lib/libgcc/libgcc/Makefile 26 Feb 2014 05:53:08 -0000
+@@ -7,6 +7,7 @@ NOPROFILE=     # defined
+ 
+ LIB=          gcc
+ 
++.include "../../../Makefile.gcc_path"
+ .include <bsd.own.mk>
+ 
+ .if ${MKGCC} != "no"
+Index: lib/libgcc/libgcc_eh/Makefile
+===================================================================
+RCS file: /cvsroot/src/external/gpl3/gcc/lib/libgcc/libgcc_eh/Makefile,v
+retrieving revision 1.5
+diff -p -u -r1.5 Makefile
+--- lib/libgcc/libgcc_eh/Makefile      6 Aug 2012 00:21:09 -0000       1.5
++++ lib/libgcc/libgcc_eh/Makefile      26 Feb 2014 05:53:08 -0000
+@@ -7,6 +7,7 @@ NOPROFILE=     # defined
+ 
+ LIB=          gcc_eh
+ 
++.include "../../../Makefile.gcc_path"
+ .include <bsd.own.mk>
+ 
+ .if ${MKGCC} != "no"
+Index: lib/libgcc/libgcc_s/Makefile
+===================================================================
+RCS file: /cvsroot/src/external/gpl3/gcc/lib/libgcc/libgcc_s/Makefile,v
+retrieving revision 1.6
+diff -p -u -r1.6 Makefile
+--- lib/libgcc/libgcc_s/Makefile       6 Aug 2012 00:19:03 -0000       1.6
++++ lib/libgcc/libgcc_s/Makefile       26 Feb 2014 05:53:08 -0000
+@@ -9,6 +9,7 @@ NOSTATICLIB=   # defined
+ NOPROFILE=    # defined
+ NOPICINSTALL= # defined
+ 
++.include "../../../Makefile.gcc_path"
+ .include <bsd.own.mk>
+ 
+ .if ${MKGCC} != "no"
+Index: lib/libgcc/libgcov/Makefile
+===================================================================
+RCS file: /cvsroot/src/external/gpl3/gcc/lib/libgcc/libgcov/Makefile,v
+retrieving revision 1.5
+diff -p -u -r1.5 Makefile
+--- lib/libgcc/libgcov/Makefile        22 Aug 2013 00:16:54 -0000      1.5
++++ lib/libgcc/libgcov/Makefile        26 Feb 2014 05:53:08 -0000
+@@ -7,6 +7,7 @@ NOLINT=                # defined
+ 
+ LIB=          gcov
+ 
++.include "../../../Makefile.gcc_path"
+ .include <bsd.own.mk>
+ .include <bsd.init.mk>
+ 
+Index: lib/libgomp/Makefile
+===================================================================
+RCS file: /cvsroot/src/external/gpl3/gcc/lib/libgomp/Makefile,v
+retrieving revision 1.9
+diff -p -u -r1.9 Makefile
+--- lib/libgomp/Makefile       23 Aug 2013 05:02:46 -0000      1.9
++++ lib/libgomp/Makefile       26 Feb 2014 05:53:08 -0000
+@@ -9,7 +9,7 @@ NOLINT=        # defined
+ 
+ .if !defined(NO_LIBGOMP)      # {
+ 
+-DIST= ${NETBSDSRCDIR}/external/gpl3/gcc/dist
++DIST= ${GCCDIST}
+ 
+ LIB=  gomp
+ SRCS= \
+@@ -50,6 +50,8 @@ CPPFLAGS+= \
+       -I${ARCHDIR}
+ CFLAGS+=-pthread
+ 
++COPTS+=       -Wno-stack-protector
++
+ CWARNFLAGS.clang+=    -Wno-conversion
+ 
+ # libgomp.so.1.0 is in GCC 4.5.
+@@ -58,8 +60,6 @@ SHLIB_MINOR= 0
+ 
+ LDFLAGS+=     -Wl,--version-script,${DIST}/libgomp/libgomp.map
+ 
+-.PATH:        ${ARCHDIR} ${DIST}/libgomp ${DIST}/libgomp/config/posix
+-
+ .if ${GOMP_MACHINE_ARCH} == ${MACHINE_ARCH:S/earmv5/earm/}
+ # This is where GCC looks for it.
+ FILES=                libgomp.spec
+@@ -75,4 +75,4 @@ libinstall::
+ 
+ .include <bsd.lib.mk>
+ 
+-COPTS+=       -Wno-stack-protector
++.PATH:        ${ARCHDIR} ${DIST}/libgomp ${DIST}/libgomp/config/posix
+Index: lib/libiberty/Makefile
+===================================================================
+RCS file: /cvsroot/src/external/gpl3/gcc/lib/libiberty/Makefile,v
+retrieving revision 1.4
+diff -p -u -r1.4 Makefile
+--- lib/libiberty/Makefile     22 Aug 2013 00:16:54 -0000      1.4
++++ lib/libiberty/Makefile     26 Feb 2014 05:53:08 -0000
+@@ -2,7 +2,7 @@
+ 
+ LIBISPRIVATE= yes
+ 
+-.include <bsd.own.mk>
++.include <bsd.init.mk>
+ 
+ GCC_MACHINE_ARCH?=${MACHINE_ARCH:S/earmv5/earm/}
+ 
+@@ -10,7 +10,7 @@ LIB=         iberty
+ 
+ .include "${.CURDIR}/defs.mk"
+ 
+-DIST=         ${NETBSDSRCDIR}/external/gpl3/gcc/dist
++DIST=         ${GCCDIST}
+ GNUHOSTDIST=  ${DIST}
+ 
+ SRCS=         ${G_REQUIRED_OFILES:.o=.c} ${G_EXTRA_OFILES:.o=.c} \
+Index: lib/libmudflap/Makefile
+===================================================================
+RCS file: /cvsroot/src/external/gpl3/gcc/lib/libmudflap/Makefile,v
+retrieving revision 1.2
+diff -p -u -r1.2 Makefile
+--- lib/libmudflap/Makefile    18 Apr 2012 19:21:25 -0000      1.2
++++ lib/libmudflap/Makefile    26 Feb 2014 05:53:08 -0000
+@@ -3,17 +3,17 @@
+ NOLINT=yes                    # core dumps
+ UNSUPPORTED_COMPILER.clang=     # defined
+ 
+-.include <bsd.own.mk>
++.include <bsd.init.mk>
+ 
+-DIST=           ${NETBSDSRCDIR}/external/gpl3/gcc/dist/libmudflap
++DIST=           ${GCCDIST}/libmudflap
+ CPPFLAGS+=    -I${.CURDIR}
+ LINTFLAGS+=-g
+ 
+-.PATH: ${DIST}
+-
+ LIB=mudflap
+ SRCS=mf-runtime.c mf-heuristics.c mf-hooks1.c mf-hooks2.c
+ INCS=mf-runtime.h
+ INCSDIR=/usr/include/gcc-4.5
+ 
+ .include <bsd.lib.mk>
++
++.PATH: ${DIST}
+Index: lib/libmudflapth/Makefile
+===================================================================
+RCS file: /cvsroot/src/external/gpl3/gcc/lib/libmudflapth/Makefile,v
+retrieving revision 1.2
+diff -p -u -r1.2 Makefile
+--- lib/libmudflapth/Makefile  18 Apr 2012 22:42:21 -0000      1.2
++++ lib/libmudflapth/Makefile  26 Feb 2014 05:53:08 -0000
+@@ -3,15 +3,15 @@
+ NOLINT=yes                    # core dumps
+ UNSUPPORTED_COMPILER.clang=     # defined
+ 
+-.include <bsd.own.mk>
++.include <bsd.init.mk>
+ 
+-DIST=           ${NETBSDSRCDIR}/external/gpl3/gcc/dist/libmudflap
++DIST=           ${GCCDIST}/libmudflap
+ CPPFLAGS+=    -I${.CURDIR}/../libmudflap -DLIBMUDFLAPTH
+ 
+-.PATH: ${DIST}
+-
+ LINTFLAGS+=-g
+ LIB=mudflapth
+ SRCS=mf-runtime.c mf-heuristics.c mf-hooks1.c mf-hooks2.c mf-hooks3.c
+ 



Home | Main Index | Thread Index | Old Index