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

2024-07-04 Thread Emanuele Rocca
On 2024-07-01 03:12, Emanuele Rocca wrote: > I haven't tested it on cross-builds of the native compiler as that > currently fails due to unsatisfied dependencies in sid. That case > should work fine too though. Double-checked today, cross-builds of the native compiler work as well both with and wi

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

2024-07-01 Thread Emanuele Rocca
Hi Matthias, you can find an updated patch attached, it allows to disable the flag by building with DEB_BUILD_MAINT_OPTIONS=hardening=-branch. It does the right thing on libgcc-13-dev built on arm64 as well as libgcc-13-dev-arm64-cross built on amd64. I haven't tested it on cross-builds of the na

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

2024-05-02 Thread Emanuele Rocca
On 2023-12-31 10:32, Matthias Klose wrote: > please also check > > - that a cross compiler with this patch has these enabled > > - that a cross build of gcc-13 targeting arm64 with this >patch has these enabled There have been a few gcc-12 and gcc-13 updates since I initially sent my patch

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

2024-01-05 Thread Emanuele Rocca
Hi Matthias, On 2023-12-31 10:32, Matthias Klose wrote: > please also check > > - that a cross compiler with this patch has these enabled > > - that a cross build of gcc-13 targeting arm64 with this >patch has these enabled Very good point, indeed the original patch I sent did not address

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

2023-12-31 Thread Matthias Klose
Control: tags -1 + moreinfo please also check - that a cross compiler with this patch has these enabled - that a cross build of gcc-13 targeting arm64 with this patch has these enabled