pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang remove gcc5, gcc5-libs



details:   https://anonhg.NetBSD.org/pkgsrc/rev/833efd109eb4
branches:  trunk
changeset: 449818:833efd109eb4
user:      nia <nia%pkgsrc.org@localhost>
date:      Tue Apr 06 12:15:23 2021 +0000

description:
remove gcc5, gcc5-libs

these were disabled in the pkgsrc infrastructure some time ago because
they cannot be built cleanly with older compilers while gcc6 can.

this all seems to be separate from the ada bits in gcc-5-aux which may
still be useful.

diffstat:

 lang/Makefile                                                                       |    4 +-
 lang/gcc5-libs/DESCR                                                                |    7 -
 lang/gcc5-libs/Makefile                                                             |   66 ---
 lang/gcc5-libs/buildlink3.mk                                                        |   46 --
 lang/gcc5/DESCR                                                                     |    3 -
 lang/gcc5/Makefile                                                                  |  212 ----------
 lang/gcc5/PLIST.java                                                                |   42 -
 lang/gcc5/buildlink3.mk                                                             |   34 -
 lang/gcc5/distinfo                                                                  |   50 --
 lang/gcc5/options.mk                                                                |  208 ---------
 lang/gcc5/patches/patch-gcc_Makefile.in                                             |   15 -
 lang/gcc5/patches/patch-gcc_config.gcc                                              |   70 ---
 lang/gcc5/patches/patch-gcc_config.host                                             |   18 -
 lang/gcc5/patches/patch-gcc_config_alpha_elf.h                                      |   39 -
 lang/gcc5/patches/patch-gcc_config_alpha_linux.h                                    |   39 -
 lang/gcc5/patches/patch-gcc_config_arm_arm.h                                        |   20 -
 lang/gcc5/patches/patch-gcc_config_host-netbsd.c                                    |   93 ----
 lang/gcc5/patches/patch-gcc_config_netbsd-protos.h                                  |   34 -
 lang/gcc5/patches/patch-gcc_config_netbsd-stdint.h                                  |   63 --
 lang/gcc5/patches/patch-gcc_config_netbsd.c                                         |  127 -----
 lang/gcc5/patches/patch-gcc_config_netbsd.h                                         |   53 --
 lang/gcc5/patches/patch-gcc_config_t-netbsd                                         |   28 -
 lang/gcc5/patches/patch-gcc_config_x-netbsd                                         |   12 -
 lang/gcc5/patches/patch-gcc_configure                                               |   32 -
 lang/gcc5/patches/patch-gcc_ggc-common.c                                            |   71 ---
 lang/gcc5/patches/patch-gcc_ginclude_stddef.h                                       |   64 ---
 lang/gcc5/patches/patch-gcc_lto_lto.c                                               |   19 -
 lang/gcc5/patches/patch-gcc_system.h                                                |   27 -
 lang/gcc5/patches/patch-gcc_targhooks.c                                             |   17 -
 lang/gcc5/patches/patch-libcilkrts_configure                                        |   13 -
 lang/gcc5/patches/patch-libcilkrts_runtime_os-unix.c                                |   33 -
 lang/gcc5/patches/patch-libdecnumber_decNumber.c                                    |   13 -
 lang/gcc5/patches/patch-libffi_configure                                            |   13 -
 lang/gcc5/patches/patch-libffi_testsuite_libffi.call_float2.c                       |   13 -
 lang/gcc5/patches/patch-libgcc_crtstuff.c                                           |   14 -
 lang/gcc5/patches/patch-libgcc_unwind-dw2-fde-dip.c                                 |   13 -
 lang/gcc5/patches/patch-libgfortran_configure                                       |   13 -
 lang/gcc5/patches/patch-libgo_Makefile.in                                           |   17 -
 lang/gcc5/patches/patch-libjava_boehm.cc                                            |   22 -
 lang/gcc5/patches/patch-libjava_configure                                           |   17 -
 lang/gcc5/patches/patch-libjava_contrib_rebuild-gcj-db.in                           |   29 -
 lang/gcc5/patches/patch-libsanitizer_configure.tgt                                  |   13 -
 lang/gcc5/patches/patch-libstdc++-v3_config_os_bsd_netbsd_ctype__base.h             |   37 -
 lang/gcc5/patches/patch-libstdc++-v3_config_os_bsd_netbsd_ctype__configure__char.cc |   57 --
 lang/gcc5/patches/patch-libstdc++-v3_config_os_bsd_netbsd_ctype__inline.h           |   13 -
 lang/gcc5/patches/patch-libstdc++-v3_libsupc++_unwind-cxx.h                         |   12 -
 lang/gcc5/version.mk                                                                |    2 -
 47 files changed, 1 insertions(+), 1856 deletions(-)

