pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc Prune gcc34, gcc44.
details: https://anonhg.NetBSD.org/pkgsrc/rev/92562e2789cb
branches: trunk
changeset: 459191:92562e2789cb
user: nia <nia%pkgsrc.org@localhost>
date: Fri Oct 01 11:56:12 2021 +0000
description:
Prune gcc34, gcc44.
diffstat:
lang/Makefile | 4 +-
lang/gcc10/options.mk | 5 +-
lang/gcc34/DESCR | 4 -
lang/gcc34/Makefile | 151 -
lang/gcc34/README | 22 -
lang/gcc34/buildlink3.mk | 69 -
lang/gcc34/distinfo | 28 -
lang/gcc34/files/4netbsdintnam.ads | 117 -
lang/gcc34/files/5netbsd64osinte.ads | 646 ---
lang/gcc34/files/5netbsd64system.ads | 150 -
lang/gcc34/files/5netbsdintman.adb | 274 -
lang/gcc34/files/5netbsdosinte.adb | 115 -
lang/gcc34/files/5netbsdosinte.ads | 634 ---
lang/gcc34/files/5netbsdparame.adb | 79 -
lang/gcc34/files/5netbsdsystem.ads | 150 -
lang/gcc34/files/5netbsdtaprop.adb | 1136 -----
lang/gcc34/files/5netbsdtasinf.ads | 143 -
lang/gcc34/files/5netbsdtpopse.adb | 52 -
lang/gcc34/files/7netbsdtpopsp.adb | 100 -
lang/gcc34/files/ada_lwp_self.c | 6 -
lang/gcc34/files/adasignal.c | 34 -
lang/gcc34/files/alpha-baseline_symbols1.txt | 2044 ---------
lang/gcc34/files/alpha-baseline_symbols2.txt | 2035 ---------
lang/gcc34/files/dragonfly-spec.h | 128 -
lang/gcc34/files/dragonfly.h | 87 -
lang/gcc34/files/dummy_pthreads.c | 30 -
lang/gcc34/files/i386-baseline_symbols1.txt | 2044 ---------
lang/gcc34/files/i386-baseline_symbols2.txt | 2051 ----------
lang/gcc34/files/i386-dragonfly.h | 142 -
lang/gcc34/files/i386-dragonfly64.h | 45 -
lang/gcc34/files/netbsd64macro.dfs | 300 -
lang/gcc34/files/sparc64-baseline_symbols2.txt | 2035 ---------
lang/gcc34/files/x86_64-baseline_symbols2.txt | 2035 ---------
lang/gcc34/options.mk | 116 -
lang/gcc34/patches/patch-aa | 13 -
lang/gcc34/patches/patch-ab | 60 -
lang/gcc34/patches/patch-ac | 44 -
lang/gcc34/patches/patch-ae | 63 -
lang/gcc34/patches/patch-af | 13 -
lang/gcc34/patches/patch-ag | 22 -
lang/gcc34/patches/patch-ah | 13 -
lang/gcc34/patches/patch-ai | 13 -
lang/gcc34/patches/patch-aj | 13 -
lang/gcc34/patches/patch-ak | 13 -
lang/gcc34/patches/patch-al | 13 -
lang/gcc34/patches/patch-am | 13 -
lang/gcc34/patches/patch-at | 41 -
lang/gcc34/patches/patch-ba | 32 -
lang/gcc34/patches/patch-bb | 13 -
lang/gcc34/patches/patch-ca | 13 -
lang/gcc34/patches/patch-cc | 12 -
lang/gcc34/patches/patch-cd | 93 -
lang/gcc34/patches/patch-gcc_config_freebsd-spec.h | 20 -
lang/gcc34/patches/patch-gcc_config_sol2.h | 19 -
lang/gcc34/patches/patch-libstdc++-v3_config_os_bsd_netbsd_ctype__inline.h | 13 -
lang/gcc34/patches/patch-libstdc++-v3_config_os_bsd_netbsd_ctype__noninline.h | 57 -
lang/gcc34/preconfigure.mk | 10 -
lang/gcc44/DESCR | 4 -
lang/gcc44/Makefile | 141 -
lang/gcc44/buildlink3.mk | 71 -
lang/gcc44/distinfo | 24 -
lang/gcc44/files/hello.f | 5 -
lang/gcc44/files/hello.m | 6 -
lang/gcc44/files/values.c | 64 -
lang/gcc44/options.mk | 98 -
lang/gcc44/patches/patch-ac | 17 -
lang/gcc44/patches/patch-ad | 35 -
lang/gcc44/patches/patch-af | 16 -
lang/gcc44/patches/patch-ag | 29 -
lang/gcc44/patches/patch-ai | 22 -
lang/gcc44/patches/patch-aj | 46 -
lang/gcc44/patches/patch-ak | 14 -
lang/gcc44/patches/patch-al | 16 -
lang/gcc44/patches/patch-am | 24 -
lang/gcc44/patches/patch-gcc_doc_c-tree.texi | 22 -
lang/gcc44/patches/patch-gcc_doc_cppopts.texi | 15 -
lang/gcc44/patches/patch-gcc_doc_gcc.texi | 18 -
lang/gcc44/patches/patch-gcc_doc_invoke.texi | 61 -
lang/gcc44/patches/patch-gcc_doc_sourcebuild.texi | 15 -
lang/gcc44/patches/patch-gcc_ginclude_stddef.h | 19 -
lang/gcc44/patches/patch-gcc_toplev.h | 20 -
lang/gcc44/patches/patch-libstdc++-v3_config_os_bsd_netbsd_ctype__inline.h | 13 -
lang/gcc44/patches/patch-libstdc++-v3_config_os_bsd_netbsd_ctype__noninline.h | 57 -
lang/gcc6/options.mk | 5 +-
lang/gcc7/options.mk | 5 +-
lang/gcc8/options.mk | 5 +-
mk/compiler/gcc.mk | 40 +-
87 files changed, 14 insertions(+), 18540 deletions(-)
diffs (truncated from 19005 to 300 lines):
diff -r da2f389ad81a -r 92562e2789cb lang/Makefile
--- a/lang/Makefile Fri Oct 01 11:49:59 2021 +0000
+++ b/lang/Makefile Fri Oct 01 11:56:12 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.606 2021/09/16 19:19:40 wiz Exp $
+# $NetBSD: Makefile,v 1.607 2021/10/01 11:56:12 nia Exp $
#
COMMENT= Programming languages
@@ -72,8 +72,6 @@
SUBDIR+= gcc3-c++
SUBDIR+= gcc3-f77
SUBDIR+= gcc3-objc
-SUBDIR+= gcc34
-SUBDIR+= gcc44
SUBDIR+= gcc5-aux
SUBDIR+= gcc6
SUBDIR+= gcc6-aux
diff -r da2f389ad81a -r 92562e2789cb lang/gcc10/options.mk
--- a/lang/gcc10/options.mk Fri Oct 01 11:49:59 2021 +0000
+++ b/lang/gcc10/options.mk Fri Oct 01 11:56:12 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.1 2020/05/10 15:02:44 maya Exp $
+# $NetBSD: options.mk,v 1.2 2021/10/01 11:56:13 nia Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.${GCC_PKGNAME}
PKG_SUPPORTED_OPTIONS= nls gcc-inplace-math gcc-c++ gcc-fortran \
@@ -126,8 +126,7 @@
###
### Optional languages
-### Ada could be added although there is a bootstrapping issue. See
-### ../gcc34-ada for guidance
+### Ada could be added although there is a bootstrapping issue.
###
.if !empty(PKG_OPTIONS:Mgcc-objc++)
diff -r da2f389ad81a -r 92562e2789cb lang/gcc34/DESCR
--- a/lang/gcc34/DESCR Fri Oct 01 11:49:59 2021 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,4 +0,0 @@
-This is the gcc 3.4 compiler suite.
-
-This package has a test target. For testing (only), this
-package requires dejagnu.
diff -r da2f389ad81a -r 92562e2789cb lang/gcc34/Makefile
--- a/lang/gcc34/Makefile Fri Oct 01 11:49:59 2021 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,151 +0,0 @@
-# $NetBSD: Makefile,v 1.61 2021/05/24 19:52:31 wiz Exp $
-#
-
-DISTNAME= gcc-${GCC_VERSION}
-PKGNAME= gcc34-${GCC_VERSION}
-PKGREVISION= 9
-CATEGORIES= lang
-MASTER_SITES= ${MASTER_SITE_GNU:=gcc/gcc-${GCC_VERSION}/}
-EXTRACT_SUFX= .tar.bz2
-
-MAINTAINER= pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE= https://www.gnu.org/software/gcc/gcc.html
-COMMENT= This is the gcc 3.4 compiler
-LICENSE= gnu-gpl-v2 AND gnu-lgpl-v2.1
-
-GCC_VERSION= 3.4.6
-
-NOT_FOR_PLATFORM= Interix-*-*
-
-.include "../../mk/bsd.prefs.mk"
-.include "options.mk"
-
-# Determine whether to use binutils
-.if ${OPSYS} == "NetBSD"
-. if !defined(USE_BINUTILS)
-AS_PATH:= ${AS}
-. for _dir_ in ${PATH:C/\:/ /g}
-. if empty(AS_PATH:M/*)
-. if exists(${_dir_}/${AS})
-AS_PATH:= ${_dir_}/${AS}
-. endif
-. endif
-. endfor
-. if !empty(AS_PATH:M${LOCALBASE}/*)
-USE_BINUTILS= YES
-. else
-AS_VERSION!= ${AS_PATH} --version | ${AWK} '{ \
- split($$3, v, /[.]/); \
- printf "%02d%02d%02d%02d\n",v[1],v[2],v[3],v[4]; \
- exit; \
- }'
-USE_BINUTILS!= ${TEST} ${AS_VERSION} -lt 02130201 && ${ECHO} YES || ${ECHO} NO
-. endif
-MAKEFLAGS+= USE_BINUTILS=${USE_BINUTILS:Q}
-. endif
-.elif ${OPSYS} == "SunOS"
-CONFIGURE_ENV+= OBJDUMP=/usr/sfw/bin/gobjdump
-CONFIGURE_ARGS+= --without-gnu-ld --with-ld=/usr/ccs/bin/ld
-. if !exists(/usr/sfw/bin/gas)
-CONFIGURE_ARGS+= --without-gnu-as --with-as=/usr/ccs/bin/as
-. else
-CONFIGURE_ARGS+= --with-gnu-as --with-as=/usr/sfw/bin/gas
-. endif
-.endif
-.if defined(USE_BINUTILS) && !empty(USE_BINUTILS:M[yY][eE][sS])
-DEPENDS+= binutils>=2.14:../../devel/binutils
-CONFIGURE_ARGS+= --with-as=${LOCALBASE}/bin/as
-CONFIGURE_ARGS+= --with-ld=${LOCALBASE}/bin/ld
-CONFIGURE_ARGS+= --with-gnu-as
-CONFIGURE_ARGS+= --with-gnu-ld
-.endif
-
-CONFIGURE_ARGS+= --enable-languages=${LANGS:Q}
-CONFIGURE_ARGS+= --enable-shared
-CONFIGURE_ARGS+= --enable-long-long
-CONFIGURE_ARGS+= --with-local-prefix=${GCC_PREFIX:Q}
-MAKE_ENV+= SHELL=${CONFIG_SHELL}
-
-UNLIMIT_RESOURCES+= datasize
-
-# GNU pth is useless here
-PTHREAD_OPTS+= native
-.include "../../mk/pthread.buildlink3.mk"
-.if defined(PTHREAD_TYPE) && ${PTHREAD_TYPE} != "native"
-CONFIGURE_ARGS+= --disable-threads
-.endif
-
-USE_TOOLS+= gmake makeinfo
-TOOLS_BROKEN+= perl
-HAS_CONFIGURE= YES # no GNU_CONFIGURE!
-CONFIG_SHELL?= ${SH}
-CONFIGURE_ENV+= CONFIG_SHELL=${CONFIG_SHELL:Q}
-
-GCC_SUBPREFIX= gcc34
-GCC_PREFIX= ${PREFIX}/${GCC_SUBPREFIX}
-FILES_SUBST+= PKGNAME=${PKGNAME:Q}
-MESSAGE_SUBST+= GCC_PREFIX=${GCC_PREFIX}
-CONFIGURE_ARGS+= --prefix=${GCC_PREFIX:Q}
-CPPFLAGS+= -I${BUILDLINK_DIR}/include
-CFLAGS+= -I${BUILDLINK_DIR}/include
-.if ${OPSYS} == "NetBSD"
-# thread / crtbegin / __cxa_atexit support depend on a "netbsd2" OS name
-GCC_PLATFORM= ${MACHINE_ARCH}--${LOWER_OPSYS}${APPEND_ELF}${LOWER_OS_VERSION:C/[_a-z].*//}
-CONFIGURE_ARGS+= --host=${GCC_PLATFORM:Q}
-ABI_BASELINE_PAIR= ${GCC_PLATFORM:C/--/-/}
-MAKE_ENV+= ABI_BASELINE_PAIR=${ABI_BASELINE_PAIR:Q}
-.endif # NetBSD
-
-post-patch:
-.if ${OPSYS} == "NetBSD"
-. if exists(${FILESDIR}/${MACHINE_ARCH}-baseline_symbols${LOWER_OS_VERSION:C/\..*//}.txt)
- (${TEST} -d ${WRKSRC}/libstdc++-v3/config/abi/${ABI_BASELINE_PAIR} || \
- ${MKDIR} ${WRKSRC}/libstdc++-v3/config/abi/${ABI_BASELINE_PAIR})
- ${CP} ${FILESDIR}/${MACHINE_ARCH}-baseline_symbols${LOWER_OS_VERSION:C/\..*//}.txt \
- ${WRKSRC}/libstdc++-v3/config/abi/${ABI_BASELINE_PAIR}/baseline_symbols.txt
-. endif
-.endif
-
-.if ${OPSYS} == "DragonFly"
-pre-configure:
- ${CP} ${FILESDIR}/dragonfly.h ${WRKSRC}/gcc/config/dragonfly.h
- ${CP} ${FILESDIR}/dragonfly-spec.h ${WRKSRC}/gcc/config/dragonfly-spec.h
- ${CP} ${FILESDIR}/i386-dragonfly.h ${WRKSRC}/gcc/config/i386/dragonfly.h
- ${CP} ${FILESDIR}/i386-dragonfly64.h ${WRKSRC}/gcc/config/i386/dragonfly64.h
-.endif
-
-do-configure:
- ${MKDIR} ${WRKDIR}/obj
- cd ${WRKDIR}/obj; ${SETENV} ${CONFIGURE_ENV} ${CONFIG_SHELL} ${WRKSRC}/configure ${CONFIGURE_ARGS}
-
-do-build:
- (${_ULIMIT_CMD} cd ${WRKDIR}/obj && ${SETENV} ${MAKE_ENV} ${GMAKE} bootstrap)
-.if !empty(PKG_OPTIONS:Mgcc-ada)
- (${_ULIMIT_CMD} cd ${WRKDIR}/obj/gcc && ${SETENV} ${MAKE_ENV} ${GMAKE} gnatlib-shared)
- (${_ULIMIT_CMD} cd ${WRKDIR}/obj/gcc && ${SETENV} ${MAKE_ENV} ${GMAKE} gnatlib_and_tools)
-.endif
-
-do-test:
-.if (${MACHINE_GNU_ARCH} == "x86_64")
- (cd ${FILESDIR} && ${CP} netbsd64macro.dfs ${WRKSRC}/gcc/testsuite/ada/acats/support/macro.dfs)
-.endif
- (cd ${WRKDIR}/obj && ${GMAKE} -k check)
-
-do-install:
- (cd ${WRKDIR}/obj && ${SETENV} ${INSTALL_ENV} ${MAKE_ENV} ${GMAKE} install \
- && ${TEST} -f ${GCC_PREFIX}/bin/cc || ${LN} -f ${DESTDIR}${GCC_PREFIX}/bin/gcc ${DESTDIR}${GCC_PREFIX}/bin/cc)
-.if !empty(PKG_OPTIONS:Mgcc-ada)
- (SPECPATH=`${GCC_PREFIX}/bin/gcc -print-file-name=specs` && \
- for EXPANDEDSPECPATH in $${SPECPATH} ; do \
- SPECDIR=`${DIRNAME} $${EXPANDEDSPECPATH}`; \
- ${ECHO} $${SPECDIR}/adainclude > $${SPECDIR}/ada_source_path; \
- ${ECHO} $${SPECDIR}/adalib > $${SPECDIR}/ada_object_path; \
- done )
-.endif
-
-GENERATE_PLIST+= \
- ${FIND} ${DESTDIR}${GCC_PREFIX} \( -type f -o -type l \) -print \
- | ${SORT} | ${SED} -e "s,${DESTDIR}${PREFIX}/,,g";
-
-.include "../../mk/bsd.prefs.mk"
-.include "../../mk/bsd.pkg.mk"
diff -r da2f389ad81a -r 92562e2789cb lang/gcc34/README
--- a/lang/gcc34/README Fri Oct 01 11:49:59 2021 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-1) You may want to adjust the "Optional languages"
- section of the Makefile before building this package.
-
-2) The Ada compiler front-end of gcc is itself written
- in Ada. Consequently, an Ada compiler must be used
- to build it.
-
- Note however that in pkgsrc the lang/gcc-aux and/or
- lang/gnat-aux packages, which are substantially newer,
- are recommended instead of building the gcc34 Ada
- frontend.
-
- If you do wish to build the Ada compiler as part of this
- package you can download a pre-built version of gcc 3.4.0
- Ada for bootstrapping from:
-
- http://www.johnrshannon.com/NetBSD/ix86/gccAda-3.4.0.tgz
- http://www.johnrshannon.com/NetBSD/pentium4/gccAda-3.4.0.tgz
- http://www.johnrshannon.com/NetBSD/x86_64/gccAda-3.4.0.tgz
-
- The first two pkgs were built on NetBSD 2.0-BETA. The AMD64
- pkg was built under NetBSD 1.6ZL.
diff -r da2f389ad81a -r 92562e2789cb lang/gcc34/buildlink3.mk
--- a/lang/gcc34/buildlink3.mk Fri Oct 01 11:49:59 2021 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,69 +0,0 @@
-# $NetBSD: buildlink3.mk,v 1.24 2018/01/07 13:04:18 rillig Exp $
-
-BUILDLINK_TREE+= gcc34
-
-.if !defined(GCC34_BUILDLINK3_MK)
-GCC34_BUILDLINK3_MK:=
-
-_GCC34_SUBDIR= gcc34
-_GCC34_PREFIX= ${BUILDLINK_PREFIX.gcc34}/${_GCC34_SUBDIR}
-
-BUILDLINK_API_DEPENDS.gcc34+= gcc34>=3.4
-BUILDLINK_ABI_DEPENDS.gcc34+= gcc34>=3.4.6nb4
-BUILDLINK_PKGSRCDIR.gcc34?= ../../lang/gcc34
-
-.if exists(${_GCC34_PREFIX}/bin/gcc)
-# logic for detecting the ADA compiler
-gcc34_GNAT1!= ${_GCC34_PREFIX}/bin/gcc -print-prog-name=gnat1
-. if exists(${gcc34_GNAT1})
-BUILDLINK_ENV+= ADAC=${_GCC34_PREFIX}/bin/gcc
-. endif
-
-# add libraries
-BUILDLINK_LIBDIRS.gcc34+= ${_GCC34_SUBDIR}/lib
-
-# find the gcc architecture
-gcc34_GCC_ARCHDIR!= ${DIRNAME} `${_GCC34_PREFIX}/bin/gcc --print-libgcc-file-name`
-
-# add the architecture dep libraries
-. if empty(gcc34_GCC_ARCHDIR:M*not_found*)
-BUILDLINK_LIBDIRS.gcc34+= ${gcc34_GCC_ARCHDIR:S/^${BUILDLINK_PREFIX.gcc34}\///}/
-
-# add the ada libraries
-. if exists(${gcc34_GNAT1})
-BUILDLINK_LIBDIRS.gcc34+= ${gcc34_GCC_ARCHDIR:S/^${BUILDLINK_PREFIX.gcc34}\///}/adalib
-. endif
-
-# add the header files
-BUILDLINK_INCDIRS.gcc34+= ${_GCC34_SUBDIR}/include ${gcc34_GCC_ARCHDIR:S/^${BUILDLINK_PREFIX.gcc34}\///}/include
-. endif
-.endif
-
-BUILDLINK_FILES_CMD.gcc34= \
- (cd ${BUILDLINK_PREFIX.gcc34} && \
- ${FIND} bin libexec lib \( -type f -o -type l \) -print)
-
-# When not using the GNU linker, gcc will always link shared libraries
-# against the shared version of libgcc. Always enable _USE_GCC_SHILB on
-# platforms that don't use the GNU linker, such as SunOS.
-.include "../../mk/bsd.fast.prefs.mk"
-.if ${OPSYS} == "SunOS"
-_USE_GCC_SHLIB= yes
-.endif
-
-# Packages that link against shared libraries need a full dependency.
-.if defined(_USE_GCC_SHLIB)
-BUILDLINK_DEPMETHOD.gcc34+= full
-.else
-BUILDLINK_DEPMETHOD.gcc34?= build
-.endif
-
-.include "../../mk/pthread.buildlink3.mk"
-pkgbase := gcc34
-.include "../../mk/pkg-build-options.mk"
-.if !empty(PKG_BUILD_OPTIONS.gcc34:Mnls)
-.include "../../devel/gettext-lib/buildlink3.mk"
-.endif
-.endif # GCC34_BUILDLINK3_MK
-
-BUILDLINK_TREE+= -gcc34
diff -r da2f389ad81a -r 92562e2789cb lang/gcc34/distinfo
Home |
Main Index |
Thread Index |
Old Index