Beyley/ztyping

Windows x86_64 & x86

Beyley opened this issue · 1 comments

  • SDL: error: lld-link: __stack_chk_fail was replaced
  • wgpu:
error: lld-link: undefined symbol: __CxxFrameHandler3
    note: referenced by wgpu_native.lib(wgpu_native.wgpu_native.e6131a33-cgu.15.rcgu.o):(.xdata)
    note: referenced by wgpu_native.lib(wgpu_native.wgpu_native.e6131a33-cgu.15.rcgu.o):(.xdata)
    note: referenced by wgpu_native.lib(wgpu_native.wgpu_native.e6131a33-cgu.15.rcgu.o):(.xdata)
    note: referenced 3939 more times
error: lld-link: undefined symbol: __chkstk
    note: referenced by wgpu_native.lib(wgpu_native.wgpu_native.e6131a33-cgu.15.rcgu.o):(wgpu_core::device::queue::PendingWrites$LT$A$GT$::post_submit::h84d993e2389c73cd)
    note: referenced by wgpu_native.lib(wgpu_native.wgpu_native.e6131a33-cgu.15.rcgu.o):(wgpu_core::device::queue::PendingWrites$LT$A$GT$::post_submit::hc95544c335395b2b)
    note: referenced by wgpu_native.lib(wgpu_native.wgpu_native.e6131a33-cgu.15.rcgu.o):(wgpu_core::command::bundle::RenderBundleEncoder::finish::h18bdcd4b567c65ce)
    note: referenced 66 more times
error: lld-link: undefined symbol: _fltused
    note: referenced by wgpu_native.lib(wgpu_native.wgpu_native.e6131a33-cgu.15.rcgu.o)
    note: referenced by wgpu_native.lib(core-bd7106b7f2a04ee0.core.b6d684cd-cgu.0.rcgu.o)
    note: referenced by wgpu_native.lib(wgpu_native.wgpu_native.e6131a33-cgu.0.rcgu.o)
error: lld-link: undefined symbol: const type_info::`vftable'
    note: referenced by wgpu_native.lib(std-43ecf4bdbb5e1e31.std.221f24cf-cgu.0.rcgu.o):(__rust_panic_type_info)
    note: referenced by wgpu_native.lib(wgpu_hal-6fa7838ecb7f440b.wgpu_hal.a5169920-cgu.15.rcgu.o)
    note: referenced by wgpu_native.lib(panic_unwind-03eee9fc7fe44114.panic_unwind.3d0dbf68-cgu.0.rcgu.o):(panic_unwind::real_imp::TYPE_DESCRIPTOR::h25959f093cf9adbf)

SDL is solved by static linking, wgpu is partially solved by dynamically linking against a GNU wgpu