[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1055711: gcc-13: Please build gcc with -mbranch-protection=standard to fix PAC/BTI support on arm64



Control: tags -1 + moreinfo

On 10.11.23 10:36, Emanuele Rocca wrote:
Package: gcc-13
Version: 13.2.0-6
Severity: normal

Dear Maintainer,

On arm64 dpkg-dev adds -mbranch-protection=standard to the default build
flags since version 1.22.0. However, the flag is not used in Debian and
Ubuntu when building GCC. This means that the feature does not work as
intended when building programs. A simple test case to check for
functioning gcc support is:

[...]

please send a test patch, that doesn't turn off this flag by default.


Reply to: