Eli Zaretskii writes: >> From: Lars Ingebrigtsen >> Cc: akrl@sdf.org, 58509@debbugs.gnu.org >> Date: Mon, 17 Oct 2022 21:30:24 +0200 >> >> Sure, we can do it via a command-line argument instead. Perhaps this >> fits well with the proposed --native-compile-sync switch, even. >> >> That is, instead of that, we could have a --native-compile-mode command >> line switch with the values --native-compile-mode=none, >> --native-compile-mode=sync and --native-compile-mode=normal? > > I doubt we really need to have an option with 3 values. The default > already does TRT in almost all cases, so all we need is to suppress > async compilation of trampolines, because that could cause trouble. The attached works for me for fixing the trampoline issue (unless I did something wrong reproducing). I named the flag -no-comp-spawn from the variable it controls. Happy to rename it if we have something better, but being for internal use only maybe is already okay? BR Andrea