Announcement

Collapse
No announcement yet.

x86 Straight Line Speculation Mitigation Being Back-Ported To GCC 11

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • x86 Straight Line Speculation Mitigation Being Back-Ported To GCC 11

    Phoronix: x86 Straight Line Speculation Mitigation Being Back-Ported To GCC 11

    There sure has been a lot of x86 straight-line speculation happenings in recent months with the compiler-based mitigation being merged for GCC 12 and then beginning with Linux 5.17 the kernel can make use of that new knob for fending off this potential vulnerability. Now the compiler support is even being back-ported to GCC 11...

    Phoronix, Linux Hardware Reviews, Linux hardware benchmarks, Linux server benchmarks, Linux benchmarking, Desktop Linux, Linux performance, Open Source graphics, Linux How To, Ubuntu benchmarks, Ubuntu hardware, Phoronix Test Suite

  • #2
    "even"? Isn't GCC 11 literally from last year?

    Comment


    • #3
      I shrug when I think about the fugly hoops software needs to jump through to get sane behavior from hardware...

      Comment


      • #4
        Originally posted by microcode View Post
        "even"? Isn't GCC 11 literally from last year?
        Sure, but its features are from November 2020. Not sure how usual it is for new features to be incorporated into GCC point releases, even if they are security-related - GCC 11.2 didn't have them.

        Comment


        • #5
          One new flag
          Code:
          -mharden-sls=none
          to set to keep performance?!

          Comment


          • #6
            This doesn't affect performance, only output binary size.

            Comment

            Working...
            X