pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/gcc13



Module Name:    pkgsrc
Committed By:   adam
Date:           Fri Jun  7 10:28:55 UTC 2024

Modified Files:
        pkgsrc/lang/gcc13: Makefile Makefile.common distinfo version.mk
        pkgsrc/lang/gcc13/patches: patch-libstdc++-v3_libsupc++_new__opa.cc

Log Message:
gcc13: updated to 13.3.0

GCC 13

Caveats

OpenMP offloading to Intel MIC has been removed.
The support for the cr16-elf, tilegx*-linux, tilepro*-linux, hppa[12]*-*-hpux10*, hppa[12]*-*-hpux11* and m32c-rtems configurations has been removed.
Support for Solaris 11.3 (*-*-solaris2.11.3) has been declared obsolete. The next release of GCC will have corresponding code permanently removed. Details can be found in the announcement.
Support for emitting the STABS debugging format (including the -gstabs and -gxcoff options) has been removed. (This means the dbx debugger is no longer supported, either.)
Legacy debug info compression option -gz=zlib-gnu was removed and the option is ignored right now.
-Warray-bounds=2 will no longer issue warnings for out of bounds accesses to trailing struct members of one-element array type anymore. Instead it diagnoses accesses to trailing arrays according to 
-fstrict-flex-arrays.
-fanalyzer is still only suitable for analyzing C code. In particular, using it on C++ is unlikely to give meaningful output.
In the arm port, support for the iWMMXt extensions, enabled through -mcpu=iwmmxt, has been deprecated and will be removed in a future release. This includes support for the iWMMXt built-in functions.
For C++, construction of the global iostream objects std::cout, std::cin, etc. is now done inside the standard library, instead of in every source file that includes the <iostream> header. This 
change improves the start-up performance of C++ programs, but it means that code compiled with GCC 13.1 will crash if the correct version of libstdc++.so is not used at run time. See the 
documentation about using the right libstdc++.so at run time. Future GCC releases will mitigate the problem so that the program cannot be run at all with an older libstdc++.so.

Read more: https://gcc.gnu.org/gcc-13/changes.html


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/lang/gcc13/Makefile \
    pkgsrc/lang/gcc13/distinfo pkgsrc/lang/gcc13/version.mk
cvs rdiff -u -r1.6 -r1.7 pkgsrc/lang/gcc13/Makefile.common
cvs rdiff -u -r1.1 -r1.2 \
    pkgsrc/lang/gcc13/patches/patch-libstdc++-v3_libsupc++_new__opa.cc

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

Modified files:

Index: pkgsrc/lang/gcc13/Makefile
diff -u pkgsrc/lang/gcc13/Makefile:1.2 pkgsrc/lang/gcc13/Makefile:1.3
--- pkgsrc/lang/gcc13/Makefile:1.2      Sat Jun  3 13:22:04 2023
+++ pkgsrc/lang/gcc13/Makefile  Fri Jun  7 10:28:55 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2023/06/03 13:22:04 riastradh Exp $
+# $NetBSD: Makefile,v 1.3 2024/06/07 10:28:55 adam Exp $
 
 PKGNAME=       ${GCC_PKGNAME}-${GCC13_DIST_VERSION}
 ## When bumping the PKGREVISION of this package the PKGREVISION of
