Home > News content

GCC 9 Removes Support for Intel Memory Protection Extended MPX

via:博客园     time:2018/6/11 9:01:39     readed:291

In April, there were reports that GCC was preparing to abandon Intel's memory protection extensions (Memory Protection Extensions, MPX), and Intel no longer maintains MPX code. In the most recent code submission, GCC completely deleted the 42014 lines of code and more than 500 files involved in MPX, which means thatGCC 9 no longer supports Intel Memory Protection Extension MPX.


Intel MPX is designed to provide better software security by checking pointer references, etc. to prevent buffer overflows. Although the adoption rate is not high, MPX support has existed since Intel Skylake CPU and has been widely used in the Linux protocol stack in recent years.

Some people prefer to use AddressSanitizer and other software alternatives to improve code security. Linux kernel personnel are also considering removing MPX from Linux. Developers like Red Hat and SUSE hope to abandon MPX to ease the maintenance burden. Now that GCC has removed MPX from the code, then the removal of MPX in the Linux kernel should also be certain. After all, MPX support depends on the compiler.

China IT News APP

Download China IT News APP

Please rate this news

The average score will be displayed after you score.

Post comment

Do not see clearly? Click for a new code.

User comments