-
Notifications
You must be signed in to change notification settings - Fork 407
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
gctest fails if shared build by Zig #601
Comments
If threads are on, then gctest fails with: |
The root cause of this, I suppose, is that some roots are not scanned, most provably static roots. E.g. the static roots of gctest itself are not discovered. |
I started testing various combinations to find failing cases and adding |
Is this observed on Linux only? |
Duplicates #544 |
Issue #601 (bdwgc). * build.zig [build_shared_libs && t.os.tag==.linux] (flags): Add -D NO_VDB_FOR_STATIC_ROOTS; add FIXME item.
Source: master (71d1ba4)
Build: https://github.com/ivmai/bdwgc/actions/runs/7319490595/job/19937385974
Host: Linux/x64
How to reproduce:
zig/zig build -DBUILD_SHARED_LIBS=true -Dbuild_tests=true -Denable_gc_assertions=true -Denable_large_config=true -Denable_munmap=false test
Output (gctest):
Related issue: #557
The text was updated successfully, but these errors were encountered: