Name
gcc
Version
16.2.0
Type
library
Description
GNU cc and gcc C compilers
Licenses
GPL-2.0-or-later AND GPL-3.0-or-later AND LGPL-2.1-or-later AND GPL-3.0-or-later WITH GCC-exception-3.1 AND LGPL-3.0-or-later
PURL
-
CPE
cpe:2.3:*:gnu:gcc:16.2.0:*:*:*:*:*:*:*

Other Versions#


Project
Branch
Version
kirkstone
11.5.0
scarthgap
13.4.0

Patches#


#
Title
Author
Resolve
1
gcc: armv4: pass fix-v4bx to linker to support EABI.
Khem Raj <raj.khem@gmail.com>
2
Avoid hardcoded build paths into ppc libgcc
Richard Purdie <richard.purdie@linuxfoundation.org>
3
Fix install path of linux64.h
Andrei Gherzan <andrei.gherzan@huawei.com>
4
gcc: poison-system-directories
Khem Raj <raj.khem@gmail.com>
5
Search target sysroot gcc version specific dirs with
Khem Raj <raj.khem@gmail.com>
6
Re-introduce spe commandline options
Khem Raj <raj.khem@gmail.com>
7
gcc/testsuite/g++/bad-mapper-3.C: localhost might not be
Ross Burton <ross.burton@arm.com>
8
Ensure target gcc headers can be included
Khem Raj <raj.khem@gmail.com>
9
handle sysroot support for nativesdk-gcc
Khem Raj <raj.khem@gmail.com>
10
aarch64: Fix include paths when S != B
Khem Raj <raj.khem@gmail.com>
11
gcc-4.3.1: ARCH_FLAGS_FOR_TARGET
Khem Raj <raj.khem@gmail.com>
12
cpp: honor sysroot.
Khem Raj <raj.khem@gmail.com>
13
Pass CXXFLAGS_FOR_BUILD in a couple of places to avoid these
Richard Purdie <richard.purdie@linuxfoundation.org>
14
libgcc_s: Use alias for __cpu_indicator_init instead of
Szabolcs Nagy <nsz@port70.net>
15
gentypes/genmodes: Do not use __LINE__ for maintaining
Richard Purdie <richard.purdie@linuxfoundation.org>
16
Define GLIBC_DYNAMIC_LINKER and UCLIBC_DYNAMIC_LINKER
Khem Raj <raj.khem@gmail.com>
17
Use the defaults.h in ${B} instead of ${S}, and t-oe in ${B}
Khem Raj <raj.khem@gmail.com>
18
libcc1: fix libcc1's install path and rpath
Robert Yang <liezhi.yang@windriver.com>
19
libatomic: Do not enforce march on aarch64
Khem Raj <raj.khem@gmail.com>
20
Avoid using libdir from .la which usually points to a host
Khem Raj <raj.khem@gmail.com>
21
Add ssp_nonshared to link commandline for musl targets
Khem Raj <raj.khem@gmail.com>
22
gcc testsuite tweaks for mips/OE
Richard Purdie <richard.purdie@linuxfoundation.org>
23
Use the multilib config files from ${B} instead of using the
Khem Raj <raj.khem@gmail.com>
24
64-bit multilib hack
Khem Raj <raj.khem@gmail.com>
25
libtool
Khem Raj <raj.khem@gmail.com>
26
Don't search host directory during "relink" if $inst_prefix
Khem Raj <raj.khem@gmail.com>

Vulnerabilities#


Name
Analysis
Description
Exploitable
**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 dynamically-sized local variables in your application without this being detected. This stack-protector failure only applies to C99-style dynamically-sized local variables or those created using alloca(). The stack-protector operates as intended for statically-sized local variables. The default behavior when the stack-protector detects an overflow is to terminate your application, resulting in controlled loss of availability. An attacker who can exploit a buffer overflow without triggering the stack-protector might be able to change program flow control to cause an uncontrolled loss of availability or to go further and affect confidentiality or integrity. NOTE: The GCC project argues that this is a missed hardening bug and not a vulnerability by itself.