@@ -6,7 +6,7 @@ PKGNAME=        ${GCC_PKGNAME}-${GCC13_DIST_VER
 ## PKGREVISION of this package!
 COMMENT=       The GNU Compiler Collection (GCC) - 13.0 Release Series
 
-LANGS=                 c
+LANGS=         c
 
 .include "Makefile.common"
 
Index: pkgsrc/lang/gcc13/distinfo
diff -u pkgsrc/lang/gcc13/distinfo:1.2 pkgsrc/lang/gcc13/distinfo:1.3
--- pkgsrc/lang/gcc13/distinfo:1.2      Fri Aug 25 18:55:33 2023
+++ pkgsrc/lang/gcc13/distinfo  Fri Jun  7 10:28:55 2024
@@ -1,8 +1,11 @@
-$NetBSD: distinfo,v 1.2 2023/08/25 18:55:33 wiz Exp $
+$NetBSD: distinfo,v 1.3 2024/06/07 10:28:55 adam Exp $
 
-BLAKE2s (gcc-13.2.0.tar.xz) = 89847ac474d00cde32fbcae20154f8aedff9c66158faf95ad7a78cc9a190d4c4
-SHA512 (gcc-13.2.0.tar.xz) = d99e4826a70db04504467e349e9fbaedaa5870766cda7c5cab50cdebedc4be755ebca5b789e1232a34a20be1a0b60097de9280efe47bdb71c73251e30b0862a2
-Size (gcc-13.2.0.tar.xz) = 87858592 bytes
+BLAKE2s (gcc-13.3.0.diff) = 9b002a64761cf2f2a6a9a8c8decff8408380c0fe94c2d3013e4d84299bacf814
+SHA512 (gcc-13.3.0.diff) = 6165b6201f4ef94ee254ea40410911f5e5e1a05d80d4da2fce90b3db94000c3d5c5a28c9a4ad1a43387faae68d94fbef8e4d24e1ff049b9c0014c00f6f50757b
+Size (gcc-13.3.0.diff) = 570896 bytes
+BLAKE2s (gcc-13.3.0.tar.xz) = d204b8987b4780b569f28226cbfff34ae27124e529857c36ff90d5d40ef0b511
+SHA512 (gcc-13.3.0.tar.xz) = ed5f2f4c6ed2c796fcf2c93707159e9dbd3ddb1ba063d549804dd68cdabbb6d550985ae1c8465ae9a336cfe29274a6eb0f42e21924360574ebd8e5d5c7c9a801
+Size (gcc-13.3.0.tar.xz) = 87909952 bytes
 BLAKE2s (isl-0.24.tar.xz) = a3013b0d39b7fe68a1b3e15dc7e925b347d555348ee946a80f5319a76973cd61
 SHA512 (isl-0.24.tar.xz) = ff6bdcff839e1cd473f2a0c1e4dd4a3612ec6fee4544ccbc62b530a7248db2cf93b4b99bf493a86ddf2aba00e768927265d5d411f92061ea85fd7929073428e8
 Size (isl-0.24.tar.xz) = 1930956 bytes
@@ -25,4 +28,4 @@ SHA1 (patch-libgcc_crtstuff.c) = a16d465
 SHA1 (patch-libgfortran_io_io.h) = d44676239a7f45e42054d24bd5224f43c20055c0
 SHA1 (patch-libquadmath_printf_quadmath-printf.c) = 78e09f1e6d61ee57cee83275093cf46b2335d204
 SHA1 (patch-libquadmath_strtod_strtod__l.c) = 6142c10d34174174cce7f06c37eab04dc431b2dc
-SHA1 (patch-libstdc++-v3_libsupc++_new__opa.cc) = 4183b00a5ee6e61524da4755c825a0c08fd01ed6
+SHA1 (patch-libstdc++-v3_libsupc++_new__opa.cc) = 891ec8488516592ea2065509b7310c55d7a367ad
Index: pkgsrc/lang/gcc13/version.mk
diff -u pkgsrc/lang/gcc13/version.mk:1.2 pkgsrc/lang/gcc13/version.mk:1.3
--- pkgsrc/lang/gcc13/version.mk:1.2    Fri Aug 25 18:55:33 2023
+++ pkgsrc/lang/gcc13/version.mk        Fri Jun  7 10:28:55 2024
@@ -1,3 +1,3 @@
-# $NetBSD: version.mk,v 1.2 2023/08/25 18:55:33 wiz Exp $
+# $NetBSD: version.mk,v 1.3 2024/06/07 10:28:55 adam Exp $
 
-GCC13_DIST_VERSION:=   13.2.0
+GCC13_DIST_VERSION:=   13.3.0

Index: pkgsrc/lang/gcc13/Makefile.common
diff -u pkgsrc/lang/gcc13/Makefile.common:1.6 pkgsrc/lang/gcc13/Makefile.common:1.7
--- pkgsrc/lang/gcc13/Makefile.common:1.6       Wed Apr 24 10:56:06 2024
+++ pkgsrc/lang/gcc13/Makefile.common   Fri Jun  7 10:28:55 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.6 2024/04/24 10:56:06 jperkin Exp $
+# $NetBSD: Makefile.common,v 1.7 2024/06/07 10:28:55 adam Exp $
 # used by lang/gcc13-libjit/Makefile
 
 GCC_PKGNAME=           gcc13
@@ -23,7 +23,6 @@ DISTINFO_FILE=                ${.CURDIR}/../../lang/gc
 MKPIE_SUPPORTED=       no
 CHECK_RELRO_SKIP+=     ${GCC_PKGNAME}/lib/*
 
-NOT_FOR_PLATFORM+=     Darwin-*-aarch64
 NOT_FOR_PLATFORM+=     Interix-*-*
 
 USE_LANGUAGES=         c c++
@@ -56,13 +55,13 @@ CHECK_PORTABILITY_SKIP+=    gcc/configure.o
 
 .include "options.mk"
 
-#.if ${MACHINE_PLATFORM:MDarwin-*-aarch64}
-#BUILDLINK_TRANSFORM+= rm:-nodefaultrpaths
-#CONFIGURE_ARGS+=      --disable-darwin-at-rpath
-#PATCHFILES=           gcc-13.2.0-arm.diff
-#PATCH_SITES=          https://raw.githubusercontent.com/Homebrew/formula-patches/1d184289/gcc/
-#PATCH_DIST_STRIP=     -p1
-#.endif
+.if ${MACHINE_PLATFORM:MDarwin-*-aarch64}
+BUILDLINK_TRANSFORM+=  rm:-nodefaultrpaths
+CONFIGURE_ARGS+=       --disable-darwin-at-rpath
+PATCHFILES=            gcc-13.3.0.diff
+PATCH_SITES=           https://raw.githubusercontent.com/Homebrew/formula-patches/bda0fad/gcc/
+PATCH_DIST_STRIP=      -p1
+.endif
 
 ## For graphite support.
 .if !empty(PKG_OPTIONS:Mgcc-graphite)

Index: pkgsrc/lang/gcc13/patches/patch-libstdc++-v3_libsupc++_new__opa.cc
diff -u pkgsrc/lang/gcc13/patches/patch-libstdc++-v3_libsupc++_new__opa.cc:1.1 pkgsrc/lang/gcc13/patches/patch-libstdc++-v3_libsupc++_new__opa.cc:1.2
--- pkgsrc/lang/gcc13/patches/patch-libstdc++-v3_libsupc++_new__opa.cc:1.1      Wed May  3 20:03:09 2023
+++ pkgsrc/lang/gcc13/patches/patch-libstdc++-v3_libsupc++_new__opa.cc  Fri Jun  7 10:28:55 2024
@@ -1,10 +1,10 @@
-$NetBSD: patch-libstdc++-v3_libsupc++_new__opa.cc,v 1.1 2023/05/03 20:03:09 wiz Exp $
+$NetBSD: patch-libstdc++-v3_libsupc++_new__opa.cc,v 1.2 2024/06/07 10:28:55 adam Exp $
 
 Ensure we can find SunOS std::aligned_alloc if using it.
 
---- libstdc++-v3/libsupc++/new_opa.cc.orig     2020-03-04 08:30:03.000000000 +0000
+--- libstdc++-v3/libsupc++/new_opa.cc.orig     2024-05-21 07:47:42.000000000 +0000
 +++ libstdc++-v3/libsupc++/new_opa.cc
-@@ -57,6 +57,10 @@ extern "C"
+@@ -62,6 +62,10 @@ extern "C"
  }
  #endif
  
@@ -13,5 +13,5 @@ Ensure we can find SunOS std::aligned_al
 +#endif
 +
  namespace __gnu_cxx {
- #if _GLIBCXX_HAVE_ALIGNED_ALLOC
- using ::aligned_alloc;
+ // Prefer posix_memalign if available, because it's older than aligned_alloc
+ // and so more likely to be provided by replacement malloc libraries that



Home | Main Index | Thread Index | Old Index