diffs (truncated from 2056 to 300 lines):

diff -r cebf3b13a4d0 -r 833efd109eb4 lang/Makefile
--- a/lang/Makefile     Tue Apr 06 12:07:57 2021 +0000
+++ b/lang/Makefile     Tue Apr 06 12:15:23 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.599 2021/04/02 11:56:15 nia Exp $
+# $NetBSD: Makefile,v 1.600 2021/04/06 12:15:23 nia Exp $
 #
 
 COMMENT=       Programming languages
@@ -74,9 +74,7 @@
 SUBDIR+=       gcc3-objc
 SUBDIR+=       gcc34
 SUBDIR+=       gcc44
-SUBDIR+=       gcc5
 SUBDIR+=       gcc5-aux
-SUBDIR+=       gcc5-libs
 SUBDIR+=       gcc6
 SUBDIR+=       gcc6-aux
 SUBDIR+=       gcc6-libs
diff -r cebf3b13a4d0 -r 833efd109eb4 lang/gcc5-libs/DESCR
--- a/lang/gcc5-libs/DESCR      Tue Apr 06 12:07:57 2021 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-The GNU Compiler Collection (GCC) includes front ends for C, C++, Objective-C,
-Fortran, and Go, as well as libraries for these languages (libstdc++,
-libgfortran, ...).
-
-This packages provides GCC support libraries in a specific location and allows
-packages to depend on just the libraries rather than having to pull in the full
-GCC package.
diff -r cebf3b13a4d0 -r 833efd109eb4 lang/gcc5-libs/Makefile
--- a/lang/gcc5-libs/Makefile   Tue Apr 06 12:07:57 2021 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,66 +0,0 @@
-# $NetBSD: Makefile,v 1.18 2021/02/12 00:34:22 gutteridge Exp $
-
-GCC_PKGNAME=   gcc5
-.include       "../../lang/${GCC_PKGNAME}/version.mk"
-
-DISTNAME=      gcc-${GCC5_DIST_VERSION}
-PKGNAME=       ${GCC_PKGNAME}-libs-${GCC5_DIST_VERSION}
-
-## The PKGREVISION of this package needs to be at least 1 more than the
-## PKGREVISION of the lang/gcc5 package so that with the dependence pattern
-## '{gcc5,gcc5-libs}>=5.1.*' pkg_add will choose gcc5-libs over gcc5.
-PKGREVISION=   8
-
-CATEGORIES=    lang
-MASTER_SITES=  # empty
-DISTFILES=     # empty
-
-MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      https://gcc.gnu.org/
-COMMENT=       The GNU Compiler Collection (GCC) support shared libraries
-LICENSE=       gnu-gpl-v2 AND gnu-gpl-v3 AND gnu-lgpl-v2 AND gnu-lgpl-v3
-
-USE_TOOLS+=    pax
-
-NO_BUILD=      yes
-CHECK_SHLIBS=  no
-
-## Depend on exactly ${GCC5_DIST_VERSION}.
-BUILD_DEPENDS+=                ${GCC_PKGNAME}-${GCC5_DIST_VERSION}{,nb[0-9]*}:../../lang/gcc5
-
-.include "../../mk/bsd.prefs.mk"
-
-LIBGCC_SUBPREFIX=      ${GCC_PKGNAME}
-LIBGCC_PREFIX=         ${LOCALBASE}/${LIBGCC_SUBPREFIX}
-GCC_TARGET_MACHINE?=   ${MACHINE_GNU_PLATFORM}
-BUILD_DEFS+=           GCC_TARGET_MACHINE
-
-.include "../../mk/bsd.prefs.mk"
-.if ${SHLIB_TYPE} == "dylib"
-SHLIB_EXT=     dylib
-.else
-SHLIB_EXT=     so
-.endif
-
-LIBRARY_FILES= ${WRKDIR}/lib_files
-
-GENERATE_PLIST+=       ${SED} -e 's,^,${LIBGCC_SUBPREFIX}/${GCC_TARGET_MACHINE}/,' \
-                              ${LIBRARY_FILES};
-GENERATE_PLIST+=       ${GREP} -q 'lib/' ${LIBRARY_FILES} || \
-                       ${ECHO} '@pkgdir ${LIBGCC_SUBPREFIX}/${GCC_TARGET_MACHINE}/lib' ;
-
-${LIBRARY_FILES}:
-       ${PKG_INFO} -qL '${GCC_PKGNAME}-${GCC5_DIST_VERSION}*' |                \
-       ${SED} -n -e's,^${LIBGCC_PREFIX}/,,' -e'/libexec\//d'           \
-               -e'/libgij/d;/libgcj/d;/libjvm/d'                       \
-               -e'/lib.*\.${SHLIB_EXT}/p'              >${LIBRARY_FILES}
-
-do-install: ${LIBRARY_FILES}
-       ${TEST} -d ${DESTDIR}${LIBGCC_PREFIX}/${GCC_TARGET_MACHINE}/lib ||      \
-               ${MKDIR} ${DESTDIR}${LIBGCC_PREFIX}/${GCC_TARGET_MACHINE}/lib
-       cd ${LIBGCC_PREFIX} &&                                          \
-         ${PAX} -rw ${DESTDIR}${LIBGCC_PREFIX}/${GCC_TARGET_MACHINE} <${LIBRARY_FILES}
-
-.include "../../mk/dlopen.buildlink3.mk"
-.include "../../mk/pthread.buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff -r cebf3b13a4d0 -r 833efd109eb4 lang/gcc5-libs/buildlink3.mk
--- a/lang/gcc5-libs/buildlink3.mk      Tue Apr 06 12:07:57 2021 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,46 +0,0 @@
-# $NetBSD: buildlink3.mk,v 1.3 2018/01/07 13:04:19 rillig Exp $
-
-BUILDLINK_TREE+=       gcc5-libs
-
-.if !defined(GCC5_LIBS_BUILDLINK3_MK)
-GCC5_LIBS_BUILDLINK3_MK:=
-
-.if !empty(USE_PKGSRC_GCC_RUNTIME:M[Yy][Ee][Ss])
-BUILDLINK_API_DEPENDS.gcc5-libs+=      gcc5-libs>=5.1.0
-.else
-BUILDLINK_API_DEPENDS.gcc5-libs+=      {gcc5,gcc5-libs}>=5.1.0
-.endif
-BUILDLINK_PKGSRCDIR.gcc5-libs=         ../../lang/gcc5-libs
-BUILDLINK_DEPMETHOD.gcc5-libs?=                full
-
-BUILDLINK_PASSTHRU_DIRS+=      ${BUILDLINK_PREFIX.gcc5-libs}/gcc5
-
-BUILDLINK_FILES.gcc5-libs=     #empty
-BUILDLINK_AUTO_VARS.gcc5-libs= no
-
-.if !empty(USE_PKGSRC_GCC_RUNTIME:M[Yy][Ee][Ss])
-# Use custom specs file to ensure we link against pkgsrc libraries.
-SPECS_LIBGCC=          ${WRAPPER_DIR}/specs.libgcc
-WRAPPER_TARGETS+=      ${SPECS_LIBGCC}
-
-LIBGCC_SUBPREFIX=      gcc5
-LIBGCC_PREFIX=         ${BUILDLINK_PREFIX.gcc5-libs}/${LIBGCC_SUBPREFIX}
-GCC_TARGET_MACHINE?=   ${MACHINE_GNU_PLATFORM}
-
-${SPECS_LIBGCC}:
-       @${ECHO} "*link_libgcc:" >${SPECS_LIBGCC}
-       @${ECHO} "%D ${LINKER_RPATH_FLAG}${LIBGCC_PREFIX}/${GCC_TARGET_MACHINE}/lib/%M" >>${SPECS_LIBGCC}
-
-_WRAP_EXTRA_ARGS.CC+=  -specs=${SPECS_LIBGCC}
-_WRAP_EXTRA_ARGS.CXX+= -specs=${SPECS_LIBGCC}
-_WRAP_EXTRA_ARGS.FC+=  -specs=${SPECS_LIBGCC}
-CWRAPPERS_APPEND.cc+=  -specs=${SPECS_LIBGCC}
-CWRAPPERS_APPEND.cxx+= -specs=${SPECS_LIBGCC}
-CWRAPPERS_APPEND.f77+= -specs=${SPECS_LIBGCC}
-.endif
-
-.include "../../mk/dlopen.buildlink3.mk"
-.include "../../mk/pthread.buildlink3.mk"
-.endif # GCC5_LIBS_BUILDLINK3_MK
-
-BUILDLINK_TREE+=       -gcc5-libs
diff -r cebf3b13a4d0 -r 833efd109eb4 lang/gcc5/DESCR
--- a/lang/gcc5/DESCR   Tue Apr 06 12:07:57 2021 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-The GNU Compiler Collection (GCC) includes front ends for C, C++, Objective-C,
-Fortran, Java, and Go, as well as libraries for these languages (libstdc++,
-libgcj,...).
diff -r cebf3b13a4d0 -r 833efd109eb4 lang/gcc5/Makefile
--- a/lang/gcc5/Makefile        Tue Apr 06 12:07:57 2021 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,212 +0,0 @@
-# $NetBSD: Makefile,v 1.40 2020/12/04 20:45:26 nia Exp $
-
-GCC_PKGNAME=           gcc5
-PKGREVISION=           7
-.include               "version.mk"
-
-DISTNAME=      gcc-${GCC5_DIST_VERSION}
-PKGNAME=       ${GCC_PKGNAME}-${GCC5_DIST_VERSION}
-## When bumping the PKGREVISION of this package the PKGREVISION of
-## lang/gcc5-libs needs to be bumped to be at least 1 more than the
-## PKGREVISION of this package!
-CATEGORIES=    lang
-MASTER_SITES=  ${MASTER_SITE_GNU:=gcc/gcc-${GCC5_DIST_VERSION}/}
-EXTRACT_SUFX=  .tar.xz
-
-MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      https://gcc.gnu.org/
-COMMENT=       The GNU Compiler Collection (GCC) - 5 Release Series
-LICENSE=       gnu-gpl-v2 AND gnu-gpl-v3 AND gnu-lgpl-v2 AND gnu-lgpl-v3
-
-DISTFILES=             ${DEFAULT_DISTFILES}
-EXTRACT_ONLY=          ${DEFAULT_DISTFILES}
-
-NOT_FOR_PLATFORM=      Interix-*-*
-
-USE_LANGUAGES=         c99 c++03
-USE_TOOLS+=            gmake makeinfo sed:run tar:build
-USE_TOOLS.NetBSD+=     gsed
-
-# These are not used during the build.
-CHECK_PORTABILITY_SKIP+=       contrib/*
-
-GNU_CONFIGURE=         yes
-GNU_CONFIGURE_STRICT=  no # has sub-configures
-## Build outside ${WRKSRC}
-OBJDIR=                        ../build
-CONFIGURE_DIRS=                ${OBJDIR}
-CONFIGURE_SCRIPT=      ../${DISTNAME}/configure
-GCC_SUBPREFIX=         ${GCC_PKGNAME}
-GCC_PREFIX=            ${PREFIX}/${GCC_SUBPREFIX}
-GNU_CONFIGURE_PREFIX=  ${GCC_PREFIX}
-INFO_FILES=            yes
-CONFIGURE_ARGS+=       --disable-libstdcxx-pch
-GCC_TARGET_MACHINE=    ${MACHINE_GNU_PLATFORM}
-
-UNLIMIT_RESOURCES+=    datasize
-UNLIMIT_RESOURCES+=    stacksize
-
-SUBST_CLASSES+=                vars
-SUBST_MESSAGE.vars=    Setting target machine name path in ${SUBST_FILES.vars}
-SUBST_STAGE.vars=      pre-configure
-SUBST_FILES.vars=      gcc/Makefile.in
-SUBST_VARS.vars=       GCC_TARGET_MACHINE
-
-.include "../../mk/bsd.prefs.mk"
-
-LANGS=                 c
-
-# In some cases LINKER_RPATH_FLAG needs a trailing space.
-LINKER_RPATH_FLAG:=    ${LINKER_RPATH_FLAG:S/-rpath/& /}
-
-## The Library rpath to use in end programs.
-LDFLAGS_FOR_TARGET=    ${LDFLAGS:M${COMPILER_RPATH_FLAG}*:N*/usr/lib*}
-
-# The "-static-libstdc++ -static-libgcc" flags are normally added to the
-# boot-ldflags by configure but because we are supply the boot-ldflags
-# we mash supply them.
-BOOT_LDFLAGS=          -static-libstdc++ -static-libgcc ${LDFLAGS_FOR_TARGET}
-# Needed on Darwin when LDFLAGS point to a SDK
-BOOT_LDFLAGS+=         ${LDFLAGS:M-Wl,-syslibroot*}
-# GCC does not understand this option; remove it, or stage build will fail
-BUILDLINK_TRANSFORM+=  rm:-stdlib=libc++
-
-# Disable fixincludes on SmartOS, header changes result in broken includes
-# being generated, see https://github.com/joyent/pkgsrc-legacy/issues/270
-.if ${OS_VARIANT} == "SmartOS"
-SUBST_CLASSES+=                fixinc
-SUBST_STAGE.fixinc=    pre-configure
-SUBST_FILES.fixinc=    gcc/Makefile.in
-SUBST_SED.fixinc=      -e "s,\./fixinc.sh,-c true,"
-.endif
-
-.include "options.mk"
-
-## For graphite support.
-.if !empty(PKG_OPTIONS:Mgcc-graphite)
-
-post-extract:
-       ${TAR} -jxf ${DISTDIR}/${ISL14}.tar.bz2 -C ${WRKSRC}
-       ${MV} ${WRKSRC}/${ISL14} ${WRKSRC}/isl
-.endif
-
-## For target librarys and libjava programs.
-CONFIGURE_ENV+=                LDFLAGS_FOR_TARGET=${LDFLAGS_FOR_TARGET:Q}
-
-CONFIGURE_ARGS+=       --enable-languages=${LANGS:Q}
-CONFIGURE_ARGS+=       --enable-shared
-CONFIGURE_ARGS+=       --enable-long-long
-CONFIGURE_ARGS+=       --with-local-prefix=${GCC_PREFIX:Q}
-.if !empty(MACHINE_PLATFORM:MNetBSD-*-*)
-# native SSP conflicts with gcc's libssp
-CONFIGURE_ARGS+=       --disable-libssp
-# Match base libstdc++ major
-SUBST_CLASSES+=                libstdc
-SUBST_STAGE.libstdc=   pre-configure
-SUBST_FILES.libstdc=   libstdc++-v3/configure
-SUBST_MESSAGE.libstdc= Bumping libstdc++ major to 7
-SUBST_SED.libstdc=     -e 's,libtool_VERSION=6:,libtool_VERSION=7:,g'
-.else
-CONFIGURE_ARGS+=       --enable-libssp
-.endif
-CONFIGURE_ARGS+=       --enable-threads=posix
-CONFIGURE_ARGS+=       --with-boot-ldflags=${BOOT_LDFLAGS:Q}
-
-# multilib on Darwin requires fat-binaries
-CONFIGURE_ARGS.Darwin+=        --disable-multilib
-.if !empty(OSX_SDK_PATH)
-CONFIGURE_ARGS.Darwin+=        --with-sysroot=${OSX_SDK_PATH}
-.endif
-CONFIGURE_ARGS.NetBSD+=        --with-gnu-ld --with-ld=/usr/bin/ld
-CONFIGURE_ARGS.NetBSD+=        --with-gnu-as --with-as=/usr/bin/as
-MAKE_ENV.NetBSD+=      ac_cv_func_clock_gettime=yes
-MAKE_ENV.NetBSD+=      ac_cv_func_gethostbyname_r=no
-MAKE_ENV.NetBSD+=      ac_cv_func_freelocale=no
-MAKE_ENV.NetBSD+=      ac_cv_func_newlocale=no
-MAKE_ENV.NetBSD+=      ac_cv_func_uselocale=no
-MAKE_ENV.SunOS+=       ac_cv_func_mkostemp=no
-
-CONFIGURE_ARGS.DragonFly+=     --disable-bootstrap
-
-.if !empty(MACHINE_PLATFORM:MNetBSD-*-i386) || !empty(MACHINE_PLATFORM:MLinux-*-i386)
-CONFIGURE_ARGS+=       --with-arch=i486 --with-tune=i486
-.endif
-
-.if !empty(MACHINE_PLATFORM:MNetBSD-*-x86_64) || !empty(MACHINE_PLATFORM:MLinux-*-x86_64)
-CONFIGURE_ARGS+=       --with-arch=nocona --with-tune=nocona --with-fpmath=sse
-.endif
-
-.if !empty(MACHINE_PLATFORM:MDarwin-[0-8].*-*)



Home | Main Index | Thread Index | Old Index