https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77882
--- Comment #15 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Nick Desaulniers from comment #14) > Adding a data point from > https://discourse.llvm.org/t/hand-written-in-assembly-in-libc-setjmp-longjmp/ > 73249/9. > > It's becoming a code portability issue when clang supports this function > attribute on functions for aarch64 targets but GCC does not. Not really since you still can use a .s (or .S) file there .... That is how all other libc implement their setjmp/longjump and even correctly. Some will even use a generator to get the offsets and/or use static_asserts to make sure offsets stay correct.