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

Port details

lang/gcc12-devel12.4.1.s20250702

GNU Compiler Collection 12

Maintainer
salvadore@FreeBSD.org
Packages
gcc12-devel 12.4.1.s20250702
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 (203)

Lorenzo Salvadore (salvadore) · 12.4.1.s20250702
lang/gcc12-devel: Update to 12.4.1.s20250702
c659b8f147
Lorenzo Salvadore (salvadore) · 12.4.1.s20250625
lang/gcc12-devel: Update to 12.4.1.s20250625
4429fc0896
Lorenzo Salvadore (salvadore) · 12.4.1.s20250618
lang/gcc12-devel: Update to 12.4.1.s20250618
44e3284a04
Lorenzo Salvadore (salvadore) · 12.4.1.s20250604
lang/gcc12-devel: Update to 12.4.1.s20250604
9e281cd386
Lorenzo Salvadore (salvadore) · 12.4.1.s20250528
lang/gcc12-devel: Update to 12.4.1.s20250528
d52840a201
Lorenzo Salvadore (salvadore) · 12.4.1.s20250521
lang/gcc12-devel: Update to 12.4.1.s20250521
bb4fbc871c
Lorenzo Salvadore (salvadore) · 12.4.1.s20250514
lang/gcc12-devel: Update to 12.4.1.s20250514
c2cf0f0e88
Lorenzo Salvadore (salvadore) · 12.4.1.s20250507
lang/gcc12-devel: Update to 12.4.1.s20250507
50b0d3bfd7
Lorenzo Salvadore (salvadore) · 12.4.1.s20250430
lang/gcc12-devel: Update to 12.4.1.s20250430
f2eb8d8c8e
Lorenzo Salvadore (salvadore) · 12.4.1.s20250417
lang/gcc12-devel: Add comment to existing patch

Add a comment to files/patch-libgcc_unwind.inc to remember when it will
get obsolete, i.e. once all supported FreeBSD releases include commit
22e564c74eb20e14bd93fd9fdde20e38a29cfcf1.

PR:		285711
ba5dcc4562
Lorenzo Salvadore (salvadore) · 12.4.1.s20250417
lang/gcc12-devel: Update to 12.4.1.s20250417
99736bee8b
Lorenzo Salvadore (salvadore) · 12.4.1.s20250410_1
lang/gcc12-devel: Fix SIGBUS depending on CPUTYPE

Compiling GCC with some CPUTYPE values (e.g. broadwell) result in
breaking some applications (e.g. math/octave, cad/freecad), sending a
SIGBUS.

The issue is due to GCC generating instructions that require variables
to be aligned in memory on certain CPUs. Our libthr does not have the
required alignment so these CPUs fail to execute these instructions.

The patch disables the generation of such instructions.

PR:		285711
Reported by:	cracauer
Tested by:	cracauer, jbo
56b828239c
Lorenzo Salvadore (salvadore) · 12.4.1.s20250410
lang/gcc12-devel: Update to 12.4.1.s20250410
a43c4f47c5
Lorenzo Salvadore (salvadore) · 12.4.1.s20250403
lang/gcc12-devel: Update to 12.4.1.s20250403
b1c4313329
Lorenzo Salvadore (salvadore) · 12.4.1.s20250327
lang/gcc12-devel: Update to 12.4.1.s20250327
d568d11e31
Lorenzo Salvadore (salvadore) · 12.4.1.s20250320
lang/gcc12-devel: Update to 12.4.1.s20250320
937a73f1f9
Lorenzo Salvadore (salvadore) · 12.4.1.s20250313
lang/gcc12-devel: Update to 12.4.1.s20250313
8b2df9d2d0
Baptiste Daroussin (bapt) · 12.4.1.s20250306
gcc*: properly define USE_LDCONFIG32 for multilib
13904d7107
Lorenzo Salvadore (salvadore) · 12.4.1.s20250306
lang/gcc12-devel: Update to 12.4.1.s20250306
a4ed84e5a8
Lorenzo Salvadore (salvadore) · 12.4.1.s20250227
lang/gcc12-devel: Update to 12.4.1.s20250227

Also fix linking with libisl.so depending on GRAPHITE option, which is
now implemented through options helpers.

Co-authored-by:	Gerald Pfeifer <gerald@FreeBSD.org>

PR:		276070
Reported by:	Ivan Rozhuk <rozhuk.im@gmail.com>
585209d361
Lorenzo Salvadore (salvadore) · 12.4.1.s20250220
lang/gcc12-devel: Update to 12.4.1.s20250220

Also remove recently added patch that fixed binaries compiled with the
-static option as it has been merged upstream with commit
23541b23deb5504c6d3c0a3e96a0858e10c3c627.

PR:         284441
75136e9b6b
Lorenzo Salvadore (salvadore) · 12.4.1.s20250213
lang/gcc12-devel: Update to 12.4.1.s20250213
90bd23b967
Lorenzo Salvadore (salvadore) · 12.4.1.s20250206
lang/gcc12-devel: Update to 12.4.1.s20250206
db7740764c
Lorenzo Salvadore (salvadore) · 12.4.1.s20250130
lang/gcc12-devel: Update to 12.4.1.s20250130
a8d80884a4
Lorenzo Salvadore (salvadore) · 12.4.1.s20250123_1
lang/gcc12-devel: Fix segfaults for static binaries

