https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113317
--- Comment #6 from seurer at gcc dot gnu.org --- >From experimenting this seems to be an issue with the system compiler gcc version 11.4.0 (Ubuntu 11.4.0-1ubuntu1~22.04) I tried an older compiler (8.4) and it worked ok. I just experimented a bit and it fails with the current gcc 11 and 12 used as the build compiler as well. It works when I use gcc 13.