Open ivmai opened 6 months ago
I tried to reproduce it locally, but failed to setup build environment with Zig using MSVC (I don't have such issue with e.g. cmake):
<path_to_zig>\zig.exe build -Dtarget=native-native-msvc
produces output (without enough details):
Build Summary: 1/6 steps succeeded; 1 failed (disable with --summary none)
install transitive failure
+- install gc transitive failure
| +- zig build-lib gc Debug native-native-msvc failure
+- install cord transitive failure
+- zig build-lib cord Debug native-native-msvc transitive failure
+- zig build-lib gc Debug native-native-msvc (reused)
error: the following build command failed with exit code 1:
...\zig-cache\o\e6349bcf924ab91855bda5bf668ba4bf\build.exe
@kassane If possible, please help investigating this issue.
commit: https://github.com/ivmai/bdwgc/commit/b1fe06200d716cd63d3ec321654fb4d03d610240 MinGW build: :ok: MSVC build: :x:
commit: b1fe062 MinGW build: 🆗 MSVC build: ❌
preview-error
Please give me more details: which build configuration? Do you have ideas why process.h is not found?
Please give me more details: which build configuration? Do you have ideas why process.h is not found?
Sorry! It was a winSDK dependency failure. [ignore]
After using windbg, I realized that it always marked the same point, so I tested each test function separately.
The issue occurs on test_extras
- exactly Cord_from_file()
.
ABORT(msg)
no emit any error about...
I tried to reproduce it locally, but failed to setup build environment with Zig using MSVC (I don't have such issue with e.g. cmake):
CMake - msvc libs - more complete
Zig - msvc libs
Source: master (2eaa40c49) Build: https://github.com/ivmai/bdwgc/actions/runs/8928784437/job/24525078409 Zig version: 0.12.0 Command: zig build -Dtarget=native-native-msvc -DBUILD_SHARED_LIBS=true -Ddisable_handle_fork=false -Denable_cplusplus=false -Denable_gc_assertions=true -Denable_gc_debug=false -Denable_large_config=false -Denable_munmap=true -Denable_parallel_mark=false -Denable_redirect_malloc=false -Denable_rwlock=false -Denable_thread_local_alloc=false -Denable_threads=false -Denable_werror -Dbuild_cord=true "-DCFLAGS_EXTRA=-DGC_PRINT_VERBOSE_STATS -DCONSOLE_LOG" test Output (cordtest):