Re: gcc version 4.8.5 20150623 / Meltdown and/or Spectre vulnerabilities

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2018-06-15 17:42 +0300, Vassilena Treneva wrote:
> Hey,
> 
> 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:
> https://gcc.gnu.org/ml/gcc-patches/2018-01/msg00422.html

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 <ryxi@xxxxxxxxxxxxxxxxx>
School of Aerospace Science and Technology, Xidian University



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux