disable frame pointer omission optimization (#2189)

* disable frame pointer omission optimization

it breaks the GC

* oops
This commit is contained in:
Jacek Sieka 2020-12-16 14:07:48 +01:00 committed by Zahary Karadjov
parent c56677867b
commit e946db56ea
No known key found for this signature in database
GPG Key ID: C8936F8A3073D609
1 changed files with 5 additions and 0 deletions

View File

@ -52,6 +52,11 @@ else:
switch("passC", "-mno-avx512f")
switch("passL", "-mno-avx512f")
# omitting frame pointers in nim breaks the GC
# https://github.com/nim-lang/Nim/issues/10625
switch("passC", "-fno-omit-frame-pointer")
switch("passL", "-fno-omit-frame-pointer")
--threads:on
--opt:speed
--excessiveStackTrace:on