Help with Ticket #68015

Joshua Root jmr at macports.org
Sat Apr 27 11:03:04 UTC 2024


On 27/4/2024 19:30, Marcus Calhoun-Lopez wrote:
> As part of its build process, Rust creates a program called
> `bootstrap`, which reports a stack overflow on 10.9 and 10.10 (see
> ticket #68015).
> 
> What I cannot figure out is the following.
> If I take the `bootstrap` built on 10.8, then it works just fine on
> 10.8 and 10.11.
> That same binary crashes on t0.9 and 10.10.
> If I take the `bootstrap` built on 10.9, then it crashes on 10.9.
> However, that same binary runs fine on 10.10.
> 
> Can anyone imagine a scenario where the same binary runs on 10.8 and
> 10.11 but crashes on 10.9 and 10.10?

Is it a genuine stack overflow? Could be just about anything if not.

If it is, there could be a different stack size limit, in either the 
linker (-stack_size) or in the OS (ulimit -s; sysctl kern.stack_size, 
kern.stack_depth_max) or both.

- Josh


More information about the macports-dev mailing list