PR/60439 CVS commit: pkgsrc/lang

"Havard Eidnes" <[email protected]> Wed, 22 Jul 2026 19:30:02 +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: Wed, 22 Jul 2026 19:28:27 +0000

 Module Name:	pkgsrc
 Committed By:	he
 Date:		Wed Jul 22 19:28:27 UTC 2026
 
 Modified Files:
 	pkgsrc/lang/gcc15: Makefile distinfo
 	pkgsrc/lang/gcc15-libs: Makefile
 	pkgsrc/lang/gcc15/patches: patch-gcc_config.gcc
 Added Files:
 	pkgsrc/lang/gcc15/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/gcc15: 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.
 
 Fixes PR#60439.
 
 Bump PKGREVISION for both gcc15 and gcc15-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.6 -r1.7 pkgsrc/lang/gcc15/Makefile \
     pkgsrc/lang/gcc15/distinfo
 cvs rdiff -u -r1.6 -r1.7 pkgsrc/lang/gcc15-libs/Makefile
 cvs rdiff -u -r1.2 -r1.3 pkgsrc/lang/gcc15/patches/patch-gcc_config.gcc
 cvs rdiff -u -r0 -r1.1 \
     pkgsrc/lang/gcc15/patches/patch-gcc_config_rs6000_netbsd.h \
     pkgsrc/lang/gcc15/patches/patch-gcc_config_rs6000_netbsd64.h \
     pkgsrc/lang/gcc15/patches/patch-gcc_config_rs6000_rs6000-logue.cc \
     pkgsrc/lang/gcc15/patches/patch-gcc_config_rs6000_rs6000.cc \
     pkgsrc/lang/gcc15/patches/patch-gcc_config_rs6000_sysv4.h \
     pkgsrc/lang/gcc15/patches/patch-gcc_config_rs6000_t-netbsd \
     pkgsrc/lang/gcc15/patches/patch-gcc_config_rs6000_t-netbsd64 \
     pkgsrc/lang/gcc15/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.