pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang



Module Name:    pkgsrc
Committed By:   nia
Date:           Tue Aug 29 09:48:47 UTC 2023

Modified Files:
        pkgsrc/lang/gcc10: Makefile.common
        pkgsrc/lang/gcc12: Makefile.common
        pkgsrc/lang/gcc13: Makefile.common
        pkgsrc/lang/gcc6: Makefile
        pkgsrc/lang/gcc7: Makefile
        pkgsrc/lang/gcc8: Makefile
        pkgsrc/lang/gcc9: Makefile

Log Message:
gcc*: Disable FORTIFY on Linux only


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 pkgsrc/lang/gcc10/Makefile.common
cvs rdiff -u -r1.5 -r1.6 pkgsrc/lang/gcc12/Makefile.common
cvs rdiff -u -r1.4 -r1.5 pkgsrc/lang/gcc13/Makefile.common
cvs rdiff -u -r1.43 -r1.44 pkgsrc/lang/gcc6/Makefile
cvs rdiff -u -r1.49 -r1.50 pkgsrc/lang/gcc7/Makefile
cvs rdiff -u -r1.40 -r1.41 pkgsrc/lang/gcc8/Makefile
cvs rdiff -u -r1.46 -r1.47 pkgsrc/lang/gcc9/Makefile

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

Modified files:

Index: pkgsrc/lang/gcc10/Makefile.common
diff -u pkgsrc/lang/gcc10/Makefile.common:1.6 pkgsrc/lang/gcc10/Makefile.common:1.7
--- pkgsrc/lang/gcc10/Makefile.common:1.6       Fri Aug 18 10:57:58 2023
+++ pkgsrc/lang/gcc10/Makefile.common   Tue Aug 29 09:48:46 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.6 2023/08/18 10:57:58 nia Exp $
+# $NetBSD: Makefile.common,v 1.7 2023/08/29 09:48:46 nia Exp $
 # used by lang/gcc10-libjit/Makefile
 
 GCC_PKGNAME=           gcc10
@@ -125,6 +125,11 @@ CONFIGURE_ARGS+=   --with-gnu-as --with-as
 .  endif
 .endif
 
+.if ${OPSYS} == "Linux"
+# glibc limitations, needs at least -O1
+FORTIFY_SUPPORTED=     no
+.endif
+
 .if ${OS_VARIANT} == "SmartOS"
 SUBST_CLASSES+=                ccs
 SUBST_STAGE.ccs=       pre-configure

Index: pkgsrc/lang/gcc12/Makefile.common
diff -u pkgsrc/lang/gcc12/Makefile.common:1.5 pkgsrc/lang/gcc12/Makefile.common:1.6
--- pkgsrc/lang/gcc12/Makefile.common:1.5       Fri Aug 18 10:57:58 2023
+++ pkgsrc/lang/gcc12/Makefile.common   Tue Aug 29 09:48:46 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.5 2023/08/18 10:57:58 nia Exp $
+# $NetBSD: Makefile.common,v 1.6 2023/08/29 09:48:46 nia Exp $
 # used by lang/gcc12-libjit/Makefile
 
 GCC_PKGNAME=           gcc12
@@ -136,6 +136,11 @@ CONFIGURE_ARGS+=   --with-gnu-as --with-as
 .  endif
 .endif
 
+.if ${OPSYS} == "Linux"
+# glibc limitations, needs at least -O1
+FORTIFY_SUPPORTED=     no
+.endif
+
 .if ${OS_VARIANT} == "SmartOS"
 SUBST_CLASSES+=                ccs
 SUBST_STAGE.ccs=       pre-configure

Index: pkgsrc/lang/gcc13/Makefile.common
diff -u pkgsrc/lang/gcc13/Makefile.common:1.4 pkgsrc/lang/gcc13/Makefile.common:1.5
--- pkgsrc/lang/gcc13/Makefile.common:1.4       Fri Aug 18 10:57:58 2023
+++ pkgsrc/lang/gcc13/Makefile.common   Tue Aug 29 09:48:46 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.4 2023/08/18 10:57:58 nia Exp $
+# $NetBSD: Makefile.common,v 1.5 2023/08/29 09:48:46 nia Exp $
 # used by lang/gcc13-libjit/Makefile
 
 GCC_PKGNAME=           gcc13
@@ -136,6 +136,11 @@ CONFIGURE_ARGS+=   --with-gnu-as --with-as
 .  endif
 .endif
 
+.if ${OPSYS} == "Linux"
+# glibc limitations, needs at least -O1
+FORTIFY_SUPPORTED=     no
+.endif
+
 .if ${OS_VARIANT} == "SmartOS"
 SUBST_CLASSES+=                ccs
 SUBST_STAGE.ccs=       pre-configure

