./lang/gcc15, The GNU Compiler Collection (GCC) - 15.0 Release Series

[ Image CVSweb ] [ Image Homepage ] [ Image RSS ] [ Image Required by ]


Branch: CURRENT, Version: 15.3.0nb1, Package name: gcc15-15.3.0nb1, Maintainer: pkgsrc-users

The GNU Compiler Collection (GCC) includes front ends for C, C++, Objective-C,
Fortran, and Go.



Package options: gcc-c++, gcc-cobol, gcc-fortran, gcc-graphite, gcc-inplace-math, gcc-objc, gcc-objc++, nls

Master sites: (Expand)

Filesize: 98880.563 KB

Version history: (Expand)


CVS history: (Expand)


   2026-08-03 15:12:34 by Thomas Klausner | Files touched by this commit (98)
Log message:
mk: switch the default for PATCH_DIST_STRIP from -p0 to -p1

adapt packages that didn't set PATCH_DIST_STRIP to use -p0, and
remove the -p1 lines
   2026-07-22 21:28:27 by Havard Eidnes | Files touched by this commit (12)
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.
   2026-07-19 13:17:45 by Adam Ciarcinski | Files touched by this commit (84) | Package updated
Log message:
gcc15: updated to 15.3

15.3
This release is a bug-fix release, containing fixes for regressions in
GCC 15.2 relative to previous releases of GCC.

PkgSrc:
Allow building on Darwin/aarch64.
   2026-07-10 23:28:41 by Izumi Tsutsui | Files touched by this commit (4)
Log message:
gcc15: pull targhooks.cc change for NetBSD from prior gcc versions

Use default visibility for __stack_chk_fail_local() on NetBSD.
This fixes shared-library links with -fstack-protector-strong or
-fstack-protector-all on NetBSD/i386 again.

Note comments in NetBSD's gcc/targhooks.cc doesn't look correct:
 https://cvsweb.netbsd.org/bsdweb.cgi/src/external/gpl3/gcc/dist/gcc/targhooks.cc.diff?r1=1.1.1.2;r2=1.4
>        * This is a hack:
>        * It appears that our gas does not generate @PLT for hidden
>        * symbols. It could be that we need a newer version, or that
>        * this local function is handled differently on linux.

For 32-bit x86 PIC code, GCC emits a hidden reference to
__stack_chk_fail_local() rather than default_external_stack_protect_fail().
On NetBSD, GCC is configured with --disable-libssp and NetBSD's
__stack_chk_fail_local() is historically provided by libc as a public
symbol:
 https://cvsweb.netbsd.org/bsdweb.cgi/src/lib/libc/sys/Attic/stack_protector.c#rev1.3
so the hidden reference cannot be resolved even with the newer binutils.
(Mabye we should submit this change to GCC upstream?)

Bump PKGREVISION of gcc15 and gcc15-libs.
   2025-11-08 08:04:02 by matthew green | Files touched by this commit (10)
Log message:
port gcobol to netbsd amd64 and arm64.

also fix the arm64 port - it wasn't including LSE and had link issues.

define DL_LIBRARY "" on netbsd, we don't have -ldl.

avoid a weird "unused" isn't ignored warning on arm64.

tested with a simple hello.cob:

            IDENTIFICATION DIVISION.
            PROGRAM-ID. HELLO.
            PROCEDURE DIVISION.
              DISPLAY 'hello cobol world'.
            STOP RUN.

bump pkg revision.
   2025-08-09 17:53:11 by Thomas Klausner | Files touched by this commit (4) | Package updated
Log message:
gcc15*: update to 15.2.0

Bugfix release, > 100 bugs fixed.
   2025-08-04 04:48:25 by matthew green | Files touched by this commit (5)
Log message:
enable "gcc -m32" support on amd64.

this can probably be ported to many prior GCC versions.
   2025-07-17 07:37:09 by Thomas Klausner | Files touched by this commit (1)
Log message:
gcc15: needs C++14

otherwise you'll get:

../../gcc-15.1.0/gcc/gimple.cc:78:1: error: body of 'constexpr'
function 'constexpr size_t get_tail_padding_adjustment() [with G =
gimple; size_t = long unsigned int]' not a return-statement

Let's see if we need to force c++14