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

2024-02-29 Thread Emanuele Rocca
Hi Matthias, On 2023-11-28 05:00, Emanuele Rocca wrote: > Let me know if this is what you were looking for. Both #1055711 and #1057469 have been open for several months now, and they are blocking progress on enabling BTI in Debian (and Ubuntu). See https://wiki.debian.org/ToolChain/PACBTI for

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

2023-11-28 Thread Emanuele Rocca
Hi Matthias, On 2023-11-24 02:29, Matthias Klose wrote: > please send a test patch, that doesn't turn off this flag by default. I'm not sure if I understand the question, but with the attached patch all .o and .a files shipped by libgcc-13-dev have the right BTI, PAC properties according to

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

2023-11-24 Thread Matthias Klose
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

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

2023-11-10 Thread Emanuele Rocca
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