-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Closed
Labels
backend-llvmThe LLVM backend outputs an LLVM IR Module.The LLVM backend outputs an LLVM IR Module.
Milestone
Description
note: purpose of this issue is to record status/patches/workarounds (issue will be closed immediately)
| status | os | arch | command | llvm13-patches | note |
|---|---|---|---|---|---|
| ✅ | netbsd 9.2 | amd64 | sudo -E zig build test |
netbsd.zip | note 1 |
| ✅ | openbsd 7.0 | amd64 | MALLOC_OPTIONS=CFGJ zig build test |
openbsd.zip | note 2,3,4 |
| ✅ | dragonfly 6.0 | x86_64 | zig build test |
note 1 (netbsd) workaround file lock limit
- must run as root to overcome per-user file lock limits
note 2 (openbsd) open file limit
- triggered by
zig build-exe hello.zig -target native-linux -lc - edit /etc/login.conf
- bump per-user open file limit in
defaultclass to:
:openfiles-max=2048:\
:openfiles-cur=2048:\
- logout/login to effect changes
note 3 (openbsd) increase file lock limit
- triggered by
zig build-exe hello.zig -target native-linux -lc
sysctl kern.maxlocksperuid=2048note 4 (openbsd) workaround use-after-free
- use-after-free is triggered by test
'undefined as field type is rejected' failed: CompilationCrashed - workaround by just fiddling with malloc options to not do whatever default openbsd behavior is
lun-4 and jedisct1
Metadata
Metadata
Assignees
Labels
backend-llvmThe LLVM backend outputs an LLVM IR Module.The LLVM backend outputs an LLVM IR Module.