andrewrk / andrewrk/zig-window

Fails on NixOS with AMD Ryzen

Aperta
#10 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
C++
Stelle
134
Fork
12
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

```
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
```

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.