CVE and update status of the FreeBSD ports tree4,526 unaddressed CVEs in 616 portsAll times are CET

Port details

lang/gcc15-devel15.3.1.s20261002

GNU Compiler Collection 15

Maintainer
salvadore@FreeBSD.org
Packages
gcc15-devel 15.3.1.s20261002
Upstream
Higher version available: 16.2.0
CPE
gnu:gcc from the port
WWW
https://gcc.gnu.org
Links
cgit · VuXML

Unaddressed (1) · The CVE record lists this version as affected, no VuXML entry names the CVE

CVE-2023-40394.82023-09-13**DISPUTED**A failure in the -fstack-protector feature in GCC-based toolchains that target AArch64 allows an attacker to exploit an existing buffer overflow in dynamic…

VuXML only (0) · listed, port not fixed yet

None. pkg audit reports nothing for this version.

Fixed (0)

No VuXML entries for this package.

Commits (106)

Lorenzo Salvadore (salvadore) · 15.3.1.s20261002
lang/gcc15-devel: Update to 15.3.1.s20261002
0f0200bd74
Dimitry Andric (dim) · 15.3.1.s20260814
lang/gcc15-devel: fix build after base d08296c7ab0d

After base d08296c7ab0d7bb259bf7b8cdf9ffb819c1929ab ("libc: Implement
qualifier-preserving standard library functions"), lang/gcc15-devel
fails to build with an error like:

  In file included from /wrkdirs/usr/ports/lang/gcc15-devel/work/.build/gcc/include-fixed/stdio.h:52,
                   from cp-demangle.c:109:
  /wrkdirs/usr/ports/lang/gcc15-devel/work/gcc-15-20260724/libstdc++-v3/../include/libiberty.h:225:14: error: expected identifier or '(' before '_Generic'
    225 | extern void *memrchr(const void *, int, size_t);
        |              ^~~~~~~

This is because memrchr is now a macro, similar to the other functions
in <string.h>, and libiberty.h attempts to incorrectly redeclare it.

In turn, cp-demangle.c includes libiberty.h, but does not include the
config.h generated for libiberty.h, instead using the config.h generated
for libstdc++.

The problem is really with the way upstream creates its config.h
headers: they should either make libiberty.h automatically include its
own config.h file, or rename that one to libiberty-config.h, so it can
be included at the same time as the libstdc++ config.h header.

The easiest way to fix it is to add a '!defined(__FreeBSD__)'
conditional to the #if statement that attempts to declare the
incompatible memrchr.

PR:		297627
Approved by:	salvadore (maintainer)
MFH:		2026Q3
da442d3a3e
Lorenzo Salvadore (salvadore) · 15.3.1.s20260814
lang/gcc15-devel: Update to 15.3.1.s20260814
d75529f0e7
Lorenzo Salvadore (salvadore) · 15.3.1.s20260724
lang/gcc15-devel: Update to 15.3.1.s20260724
37b0a65d68
Lorenzo Salvadore (salvadore) · 15.3.1.s20260717
lang/gcc15-devel: Update to 15.3.1.s20260717
e0df9f2cb4
Lorenzo Salvadore (salvadore) · 15.3.1.s20260710
lang/gcc15-devel: Update to 15.3.1.s20260710
cafe2fd06a
Lorenzo Salvadore (salvadore) · 15.3.1.s20260703
lang/gcc15-devel: Update to 15.3.1.s20260703
2f3c5868cb
Lorenzo Salvadore (salvadore) · 15.3.1.s20260626
lang/gcc15-devel: Update to 15.3.1.s20260626
f0e600d053
Lorenzo Salvadore (salvadore) · 15.3.1.s20260619
lang/gcc15-devel: Update to 15.3.1.s20260619

Also fix PR 296110.

PR:		296110
Reported by:	Robert Cina <transitive@gmail.com>
094f94e3ed
Lorenzo Salvadore (salvadore) · 15.2.1.s20260612
lang/gcc15-devel: Update to 15.2.1.s20260612
3ce952613e
Lorenzo Salvadore (salvadore) · 15.2.1.s20260529
lang/gcc15-devel: Update to 15.2.1.s20260529
e9dbe9243a
Lorenzo Salvadore (salvadore) · 15.2.1.s20260522
lang/gcc15-devel: Update to 15.2.1.s20260522
cd49ad3965
Lorenzo Salvadore (salvadore) · 15.2.1.s20260515
lang/gcc15-devel: Update to 15.2.1.s20260515
e4af784a30
Lorenzo Salvadore (salvadore) · 15.2.1.s20260508
lang/gcc15-devel: Update to 15.2.1.s20260508
ad1e4fcbdf
Lorenzo Salvadore (salvadore) · 15.2.1.s20260501
lang/gcc15-devel: Update to 15.2.1.s20260501
793d947dd5
Lorenzo Salvadore (salvadore) · 15.2.1.s20260424
lang/gcc15-devel: Update to 15.2.1.s20260424
590a1f6e82
Lorenzo Salvadore (salvadore) · 15.2.1.s20260418
lang/gcc15-devel: Update to 15.2.1.s20260418
bed9094572
Lorenzo Salvadore (salvadore) · 15.2.1.s20260411
lang/gcc15-devel: Update to 15.2.1.s20260411
d70cbc8550
Lorenzo Salvadore (salvadore) · 15.2.1.s20260404
lang/gcc15-devel: Update to 15.2.1.s20260404
3ea0f5a909
Lorenzo Salvadore (salvadore) · 15.2.1.s20260328
lang/gcc15-devel: Update to 15.2.1.s20260328
3ad65b666a
Lorenzo Salvadore (salvadore) · 15.2.1.s20260321
lang/gcc15-devel: Update to 15.2.1.s20260321
7d652a80de
Lorenzo Salvadore (salvadore) · 15.2.1.s20260314
lang/gcc15-devel: Update to 15.2.1.s20260314
fcca964ccb
Lorenzo Salvadore (salvadore) · 15.2.1.s20260307
lang/gcc15-devel: Update to 15.2.1.s20260307
8cd15467c2
Lorenzo Salvadore (salvadore) · 15.2.1.s20260228
lang/gcc15-devel: Update to 15.2.1.s20260228
8aa59cc0a7
Lorenzo Salvadore (salvadore) · 15.2.1.s20260221
lang/gcc15-devel: Update to 15.2.1.s20260221
07c8e50482
Lorenzo Salvadore (salvadore) · 15.2.1.s20260214
lang/gcc15-devel: Update to 15.2.1.s20260214
493a7ce7a7
Lorenzo Salvadore (salvadore) · 15.2.1.s20260207
lang/gcc15-devel: Update to 15.2.1.s20260207
0a8e7e0e31
Lorenzo Salvadore (salvadore) · 15.2.1.s20260131
lang/gcc15-devel: Update to 15.2.1.s20260131
607b376c5e
Lorenzo Salvadore (salvadore) · 15.2.1.s20260124
lang/gcc15-devel: Update to 15.2.1.s20260124
078827defa
Lorenzo Salvadore (salvadore) · 15.2.1.s20260117
lang/gcc15-devel: Update to 15.2.1.s20260117
cfa3e0f288
Lorenzo Salvadore (salvadore) · 15.2.1.s20260110
lang/gcc15-devel: Update to 15.2.1.s20260110
6b377865fd
Lorenzo Salvadore (salvadore) · 15.2.1.s20260103
lang/gcc15-devel: Update to 15.2.1.s20260103
2db19674ca
Lorenzo Salvadore (salvadore) · 15.2.1.s20251220
lang/gcc15-devel: Update to 15.2.1.s20251220
f2debf51bd
Lorenzo Salvadore (salvadore) · 15.2.1.s20251213
lang/gcc15-devel: Update to 15.2.1.s20251213
eeffd8a510
Lorenzo Salvadore (salvadore) · 15.2.1.s20251206
lang/gcc15-devel: Update to 15.2.1.s20251206
d37e37dc0a
Lorenzo Salvadore (salvadore) · 15.2.1.s20251129
lang/gcc15-devel: Update to 15.2.1.s20251129
e406d41e0b
Lorenzo Salvadore (salvadore) · 15.2.1.s20251122
lang/gcc15-devel: Update to 15.2.1.s20251122
955fecf406
Lorenzo Salvadore (salvadore) · 15.2.1.s20251115
lang/gcc15-devel: Update to 15.2.1.s20251115
ac65ac3a50
Lorenzo Salvadore (salvadore) · 15.2.1.s20251108
lang/gcc15-devel: Update to 15.2.1.s20251108
21aefeaa28
Lorenzo Salvadore (salvadore) · 15.2.1.s20251101
lang/gcc15-devel: Update to 15.2.1.s20251101
993422cfae
Lorenzo Salvadore (salvadore) · 15.2.1.s20251025
lang/gcc15-devel: Update to 15.2.1.s20251025
8ec65cf4dd
Lorenzo Salvadore (salvadore) · 15.2.1.s20251018
lang/gcc15-devel: Update to 15.2.1.s20251018
12c00b9f86
Lorenzo Salvadore (salvadore) · 15.2.1.s20251011
lang/gcc15-devel: Update to 15.2.1.s20251011
ba142ce99c
Lorenzo Salvadore (salvadore) · 15.2.1.s20251004
lang/gcc15-devel: Update to 15.2.1.s20251004
321d058c2c
Lorenzo Salvadore (salvadore) · 15.2.1.s20250927
lang/gcc15-devel: Update to 15.2.1.s20250927
2faa6cc2ba
Lorenzo Salvadore (salvadore) · 15.2.1.s20250920
lang/gcc15-devel: Update to 15.2.1.s20250920
9b13232fbb
Lorenzo Salvadore (salvadore) · 15.2.1.s20250913
lang/gcc15-devel: Update to 15.2.1.s20250913
b31b8f3669
Lorenzo Salvadore (salvadore) · 15.2.1.s20250906
lang/gcc15-devel: Update to 15.2.1.s20250906
6ad802415a
Lorenzo Salvadore (salvadore) · 15.2.1.s20250830
lang/gcc15-devel: Update to 15.2.1.s20250830
5f01059cd9
Lorenzo Salvadore (salvadore) · 15.2.1.s20250823_1
lang/gcc15-devel: Allow build without bootstrap

Enabling a boostrap option was experimentally enforced on some GCC
devel ports, as building GCC on FreeBSD with FreeBSD's default compiler
(clang) is not fully supported. Stop enforcing it: many users of
production ports actually disable both bootstrap options, so it makes
sense to attempt to keep allowing no-bootstrap builds.

However, since building jit without bootstrap does not work, we add jit
to the enabled languages only if a bootstrap option has been selected [1].

See commit 5ee63cc45413954077b2b0c0546b8342585b41ba and e-mail
https://lists.freebsd.org/archives/dev-commits-ports-main/2025-August/160223.html
for more details.

Reported by:	vishwin [1]
441e5aba35