PR/60439 CVS commit: pkgsrc/lang
"Havard Eidnes" <[email protected]> Mon, 20 Jul 2026 08:05:01 +0000 (UTC)
| Newsgroups | gmane.os.netbsd.devel.pkgsrc.bugs |
|---|---|
| Message-ID | <[email protected]> |
The following reply was made to PR pkg/60439; it has been noted by GNATS. From: "Havard Eidnes" <[email protected]> To: [email protected] Cc: Subject: PR/60439 CVS commit: pkgsrc/lang Date: Mon, 20 Jul 2026 08:02:52 +0000 Module Name: pkgsrc Committed By: he Date: Mon Jul 20 08:02:52 UTC 2026 Modified Files: pkgsrc/lang/gcc14: Makefile distinfo pkgsrc/lang/gcc14-libs: Makefile pkgsrc/lang/gcc14/patches: patch-gcc_config.gcc Added Files: pkgsrc/lang/gcc14/patches: patch-gcc_config_rs6000_netbsd.h patch-gcc_config_rs6000_netbsd64.h patch-gcc_config_rs6000_rs6000-logue.cc patch-gcc_config_rs6000_rs6000.cc patch-gcc_config_rs6000_sysv4.h patch-gcc_config_rs6000_t-netbsd patch-gcc_config_rs6000_t-netbsd64 patch-gcc_config_rs6000_t-rs6000 Log Message: lang/gcc14: Add changes to make this build on NetBSD/macppc 11.0_RC6. This pulls over changes to config/rs6000/ and gcc/config.gcc from our in-tree gcc instance of gcc14, while preserving existing Homebrew- related changes to gcc/config.gcc. The most important fix is that on NetBSD/powerpc, -msecure-plt is enabled by default, so that resulting executables can be run with PAX_MPROTECT active. Otherwise, we end up with executables with sections which have both "write" and "execute" turned on, which PAX_MPROTECT rejects. Ref. the entries for .plt and .got sections in "readelf -a". Fixes PR#60439. Bump PKGREVISION for both gcc14 and gcc14-libs, to adhere to rules in comments, even though this *should* be a single-arch build fix, since I had to merge the patch to gcc/config.gcc. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 pkgsrc/lang/gcc14/Makefile cvs rdiff -u -r1.11 -r1.12 pkgsrc/lang/gcc14/distinfo cvs rdiff -u -r1.6 -r1.7 pkgsrc/lang/gcc14-libs/Makefile cvs rdiff -u -r1.3 -r1.4 pkgsrc/lang/gcc14/patches/patch-gcc_config.gcc cvs rdiff -u -r0 -r1.1 \ pkgsrc/lang/gcc14/patches/patch-gcc_config_rs6000_netbsd.h \ pkgsrc/lang/gcc14/patches/patch-gcc_config_rs6000_netbsd64.h \ pkgsrc/lang/gcc14/patches/patch-gcc_config_rs6000_rs6000-logue.cc \ pkgsrc/lang/gcc14/patches/patch-gcc_config_rs6000_rs6000.cc \ pkgsrc/lang/gcc14/patches/patch-gcc_config_rs6000_sysv4.h \ pkgsrc/lang/gcc14/patches/patch-gcc_config_rs6000_t-netbsd \ pkgsrc/lang/gcc14/patches/patch-gcc_config_rs6000_t-netbsd64 \ pkgsrc/lang/gcc14/patches/patch-gcc_config_rs6000_t-rs6000 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.