andrewrk / andrewrk/zig-window

Fails on NixOS with AMD Ryzen

Đang mở
#10 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
C++
Star
134
Fork
12
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

```
OS: NixOS 20.09 (Nightingale) x86_64
CPU: AMD Ryzen 3 2200U with Radeon Vega Mobile Gfx (4) @ 2.500GHz
GPU: AMD ATI Radeon Vega Series / Radeon Vega Mobile Series
```

❯ git pull
zig-window on  master via ↯ v0.7.0+3599fb9bf
❯ rm -rf zig-cache

zig-window on  master via ↯ v0.7.0+3599fb9bf
❯ zig build -Dtarget=x86_64-linux
Code Generation [1585/2067] std.io.writer.Writer(std.fs.file.File,std.os.WriteEr..Code Generation [318/1042] std.hash_map.HashMapUnmanaged(usize,*std.debug.Module..Code Generation [666/1042] std.hash_map.HashMapUnmanaged([*:0]const u8,void,hash..
zig-window on  master via ↯ v0.7.0+3599fb9bf took 19s
❯ patchelf --remove-needed libdummy.so.0 zig-cache/bin/static-window

zig-window on  master via ↯ v0.7.0+3599fb9bf

❯ ./zig-cache/bin/static-window
```
fish: “./zig-cache/bin/static-window” terminated by signal SIGSEGV (Address boundary error)
```

zig-window on  master via ↯ v0.7.0+3599fb9bf

❯ ~/Downloads/static-window9
```
debug: detecting whether we are running in the dynamic linker
debug: we're not. detecting the dynamic linker path
debug: prepare to execve reload
debug: dyld_path=/nix/store/33idnvrkvfgd5lsx2pwgwwi955adl6sk-glibc-2.31/lib/ld-linux-x86-64.so.2
debug: setting environment variable 'LD_PRELOAD=libdl.so.2 libpthread.so.0'
debug: detecting whether we are running in the dynamic linker
debug: got dlopen. detect libc
debug: initialize vulkan
debug: vulkan initialized, dlopening xcb
debug: connecting to X11
debug: opening window
debug: main loop
```

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.