https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105182
--- Comment #7 from Steve Kargl <sgk at troutmask dot apl.washington.edu> --- On Thu, Apr 07, 2022 at 01:09:01AM +0000, kermitnuc at gmail dot com wrote: > --- Comment #6 from Kermit Bunde <kermitnuc at gmail dot com> --- > I ran the stack size up to ~64Mb. > > I can compile MCNP which is much bigger. > Again, 10.3 compiled it with a stack size of 8 Mb. > Okay, so we may have eliminated the stack size, which is a very common cause of segfaults. You appear to be using Darwin. I don't use Darwin. Restore the lines that you think are causing a problem and start eliminate all other code until you get a small manageable piece of code. Until someone has time to do the debug, you could use 10.3 as work around.