Index: pkgsrc/lang/gcc6/Makefile
diff -u pkgsrc/lang/gcc6/Makefile:1.43 pkgsrc/lang/gcc6/Makefile:1.44
--- pkgsrc/lang/gcc6/Makefile:1.43      Fri Aug 18 10:57:58 2023
+++ pkgsrc/lang/gcc6/Makefile   Tue Aug 29 09:48:47 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.43 2023/08/18 10:57:58 nia Exp $
+# $NetBSD: Makefile,v 1.44 2023/08/29 09:48:47 nia Exp $
 
 GCC_PKGNAME=           gcc6
 .include               "version.mk"
@@ -83,6 +83,11 @@ BOOT_LDFLAGS+=               ${LDFLAGS:M-Wl,-syslibro
 # GCC does not understand this option; remove it, or stage build will fail
 BUILDLINK_TRANSFORM+=  rm:-stdlib=libc++
 
+.if ${OPSYS} == "Linux"
+# glibc limitations, needs at least -O
+FORTIFY_SUPPORTED=     no
+.endif
+
 # Disable fixincludes on SmartOS, header changes result in broken includes
 # being generated, see https://github.com/joyent/pkgsrc-legacy/issues/270
 .if ${OS_VARIANT} == "SmartOS"

Index: pkgsrc/lang/gcc7/Makefile
diff -u pkgsrc/lang/gcc7/Makefile:1.49 pkgsrc/lang/gcc7/Makefile:1.50
--- pkgsrc/lang/gcc7/Makefile:1.49      Fri Aug 18 10:57:58 2023
+++ pkgsrc/lang/gcc7/Makefile   Tue Aug 29 09:48:47 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.49 2023/08/18 10:57:58 nia Exp $
+# $NetBSD: Makefile,v 1.50 2023/08/29 09:48:47 nia Exp $
 
 GCC_PKGNAME=           gcc7
 .include               "version.mk"
@@ -80,6 +80,11 @@ BOOT_LDFLAGS+=               ${LDFLAGS:M-Wl,-syslibro
 # GCC does not understand this option; remove it, or stage build will fail
 BUILDLINK_TRANSFORM+=  rm:-stdlib=libc++
 
+.if ${OPSYS} == "Linux"
+# glibc limitations, needs at least -O
+FORTIFY_SUPPORTED=     no
+.endif
+
 # Disable fixincludes on SmartOS, header changes result in broken includes
 # being generated, see https://github.com/joyent/pkgsrc-legacy/issues/270
 .if ${OS_VARIANT} == "SmartOS"

Index: pkgsrc/lang/gcc8/Makefile
diff -u pkgsrc/lang/gcc8/Makefile:1.40 pkgsrc/lang/gcc8/Makefile:1.41
--- pkgsrc/lang/gcc8/Makefile:1.40      Fri Aug 18 10:57:58 2023
+++ pkgsrc/lang/gcc8/Makefile   Tue Aug 29 09:48:47 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.40 2023/08/18 10:57:58 nia Exp $
+# $NetBSD: Makefile,v 1.41 2023/08/29 09:48:47 nia Exp $
 
 GCC_PKGNAME=           gcc8
 PKGREVISION=           1
@@ -71,6 +71,11 @@ BOOT_LDFLAGS+=               ${LDFLAGS:M-Wl,-syslibro
 # GCC does not understand this option; remove it, or stage build will fail
 BUILDLINK_TRANSFORM+=  rm:-stdlib=libc++
 
+.if ${OPSYS} == "Linux"
+# glibc limitations, needs at least -O
+FORTIFY_SUPPORTED=     no
+.endif
+
 # Disable fixincludes on SmartOS, header changes result in broken includes
 # being generated, see https://github.com/joyent/pkgsrc-legacy/issues/270
 .if ${OS_VARIANT} == "SmartOS"

Index: pkgsrc/lang/gcc9/Makefile
diff -u pkgsrc/lang/gcc9/Makefile:1.46 pkgsrc/lang/gcc9/Makefile:1.47
--- pkgsrc/lang/gcc9/Makefile:1.46      Fri Aug 18 10:57:58 2023
+++ pkgsrc/lang/gcc9/Makefile   Tue Aug 29 09:48:47 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.46 2023/08/18 10:57:58 nia Exp $
+# $NetBSD: Makefile,v 1.47 2023/08/29 09:48:47 nia Exp $
 
 GCC_PKGNAME=   gcc9
 PKGREVISION= 1
@@ -178,6 +178,11 @@ CONFIGURE_ARGS+=   --with-gnu-as --with-as
 .  endif
 .endif
 
+.if ${OPSYS} == "Linux"
+# glibc limitations, needs at least -O
+FORTIFY_SUPPORTED=     no
+.endif
+
 .if ${OS_VARIANT} == SmartOS
 SUBST_CLASSES+=                ccs
 SUBST_STAGE.ccs=       pre-configure



Home | Main Index | Thread Index | Old Index