pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/cross
Module Name: pkgsrc
Committed By: nia
Date: Wed Aug 9 08:24:40 UTC 2023
Modified Files:
pkgsrc/cross/avr-gcc: Makefile
pkgsrc/cross/h8300-elf-gcc: Makefile
pkgsrc/cross/i586-pc-msdosdjgpp-gcc: Makefile
pkgsrc/cross/mingw-gcc: Makefile
pkgsrc/cross/mingw-w64-x86_64-gcc: Makefile.common
pkgsrc/cross/mingw-w64-x86_64-gcc-bootstrap: Makefile.common
pkgsrc/cross/mipsel-none-elf-gcc: Makefile
pkgsrc/cross/or1k-none-elf-gcc: Makefile
pkgsrc/cross/pdp11-aout-gcc: Makefile
pkgsrc/cross/powerpc-none-elf-gcc: Makefile
pkgsrc/cross/ppc-morphos-gcc-10: Makefile
pkgsrc/cross/ppc-morphos-gcc-11: Makefile
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r1.49 -r1.50 pkgsrc/cross/avr-gcc/Makefile
cvs rdiff -u -r1.13 -r1.14 pkgsrc/cross/h8300-elf-gcc/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/cross/i586-pc-msdosdjgpp-gcc/Makefile
cvs rdiff -u -r1.12 -r1.13 pkgsrc/cross/mingw-gcc/Makefile
cvs rdiff -u -r1.12 -r1.13 pkgsrc/cross/mingw-w64-x86_64-gcc/Makefile.common
cvs rdiff -u -r1.12 -r1.13 \
pkgsrc/cross/mingw-w64-x86_64-gcc-bootstrap/Makefile.common
cvs rdiff -u -r1.4 -r1.5 pkgsrc/cross/mipsel-none-elf-gcc/Makefile
cvs rdiff -u -r1.7 -r1.8 pkgsrc/cross/or1k-none-elf-gcc/Makefile
cvs rdiff -u -r1.12 -r1.13 pkgsrc/cross/pdp11-aout-gcc/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/cross/powerpc-none-elf-gcc/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/cross/ppc-morphos-gcc-10/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/cross/ppc-morphos-gcc-11/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/cross/avr-gcc/Makefile
diff -u pkgsrc/cross/avr-gcc/Makefile:1.49 pkgsrc/cross/avr-gcc/Makefile:1.50
--- pkgsrc/cross/avr-gcc/Makefile:1.49 Fri Apr 15 17:16:08 2022
+++ pkgsrc/cross/avr-gcc/Makefile Wed Aug 9 08:24:38 2023
@@ -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++
Index: pkgsrc/cross/h8300-elf-gcc/Makefile
diff -u pkgsrc/cross/h8300-elf-gcc/Makefile:1.13 pkgsrc/cross/h8300-elf-gcc/Makefile:1.14
--- pkgsrc/cross/h8300-elf-gcc/Makefile:1.13 Wed Aug 2 19:20:18 2023
+++ pkgsrc/cross/h8300-elf-gcc/Makefile Wed Aug 9 08:24:39 2023
@@ -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]
# 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)
Index: pkgsrc/cross/i586-pc-msdosdjgpp-gcc/Makefile
diff -u pkgsrc/cross/i586-pc-msdosdjgpp-gcc/Makefile:1.3 pkgsrc/cross/i586-pc-msdosdjgpp-gcc/Makefile:1.4
--- pkgsrc/cross/i586-pc-msdosdjgpp-gcc/Makefile:1.3 Thu Dec 22 13:39:12 2022
+++ pkgsrc/cross/i586-pc-msdosdjgpp-gcc/Makefile Wed Aug 9 08:24:39 2023
@@ -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
Index: pkgsrc/cross/mingw-gcc/Makefile
diff -u pkgsrc/cross/mingw-gcc/Makefile:1.12 pkgsrc/cross/mingw-gcc/Makefile:1.13
--- pkgsrc/cross/mingw-gcc/Makefile:1.12 Tue Jun 28 11:31:15 2022
+++ pkgsrc/cross/mingw-gcc/Makefile Wed Aug 9 08:24:39 2023
@@ -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} \
Index: pkgsrc/cross/mingw-w64-x86_64-gcc/Makefile.common
diff -u pkgsrc/cross/mingw-w64-x86_64-gcc/Makefile.common:1.12 pkgsrc/cross/mingw-w64-x86_64-gcc/Makefile.common:1.13
--- pkgsrc/cross/mingw-w64-x86_64-gcc/Makefile.common:1.12 Sun Mar 19 16:00:48 2023
+++ pkgsrc/cross/mingw-w64-x86_64-gcc/Makefile.common Wed Aug 9 08:24:39 2023
@@ -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/m
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
Index: pkgsrc/cross/mingw-w64-x86_64-gcc-bootstrap/Makefile.common
diff -u pkgsrc/cross/mingw-w64-x86_64-gcc-bootstrap/Makefile.common:1.12 pkgsrc/cross/mingw-w64-x86_64-gcc-bootstrap/Makefile.common:1.13
--- pkgsrc/cross/mingw-w64-x86_64-gcc-bootstrap/Makefile.common:1.12 Wed Feb 15 20:49:12 2023
+++ pkgsrc/cross/mingw-w64-x86_64-gcc-bootstrap/Makefile.common Wed Aug 9 08:24:39 2023
@@ -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
Index: pkgsrc/cross/mipsel-none-elf-gcc/Makefile
diff -u pkgsrc/cross/mipsel-none-elf-gcc/Makefile:1.4 pkgsrc/cross/mipsel-none-elf-gcc/Makefile:1.5
--- pkgsrc/cross/mipsel-none-elf-gcc/Makefile:1.4 Tue Jun 28 11:31:15 2022
+++ pkgsrc/cross/mipsel-none-elf-gcc/Makefile Wed Aug 9 08:24:39 2023
@@ -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
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
Index: pkgsrc/cross/or1k-none-elf-gcc/Makefile
diff -u pkgsrc/cross/or1k-none-elf-gcc/Makefile:1.7 pkgsrc/cross/or1k-none-elf-gcc/Makefile:1.8
--- pkgsrc/cross/or1k-none-elf-gcc/Makefile:1.7 Tue Jun 28 11:31:16 2022
+++ pkgsrc/cross/or1k-none-elf-gcc/Makefile Wed Aug 9 08:24:39 2023
@@ -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
Index: pkgsrc/cross/pdp11-aout-gcc/Makefile
diff -u pkgsrc/cross/pdp11-aout-gcc/Makefile:1.12 pkgsrc/cross/pdp11-aout-gcc/Makefile:1.13
--- pkgsrc/cross/pdp11-aout-gcc/Makefile:1.12 Fri Mar 10 22:07:24 2023
+++ pkgsrc/cross/pdp11-aout-gcc/Makefile Wed Aug 9 08:24:40 2023
@@ -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
Index: pkgsrc/cross/powerpc-none-elf-gcc/Makefile
diff -u pkgsrc/cross/powerpc-none-elf-gcc/Makefile:1.5 pkgsrc/cross/powerpc-none-elf-gcc/Makefile:1.6
--- pkgsrc/cross/powerpc-none-elf-gcc/Makefile:1.5 Tue Jun 28 11:31:16 2022
+++ pkgsrc/cross/powerpc-none-elf-gcc/Makefile Wed Aug 9 08:24:40 2023
@@ -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
Index: pkgsrc/cross/ppc-morphos-gcc-10/Makefile
diff -u pkgsrc/cross/ppc-morphos-gcc-10/Makefile:1.3 pkgsrc/cross/ppc-morphos-gcc-10/Makefile:1.4
--- pkgsrc/cross/ppc-morphos-gcc-10/Makefile:1.3 Tue Jun 28 11:31:16 2022
+++ pkgsrc/cross/ppc-morphos-gcc-10/Makefile Wed Aug 9 08:24:40 2023
@@ -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-specif
# 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
Index: pkgsrc/cross/ppc-morphos-gcc-11/Makefile
diff -u pkgsrc/cross/ppc-morphos-gcc-11/Makefile:1.3 pkgsrc/cross/ppc-morphos-gcc-11/Makefile:1.4
--- pkgsrc/cross/ppc-morphos-gcc-11/Makefile:1.3 Tue Oct 18 19:47:30 2022
+++ pkgsrc/cross/ppc-morphos-gcc-11/Makefile Wed Aug 9 08:24:40 2023
@@ -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-specif
# 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
Home |
Main Index |
Thread Index |
Old Index