pkgsrc-WIP-changes archive

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

Set MKPIE_SUPPORTED=no in gcc.mk.



Module Name:	pkgsrc-wip
Committed By:	Lloyd Parkes <lloyd%must-have-coffee.gen.nz@localhost>
Pushed By:	lloyd
Date:		Sat Jan 31 08:05:16 2026 +1300
Changeset:	5fffae9d32f04fac865b382b6392e7384c18eefb

Modified Files:
	aarch64-none-elf-gcc/Makefile
	common-gnu-toolchain/gcc.mk
	mipsel-none-elf-gcc/Makefile
	powerpc-none-elf-gcc/Makefile

Log Message:
Set MKPIE_SUPPORTED=no in gcc.mk.

It seems that MKPIE is a host problem for NetBSD rather than a target
problem so disable it universally.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=5fffae9d32f04fac865b382b6392e7384c18eefb

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 aarch64-none-elf-gcc/Makefile | 2 --
 common-gnu-toolchain/gcc.mk   | 1 +
 mipsel-none-elf-gcc/Makefile  | 3 ---
 powerpc-none-elf-gcc/Makefile | 3 ---
 4 files changed, 1 insertion(+), 8 deletions(-)

diffs:
diff --git a/aarch64-none-elf-gcc/Makefile b/aarch64-none-elf-gcc/Makefile
index 8a559c7ced..e5c338a2cb 100644
--- a/aarch64-none-elf-gcc/Makefile
+++ b/aarch64-none-elf-gcc/Makefile
@@ -5,7 +5,5 @@ TARGET=			aarch64-none-elf
 MAINTAINER=		port-arm%NetBSD.org@localhost
 COMMENT=		GCC for bare metal AArch64 ELF
 
-MKPIE_SUPPORTED=	no # relocation errors on netbsd-9 aarch64
-
 .include "../../wip/common-gnu-toolchain/gcc.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/common-gnu-toolchain/gcc.mk b/common-gnu-toolchain/gcc.mk
index 5fa1b66712..26ecbac009 100644
--- a/common-gnu-toolchain/gcc.mk
+++ b/common-gnu-toolchain/gcc.mk
@@ -43,6 +43,7 @@ USE_TOOLS+=		bash gmake gsed makeinfo perl
 GNU_CONFIGURE=		yes
 GNU_CONFIGURE_STRICT=	no # has sub-configures
 CHECK_PORTABILITY_SKIP+=contrib/*
+MKPIE_SUPPORTED=	no	# relocation errors on various NetBSDs
 
 GNU_CONFIGURE_PREFIX=	${TOOLCHAIN_PREFIX}
 
diff --git a/mipsel-none-elf-gcc/Makefile b/mipsel-none-elf-gcc/Makefile
index a50c6844d5..0c7990b3bd 100644
--- a/mipsel-none-elf-gcc/Makefile
+++ b/mipsel-none-elf-gcc/Makefile
@@ -6,8 +6,5 @@ GCC_VERSION=		13.2.0
 MAINTAINER=		port-mips%NetBSD.org@localhost
 COMMENT=		GCC for bare metal MIPS 32-bit little-endian ELF
 
-# Relocations result in a linker error.
-MKPIE_SUPPORTED=	no
-
 .include "../../wip/common-gnu-toolchain/gcc.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/powerpc-none-elf-gcc/Makefile b/powerpc-none-elf-gcc/Makefile
index 6aaf952290..5a64c877d3 100644
--- a/powerpc-none-elf-gcc/Makefile
+++ b/powerpc-none-elf-gcc/Makefile
@@ -6,8 +6,5 @@ GCC_VERSION=		13.2.0
 MAINTAINER=		port-powerpc%NetBSD.org@localhost
 COMMENT=		GCC for bare metal PowerPC ELF
 
-# Relocations result in a linker error.
-MKPIE_SUPPORTED=	no
-
 .include "../../wip/common-gnu-toolchain/gcc.mk"
 .include "../../mk/bsd.pkg.mk"


Home | Main Index | Thread Index | Old Index