Re: SEC: Spectre variant 2: GCC: -mindirect-branch=thunk -mindirect-branch-register
Wes Turner <[email protected]>
| Newsgroups | gmane.comp.python.distutils.devel |
|---|---|
| Message-ID | <CACfEFw9S2STFe-eM=R6+TuPa7BouBdi6jFiFCx4=zx5mf8TXEA@mail.gmail.com> |
On Wednesday, September 12, 2018, Joni Orponen <[email protected]> wrote: > On Wed, Sep 12, 2018 at 8:48 PM Wes Turner <[email protected]> wrote: > >> Should C extensions that compile all add >> `-mindirect-branch=thunk -mindirect-branch-register` [1] to mitigate the >> risk of Spectre variant 2 (which does indeed affect user space applications >> as well as kernels)? >> > > Are those available on GCC <= 4.2.0 as per PEP 513? > AFAIU, only GCC 7.3 and 8 have the retpoline (indirect-branch=thunk) support enabled by the `-mindirect-branch=thunk -mindirect-branch-register` CFLAGS. > -- Distutils-SIG mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mm3/mailman3/lists/distutils-sig.python.org/ Message archived at https://mail.python.org/mm3/archives/list/[email protected]/message/FMC5MIQDFXJD3MQHLLSYJRFRZQ2KPORI/