OpenEuler does not support -mlfence-after-load=yes, which is a security feature of binutils and is supported only on x86. We have no plan to support this feature at this time because it has a significant impact on performance.

 

发件人: gaoguijin [mailto:gaoguijin@huawei.com]
发送时间: 2020817 20:04
收件人: dev@openeuler.org
抄送: yanlu (E) <yanlu14@huawei.com>; chenmaodong <chenmaodong@huawei.com>; liwei (GY) <liwei455@huawei.com>; yangxin (AI) <yangxin102@huawei.com>
主题: [Dev] Does gcc in openeuler support -mlfence-after-load=yes?

 

@jdkboy @Haijian.Zhang

 

It’s a feature introduced to migrate a security issue. openEuler 20.03 doesn’t support it. Have we supported it in master branch or do we have plan to support it?

 

See details in below link.

https://www.phoronix.com/scan.php?page=news_item&px=GNU-Assembler-LVI-Options