This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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@stu.xidian.edu.cn>
School of Aerospace Science and Technology, Xidian University


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]