gcc version 4.8.5 20150623 / Meltdown and/or Spectre vulnerabilities
Fri Jun 15 14:58:00 GMT 2018
On 2018-06-15 17:42 +0300, Vassilena Treneva wrote:
> Using gcc version 4.8.5 20150623 (Red Hat 4.8.5-4) (GCC).
> Do you know if there are any compiler options (or a patch) to mitigate the
> so called: Meltdown and/or Spectre vulnerabilities for this specific
> version of the compiler?
> Based on what I read over the internet, the answer is NO. Such options and
> a patch are available starting from GCC 8:
The compiler has nothing to do with Meltdown and Spectre v1. For Spectre v2
GCC 8.1 and 7.3 have -mindirect-branch option.
GCC 4.8 is no longer supported by GCC team. Maybe Red Hat could backport
this patch for you.
Xi Ruoyao <email@example.com>
School of Aerospace Science and Technology, Xidian University
More information about the Gcc-help