cross: Mark various versions of gcc unsuitable for MKPIE.
This follows lang/gcc* already having it, but the new wrapper behaviour appears to have resulted in new fallout from these packages previously being overlooked. While here, use FORTIFY_SUPPORTED in mingw-w64-gcc instead of overriding the user's choice of a FORTIFY pkgsrc variable.
This commit is contained in:
parent
4726b98862
commit
c0f273a8c8
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.49 2022/04/15 17:16:08 tnn Exp $
|
||||
# $NetBSD: Makefile,v 1.50 2023/08/09 08:24:38 nia Exp $
|
||||
|
||||
DISTNAME= gcc-10.3.0
|
||||
PKGREVISION= 1
|
||||
|
@ -16,6 +16,9 @@ EXTRACT_ONLY= ${DEFAULT_DISTFILES}
|
|||
|
||||
DEPENDS+= avr-binutils>=2.37:../../cross/avr-binutils
|
||||
|
||||
# Relocations result in a linker error.
|
||||
MKPIE_SUPPORTED= no
|
||||
|
||||
.include "../../mk/bsd.prefs.mk"
|
||||
|
||||
USE_LANGUAGES= c c++
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.13 2023/08/02 19:20:18 nia Exp $
|
||||
# $NetBSD: Makefile,v 1.14 2023/08/09 08:24:39 nia Exp $
|
||||
|
||||
DISTNAME= gcc-6.2.0
|
||||
PKGNAME= cross-h8300-elf-${DISTNAME}
|
||||
|
@ -21,6 +21,9 @@ DEPENDS+= cross-h8300-elf-binutils-[0-9]*:../../cross/h8300-elf-binutils
|
|||
# Fails with C++14 default language.
|
||||
FORCE_CXX_STD= c++03
|
||||
|
||||
# Relocations result in a linker error.
|
||||
MKPIE_SUPPORTED= no
|
||||
|
||||
.include "../../mk/bsd.prefs.mk"
|
||||
# To avoid an internal compiler error of a library for h8300h
|
||||
# on NetBSD/amd64 7.99.39 (GCC 5.4)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.3 2022/12/22 13:39:12 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.4 2023/08/09 08:24:39 nia Exp $
|
||||
|
||||
DISTNAME= gcc-11.2.0
|
||||
PKGNAME= cross-i586-pc-msdosdjgpp-${DISTNAME}
|
||||
|
@ -31,6 +31,9 @@ GNU_CONFIGURE= yes
|
|||
GNU_CONFIGURE_STRICT= no # has sub-configures
|
||||
CHECK_PORTABILITY_SKIP+= contrib/* gcc/config/nvptx/gen-opt.sh
|
||||
|
||||
# Relocations result in a linker error.
|
||||
MKPIE_SUPPORTED= no
|
||||
|
||||
GNU_CONFIGURE_PREFIX= ${DJGPP_PREFIX}
|
||||
|
||||
CONFIGURE_ARGS+= --target=i586-pc-msdosdjgpp
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.12 2022/06/28 11:31:15 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.13 2023/08/09 08:24:39 nia Exp $
|
||||
|
||||
DISTNAME= mingw-gcc-${DIST_VERSION}
|
||||
PKGNAME= ${DISTNAME:S/-${DIST_VERSION}/-${GCC_VERSION}/}
|
||||
|
@ -24,6 +24,9 @@ WRKSRC= ${WRKDIR}/gcc-${DIST_VERSION}
|
|||
GCC_VERSION= 3.4.5
|
||||
DIST_VERSION= ${GCC_VERSION}-20060117-2
|
||||
|
||||
# Relocations result in a linker error.
|
||||
MKPIE_SUPPORTED= no
|
||||
|
||||
do-build:
|
||||
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS}
|
||||
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} \
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile.common,v 1.12 2023/02/15 20:49:12 ryoon Exp $
|
||||
# $NetBSD: Makefile.common,v 1.13 2023/08/09 08:24:39 nia Exp $
|
||||
#
|
||||
# used by cross/mingw-w64-x86_64-gcc-bootstrap/Makefile
|
||||
# used by cross/mingw-w64-i686-gcc-bootstrap/Makefile
|
||||
|
@ -16,7 +16,10 @@ HOMEPAGE= http://mingw-w64.org/
|
|||
PATCHDIR= ${.CURDIR}/../../cross/mingw-w64-x86_64-gcc/patches
|
||||
DISTINFO_FILE= ${.CURDIR}/../../cross/mingw-w64-x86_64-gcc/distinfo
|
||||
|
||||
PKGSRC_USE_FORTIFY= no # Avoid "undefined reference to `__strcpy_chk'"
|
||||
FORTIFY_SUPPORTED= no # Avoid "undefined reference to `__strcpy_chk'"
|
||||
|
||||
# Relocations result in a linker error.
|
||||
MKPIE_SUPPORTED= no
|
||||
|
||||
USE_LANGUAGES= c c++
|
||||
USE_TOOLS+= gmake
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile.common,v 1.12 2023/03/19 16:00:48 js Exp $
|
||||
# $NetBSD: Makefile.common,v 1.13 2023/08/09 08:24:39 nia Exp $
|
||||
#
|
||||
# used by cross/mingw-w64-i686-gcc/Makefile
|
||||
# used by cross/mingw-w64-x86_64-gcc/Makefile
|
||||
|
@ -17,7 +17,10 @@ DISTINFO_FILE= ${.CURDIR}/../../cross/mingw-w64-x86_64-gcc/distinfo
|
|||
USE_LANGUAGES= c c++
|
||||
USE_TOOLS+= gmake perl:build
|
||||
|
||||
PKGSRC_USE_FORTIFY= no # Avoid "undefined reference to `__strcpy_chk'"
|
||||
FORTIFY_SUPPORTED= no # Avoid "undefined reference to `__strcpy_chk'"
|
||||
|
||||
# Relocations result in a linker error.
|
||||
MKPIE_SUPPORTED= no
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
OBJDIR= ../build
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.4 2022/06/28 11:31:15 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.5 2023/08/09 08:24:39 nia Exp $
|
||||
|
||||
DISTNAME= gcc-8.3.0
|
||||
PKGNAME= cross-mipsel-none-elf-${DISTNAME}
|
||||
|
@ -17,6 +17,9 @@ COMMENT= GCC for bare metal MIPS 32-bit little-endian ELF
|
|||
|
||||
EXTRACT_USING= bsdtar
|
||||
|
||||
# Relocations result in a linker error.
|
||||
MKPIE_SUPPORTED= no
|
||||
|
||||
# for http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33549
|
||||
# use makeinfo from pkgsrc/devel/gtexinfo.
|
||||
TOOL_DEPENDS+= gtexinfo>=5.1:../../devel/gtexinfo
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.7 2022/06/28 11:31:16 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.8 2023/08/09 08:24:39 nia Exp $
|
||||
|
||||
DISTNAME= gcc-9.1.0
|
||||
PKGNAME= cross-or1k-none-elf-${DISTNAME}
|
||||
|
@ -49,6 +49,9 @@ CONFIGURE_ARGS+= --disable-libstdcxx-pch
|
|||
|
||||
INFO_FILES= yes
|
||||
|
||||
# Relocations result in a linker error.
|
||||
MKPIE_SUPPORTED= no
|
||||
|
||||
post-extract:
|
||||
${LN} -s ${WRKDIR}/newlib-${NEWLIBVER}/newlib ${WRKSRC}/newlib
|
||||
${LN} -s ${WRKDIR}/newlib-${NEWLIBVER}/libgloss ${WRKSRC}/libgloss
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.12 2023/03/10 22:07:24 ryoon Exp $
|
||||
# $NetBSD: Makefile,v 1.13 2023/08/09 08:24:40 nia Exp $
|
||||
|
||||
DISTNAME= gcc-12.2.0
|
||||
PKGNAME= cross-pdp11-aout-${DISTNAME}
|
||||
|
@ -49,6 +49,9 @@ CONFIGURE_ARGS+= --disable-gcov
|
|||
|
||||
INFO_FILES= yes
|
||||
|
||||
# Relocations result in a linker error.
|
||||
MKPIE_SUPPORTED= no
|
||||
|
||||
.include "../../mk/compiler.mk"
|
||||
.if !empty(PKGSRC_COMPILER:Mclang)
|
||||
# geattrtab on neon.md results in a very deeply nested expression
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.5 2022/06/28 11:31:16 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.6 2023/08/09 08:24:40 nia Exp $
|
||||
|
||||
DISTNAME= gcc-8.3.0
|
||||
PKGNAME= cross-powerpc-none-elf-${DISTNAME}
|
||||
|
@ -49,6 +49,9 @@ CONFIGURE_ARGS+= --disable-libstdcxx-pch
|
|||
|
||||
INFO_FILES= yes
|
||||
|
||||
# Relocations result in a linker error.
|
||||
MKPIE_SUPPORTED= no
|
||||
|
||||
post-extract:
|
||||
${LN} -s ${WRKDIR}/newlib-${NEWLIBVER}/newlib ${WRKSRC}/newlib
|
||||
${LN} -s ${WRKDIR}/newlib-${NEWLIBVER}/libgloss ${WRKSRC}/libgloss
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.3 2022/06/28 11:31:16 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.4 2023/08/09 08:24:40 nia Exp $
|
||||
|
||||
DISTNAME= sdk-source-20210211
|
||||
PKGNAME= ppc-morphos-gcc-10-10.2.0
|
||||
|
@ -38,6 +38,9 @@ CONFIGURE_ARGS+= --enable-version-specific-runtime-libs
|
|||
# Used by a sub-configure, therefore needs to be passed via MAKE_ENV.
|
||||
MAKE_ENV+= gcc_cv_have_tls=no
|
||||
|
||||
# Relocations result in a linker error.
|
||||
MKPIE_SUPPORTED= no
|
||||
|
||||
CHECK_PORTABILITY_SKIP+= contrib/*
|
||||
CHECK_PORTABILITY_SKIP+= libgo/mksysinfo.sh
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.3 2022/10/18 19:47:30 js Exp $
|
||||
# $NetBSD: Makefile,v 1.4 2023/08/09 08:24:40 nia Exp $
|
||||
|
||||
DISTNAME= sdk-source-20220309
|
||||
PKGNAME= ppc-morphos-gcc-11-11.2.0
|
||||
|
@ -38,6 +38,9 @@ CONFIGURE_ARGS+= --enable-version-specific-runtime-libs
|
|||
# Used by a sub-configure, therefore needs to be passed via MAKE_ENV.
|
||||
MAKE_ENV+= gcc_cv_have_tls=no
|
||||
|
||||
# Relocations result in a linker error.
|
||||
MKPIE_SUPPORTED= no
|
||||
|
||||
CHECK_PORTABILITY_SKIP+= contrib/*
|
||||
CHECK_PORTABILITY_SKIP+= libgo/mksysinfo.sh
|
||||
|
||||
|
|
Loading…
Reference in New Issue