My take is that the issue is a bit deeper. Basically if you're slipping in a replacement library it's hard to do it for some calls and not others, and unfortunately the replacement library that tests for what happens when allocation fails is getting its tentacles into the testing jig itself where it does not belong.
- Bug#1097941: stopmotion: ftbfs with GCC-15 Bastian Germann
- Bug#1097941: stopmotion: ftbfs with GCC-15 Barak A. Pearlmutter

