andrewrk / andrewrk/zig-window

Fails on NixOS with AMD Ryzen

Abierto
#10 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
C++
Estrellas
134
Forks
12
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.