diff options
Diffstat (limited to 'lang/gcc15')
-rw-r--r-- | lang/gcc15/Makefile | 15 | ||||
-rw-r--r-- | lang/gcc15/distinfo | 6 | ||||
-rw-r--r-- | lang/gcc15/files/patch-libgcc_unwind-dw2-fde-dip.c | 23 | ||||
-rw-r--r-- | lang/gcc15/pkg-help | 5 |
4 files changed, 36 insertions, 13 deletions
diff --git a/lang/gcc15/Makefile b/lang/gcc15/Makefile index c9444e5e22e8..d4e52f6d3815 100644 --- a/lang/gcc15/Makefile +++ b/lang/gcc15/Makefile @@ -1,5 +1,6 @@ PORTNAME= gcc -PORTVERSION= 15.1.0 +PORTVERSION= 15.2.0 +PORTREVISION= 1 CATEGORIES= lang MASTER_SITES= GCC PKGNAMESUFFIX= ${SUFFIX} @@ -77,17 +78,13 @@ CONFIGURE_TARGET= x86_64-portbld-${OPSYS:tl}${OSREL} .elif ${ARCH} == powerpc64 CONFIGURE_ARGS+= --with-abi=elfv2 -USE_GCC= yes - -.elif ${ARCH} == powerpc64le -USE_GCC= yes .endif -.if ${ARCH} == i386 -LANGUAGES:= c,c++,objc,fortran -.else -LANGUAGES:= c,c++,objc,fortran,jit +LANGUAGES= c,c++,objc,fortran +.if ${ARCH} != i386 && !empty(PORT_OPTIONS:M*BOOTSTRAP) +LANGUAGES:= ${LANGUAGES},jit .endif + TARGLIB= ${PREFIX}/lib/gcc${SUFFIX} TARGLIB32= ${PREFIX}/lib32 # The version information is added later LIBEXEC= ${PREFIX}/libexec/gcc${SUFFIX} diff --git a/lang/gcc15/distinfo b/lang/gcc15/distinfo index 3b6b15e9e125..166f2aeba16f 100644 --- a/lang/gcc15/distinfo +++ b/lang/gcc15/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1745940383 -SHA256 (gcc-15.1.0.tar.xz) = e2b09ec21660f01fecffb715e0120265216943f038d0e48a9868713e54f06cea -SIZE (gcc-15.1.0.tar.xz) = 98268344 +TIMESTAMP = 1755075794 +SHA256 (gcc-15.2.0.tar.xz) = 438fd996826b0c82485a29da03a72d71d6e3541a83ec702df4271f6fe025d24e +SIZE (gcc-15.2.0.tar.xz) = 101056276 diff --git a/lang/gcc15/files/patch-libgcc_unwind-dw2-fde-dip.c b/lang/gcc15/files/patch-libgcc_unwind-dw2-fde-dip.c new file mode 100644 index 000000000000..66452b37de0f --- /dev/null +++ b/lang/gcc15/files/patch-libgcc_unwind-dw2-fde-dip.c @@ -0,0 +1,23 @@ +FreeBSD defines ElfW(x) to translate Linux's convention to FreeBSD's convention. +GCC defines ElfW to convert its convention to FreeBSD's convention. This patch +removes the conversion defined by GCC so that the FreeBSD conversion only is +applied. + +--- libgcc/unwind-dw2-fde-dip.c.orig 2025-05-16 15:47:38 UTC ++++ libgcc/unwind-dw2-fde-dip.c +@@ -59,13 +59,13 @@ + + #if !defined(inhibit_libc) && defined(HAVE_LD_EH_FRAME_HDR) \ + && defined(TARGET_DL_ITERATE_PHDR) \ +- && defined(__linux__) ++ && (defined(__linux__) || defined(__FreeBSD__)) + # define USE_PT_GNU_EH_FRAME + #endif + + #if !defined(inhibit_libc) && defined(HAVE_LD_EH_FRAME_HDR) \ + && defined(TARGET_DL_ITERATE_PHDR) \ +- && (defined(__DragonFly__) || defined(__FreeBSD__)) ++ && defined(__DragonFly__) + # define ElfW __ElfN + # define USE_PT_GNU_EH_FRAME + #endif diff --git a/lang/gcc15/pkg-help b/lang/gcc15/pkg-help index 9030bbb28d3f..632e1c65f816 100644 --- a/lang/gcc15/pkg-help +++ b/lang/gcc15/pkg-help @@ -1,3 +1,6 @@ Building this port with LTO_BOOTSTRAP enabled requires significant amounts of memory and time. Consider disabling LTO_BOOTSTRAP in favor of STANDARD_BOOTSTRAP -(or disabling BOOTSTRAP altogether) in case that is a problem. +in case that is a problem. + +Note that disabling bootstrap altogether is possible, but not recommended: some +features (e.g. jit) requires you to choose a bootstrap option to be enabled. |