Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stack size linker options on MacOS #4

Closed
oneilm opened this issue Aug 22, 2019 · 1 comment
Closed

stack size linker options on MacOS #4

oneilm opened this issue Aug 22, 2019 · 1 comment

Comments

@oneilm
Copy link
Collaborator

oneilm commented Aug 22, 2019

For larger multicore problems, my experience has been that the stack size needs to be set as a linker option on MacOS (since the stack size cannot be set to unlimited in the terminal on MacOS). For example, with the flag:

-Wl,-stack_size,0x40000000

This requires changing the macos .inc file, or adding an LDFLAGS variable. Or is this not necessary using the current make file configuration?

@mrachh
Copy link
Member

mrachh commented Nov 16, 2019

Hi Mike,
This is not necessary, as there is very little statically allocated memory in the code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants