https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77748
--- Comment #10 from Bernd Edlinger <edlinger at gcc dot gnu.org> --- (In reply to Christophe Lyon from comment #9) > Did you try on arm-none-eabi too? > It does not seem to work for me. Hmmm, I don't have the exact environment, but I used your .s file, removed the abi lines, and linked it against the linux, and got immediately a seg-fault, in the _Alloc_hider constructor. That looked like a logical explanation, but it's possible that I still don't understand. Could you try to get a call stack of the seg-fault, with the second patch?