https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94157
--- Comment #11 from jiawei <jiawei at iscas dot ac.cn> --- (In reply to Martin Liška from comment #10) > Seems you are using the latest binutils ld, right? > > It's the newly added warning which tells that usage of executable stack is a > potential security issue: > https://sourceware.org/pipermail/binutils/2022-April/120476.html Yes, you are all right, so it seems not an error, thanks a lot!!