Fix segmentation faults caused by -static flag into compiled binaries.

Email thread: https://lists.freebsd.org/archives/freebsd-hackers/2025-January/004236.html
Upstream bug report: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118685

PR:		284441
Reported by:	kargl
168cb3d94f
Lorenzo Salvadore (salvadore) · 12.4.1.s20250123
lang/gcc12-devel: Update to 12.4.1.s20250123
ba7efd1ac4
Lorenzo Salvadore (salvadore) · 12.4.1.s20250116
lang/gcc12-devel: Update to 12.4.1.s20250116
486b4f3696
Lorenzo Salvadore (salvadore) · 12.4.1.s20241226
lang/gcc12-devel: Update to 12.4.1.s20241226
300ad7b092
Lorenzo Salvadore (salvadore) · 12.4.1.s20241219
lang/gcc12-devel: Update to 12.4.1.s20241219
d9383ca52b
Lorenzo Salvadore (salvadore) · 12.4.1.s20241212
lang/gcc12-devel: Update to 12.4.1.s20241212
5ff26a405f
Lorenzo Salvadore (salvadore) · 12.4.1.s20241128
lang/gcc12-devel: Update to 12.4.1.s20241128
cd33564f9c
Lorenzo Salvadore (salvadore) · 12.4.1.s20241121
lang/gcc12-devel: Update to 12.4.1.s20241121
6b1a8f41a9
Lorenzo Salvadore (salvadore) · 12.4.1.s20241107
lang/gcc12-devel: Update to 12.4.1.s20241107
df1bbf6fb6
Kyle Evans (kevans) · 12.4.1.s20241010
lang/gcc*: disable building of libssp

For today's FreeBSD 14 and earlier, libssp is a nop because nothing on
FreeBSD will be referencing these headers or lib.  On FreeBSD 15, it
actively breaks building with FORTIFY_SOURCE enabled and it's not worth
trying to make it work- the potential for GCC improvements comes from
the __builtin_object_size enhancement, not from these headers.

PR:		280265
Approved by:	salvadore (maintainer)
17024a6f82
Lorenzo Salvadore (salvadore) · 12.4.1.s20241010
lang/gcc12-devel: Update to 12.4.1.s20241010
d94bfc6c4f
Lorenzo Salvadore (salvadore) · 12.4.1.s20241003
lang/gcc12-devel: Update to 12.4.1.s20241003
9b91f92c4a
Lorenzo Salvadore (salvadore) · 12.4.1.s20240919
lang/gcc12-devel: Update to 12.4.1.s20240919
62f87b75c4
Lorenzo Salvadore (salvadore) · 12.4.1.s20240829
lang/gcc12-devel: Update to 12.4.1.s20240829
c40e47d272
Lorenzo Salvadore (salvadore) · 12.4.1.s20240718
lang/gcc12-devel: Update to 12.4.1.s20240718
01ca1c8374
Lorenzo Salvadore (salvadore) · 12.4.1.s20240711
lang/gcc12-devel: Update to 12.4.1.s20240711
e6dedbc814
Lorenzo Salvadore (salvadore) · 12.4.1.s20240704
lang/gcc12-devel: Update to 12.4.1.s20240704
1db5448f99
Lorenzo Salvadore (salvadore) · 12.4.1.s20240620
lang/gcc12-devel: Update to 12.4.1.s20240620
b0c3201d7e
Lorenzo Salvadore (salvadore) · 12.3.1.s20240613
lang/gcc12-devel: Update to 12.3.1.s20240613

Also delete obsolete patches, upstreamed in upstream commits
a995fded34fe488153b06bb41e026277f01efded and
8f11ed1c58e14421ba4be1652764fc47fdce8dc7.
4c11c4976c
Lorenzo Salvadore (salvadore) · 12.3.1.s20240606
lang/gcc12-devel: Update to 12.3.1.s20240606
31034f47c5
Lorenzo Salvadore (salvadore) · 12.3.1.s20240516
lang/gcc12-devel: Update to 12.3.1.s20240516
57b526d8c8
Lorenzo Salvadore (salvadore) · 12.3.1.s20240502
lang/gcc12-devel: Update to 12.3.1.s20240502
ac9e42c053
Lorenzo Salvadore (salvadore) · 12.3.1.s20240419
lang/gcc12-devel: Update to 12.3.1.s20240419
7390430877
Lorenzo Salvadore (salvadore) · 12.3.1.s20240412
lang/gcc12-devel: Update to 12.3.1.s20240412
58ced45783
Lorenzo Salvadore (salvadore) · 12.3.1.s20240405
lang/gcc12-devel: Update to 12.3.1.s20240405
1cddca5fe6
Lorenzo Salvadore (salvadore) · 12.3.1.s20240329
lang/gcc12-devel: Update to 12.3.1.s20240329
c1f918e072