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

Bug#1119850: netpbm-free: FTBFS on arm* (testsuite error) with gcc-15



On 2025-11-04 Emanuele Rocca <ema@debian.org> wrote:
> On 2025-11-03 06:47, Andreas Metzler wrote:
>> On 2025-11-02 Andreas Metzler <ametzler@bebt.de> wrote:
>> [...]
>>> Also setting either no-schedule-insns2 or no-strict-aliasing for this
>>> function (instead of O1) for a -O2 build lets the arm64 build succeed.

>> or alternatively
>> -O1  -fschedule-insns2 -fstrict-aliasing
>> breaks the build.

> The segfault also does not occur with -O3, and the important difference
> seems to be that -O3 enables -fschedule-insns (without trailing '2').

> Building with -O2 -fschedule-insns fixes pamtilt.

While -fschedule-insns fixes the FTBFS on arm64, armhf needs either
-fno-schedule-insns2 or -fno-strict-aliasing.

cu Andreas
-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'


Reply to: