-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Description
Error Flashbang:
PS Z:\Zig\Engine\Axon> zig build run -Doptimize=ReleaseFast
run
└─ run exe Axon
└─ compile exe Axon ReleaseFast native 12 errors
error: lld-link: undefined symbol: __ubsan_handle_type_mismatch_v1
note: referenced by Z:\Zig\Engine\Axon\vendor\deps\zglfw\libs\glfw\src\context.c:49
note: glfw.lib(context.obj):(_glfwIsValidContextConfig)
note: referenced by Z:\Zig\Engine\Axon\vendor\deps\zglfw\libs\glfw\src\context.c:49
note: glfw.lib(context.obj):(_glfwIsValidContextConfig)
note: referenced by Z:\Zig\Engine\Axon\vendor\deps\zglfw\libs\glfw\src\context.c:49
note: glfw.lib(context.obj):(_glfwIsValidContextConfig)
note: referenced 6722 more times
error: lld-link: undefined symbol: __ubsan_handle_pointer_overflow
note: referenced by Z:\Zig\Engine\Axon\vendor\deps\zglfw\libs\glfw\src\context.c:196
note: glfw.lib(context.obj):(_glfwChooseFBConfig)
note: referenced by Z:\Zig\Engine\Axon\vendor\deps\zglfw\libs\glfw\src\context.c:396
note: glfw.lib(context.obj):(_glfwRefreshContextAttribs)
note: referenced by Z:\Zig\Engine\Axon\vendor\deps\zglfw\libs\glfw\src\context.c:398
note: glfw.lib(context.obj):(_glfwRefreshContextAttribs)
note: referenced 588 more times
error: lld-link: undefined symbol: __ubsan_handle_sub_overflow
note: referenced by Z:\Zig\Engine\Axon\vendor\deps\zglfw\libs\glfw\src\context.c:220
note: glfw.lib(context.obj):(_glfwChooseFBConfig)
note: referenced by Z:\Zig\Engine\Axon\vendor\deps\zglfw\libs\glfw\src\context.c:244
note: glfw.lib(context.obj):(_glfwChooseFBConfig)
note: referenced by Z:\Zig\Engine\Axon\vendor\deps\zglfw\libs\glfw\src\context.c:244
note: glfw.lib(context.obj):(_glfwChooseFBConfig)
note: referenced 115 more times
error: lld-link: undefined symbol: __ubsan_handle_mul_overflow
note: referenced by Z:\Zig\Engine\Axon\vendor\deps\zglfw\libs\glfw\src\context.c:244
note: glfw.lib(context.obj):(_glfwChooseFBConfig)
note: referenced by Z:\Zig\Engine\Axon\vendor\deps\zglfw\libs\glfw\src\context.c:250
note: glfw.lib(context.obj):(_glfwChooseFBConfig)
note: referenced by Z:\Zig\Engine\Axon\vendor\deps\zglfw\libs\glfw\src\context.c:256
note: glfw.lib(context.obj):(_glfwChooseFBConfig)
note: referenced 19 more times
error: lld-link: undefined symbol: __ubsan_handle_out_of_bounds
note: referenced by Z:\Zig\Engine\Axon\vendor\deps\zglfw\libs\glfw\src\context.c:396
note: glfw.lib(context.obj):(_glfwRefreshContextAttribs)
note: referenced by Z:\Zig\Engine\Axon\vendor\deps\zglfw\libs\glfw\src\context.c:398
note: glfw.lib(context.obj):(_glfwRefreshContextAttribs)
note: referenced by Z:\Zig\Engine\Axon\vendor\deps\zglfw\libs\glfw\src\context.c:400
note: glfw.lib(context.obj):(_glfwRefreshContextAttribs)
note: referenced 456 more times
error: lld-link: undefined symbol: __ubsan_handle_add_overflow
note: referenced by Z:\Zig\Engine\Axon\vendor\deps\zglfw\libs\glfw\src\context.c:396
note: glfw.lib(context.obj):(_glfwRefreshContextAttribs)
note: referenced by Z:\Zig\Engine\Axon\vendor\deps\zglfw\libs\glfw\src\context.c:712
note: glfw.lib(context.obj):(glfwExtensionSupported)
note: referenced by Z:\Zig\Engine\Axon\vendor\deps\zglfw\libs\glfw\src\input.c:469
note: glfw.lib(input.obj):(_glfwInputJoystickHat)
note: referenced 204 more times
error: lld-link: undefined symbol: __ubsan_handle_nonnull_arg
note: referenced by Z:\Zig\Engine\Axon\vendor\deps\zglfw\libs\glfw\src\context.c:408
note: glfw.lib(context.obj):(_glfwRefreshContextAttribs)
note: referenced by Z:\Zig\Engine\Axon\vendor\deps\zglfw\libs\glfw\src\init.c:319
note: glfw.lib(init.obj):(_glfwInputError)
note: referenced by Z:\Zig\Engine\Axon\vendor\deps\zglfw\libs\glfw\src\win32_joystick.c:526
note: glfw.lib(win32_joystick.obj):(_glfwDetectJoystickConnectionWin32)
note: referenced 3 more times
error: lld-link: undefined symbol: __ubsan_handle_builtin_unreachable
note: referenced by Z:\Zig\Engine\Axon\vendor\deps\zglfw\libs\glfw\src\context.c:685
note: glfw.lib(context.obj):(glfwExtensionSupported)
note: referenced by Z:\Zig\Engine\Axon\vendor\deps\zglfw\libs\glfw\src\context.c:651
note: glfw.lib(context.obj):(glfwSwapBuffers)
note: referenced by Z:\Zig\Engine\Axon\vendor\deps\zglfw\libs\glfw\src\context.c:751
note: glfw.lib(context.obj):(glfwGetProcAddress)
note: referenced 268 more times
error: lld-link: undefined symbol: __ubsan_handle_shift_out_of_bounds
note: referenced by Z:\Zig\Engine\Axon\vendor\deps\zglfw\libs\glfw\src\input.c:223
note: glfw.lib(input.obj):(parseMapping)
note: referenced by Z:\Zig\Engine\Axon\vendor\deps\zglfw\libs\glfw\src\input.c:1426
note: glfw.lib(input.obj):(glfwGetGamepadState)
note: referenced by Z:\Zig\Engine\Axon\vendor\deps\zglfw\libs\glfw\src\input.c:1445
note: glfw.lib(input.obj):(glfwGetGamepadState)
note: referenced 42 more times
error: lld-link: undefined symbol: __ubsan_handle_divrem_overflow
note: referenced by Z:\Zig\Engine\Axon\vendor\deps\zglfw\libs\glfw\src\input.c:230
note: glfw.lib(input.obj):(parseMapping)
note: referenced by Z:\Zig\Engine\Axon\vendor\deps\zglfw\libs\glfw\src\init.c:255
note: glfw.lib(init.obj):(_glfw_calloc)
note: referenced by Z:\Zig\Engine\Axon\vendor\deps\zglfw\libs\glfw\src\monitor.c:290
note: glfw.lib(monitor.obj):(_glfwSplitBPP)
note: referenced 5 more times
error: lld-link: undefined symbol: __ubsan_handle_negate_overflow
note: referenced by Z:\Zig\Engine\Axon\vendor\deps\zglfw\libs\glfw\src\input.c:231
note: glfw.lib(input.obj):(parseMapping)
note: referenced by Z:\Zig\Engine\Axon\vendor\deps\zglfw\libs\glfw\src\monitor.c:241
note: glfw.lib(monitor.obj):(_glfwChooseVideoMode)
note: referenced by Z:\Zig\Engine\Axon\vendor\deps\zglfw\libs\glfw\src\monitor.c:243
note: glfw.lib(monitor.obj):(_glfwChooseVideoMode)
note: referenced 8 more times
error: lld-link: undefined symbol: __ubsan_handle_float_cast_overflow
note: referenced by Z:\Zig\Engine\Axon\vendor\deps\zglfw\libs\glfw\src\input.c:1490
note: glfw.lib(input.obj):(glfwSetTime)
note: referenced by Z:\Zig\Engine\Axon\vendor\deps\zglfw\libs\glfw\src\monitor.c:494
note: glfw.lib(monitor.obj):(glfwSetGamma)
note: referenced by Z:\Zig\Engine\Axon\vendor\deps\zglfw\libs\glfw\src\null_monitor.c:56
note: glfw.lib(null_monitor.obj):(_glfwPollMonitorsNull)
note: referenced 20 more times
error: the following command failed with 12 compilation errors:
Build Summary: 4/9 steps succeeded; 1 failed
run transitive failure
└─ run exe Axon transitive failure
├─ compile exe Axon ReleaseFast native 12 errors
└─ install transitive failure
└─ install Axon transitive failure
└─ compile exe Axon ReleaseFast native (+5 more reused dependencies)
error: the following build command failed with exit code 1:
It compiles fine with just debug but with ReleaseSafe, Fast etc it just gives these out, ive tried alot of things like recompiling the c files, the zig file, clean builds and all doesnt work, if its a me issue, let me know, along with how to fix it if you know, please.
MrKrot792 and dronik7
Metadata
Metadata
Assignees
Labels
No labels