Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Cannot compiler on Loongarch architecture!

Abierto
#214 3 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
35/100
Tipo de issue
Error
Claridad
Necesita aclaración
Estado de actividad
Tranquilo
Stack tecnológico
lua
Área
compilers

Línea de trabajo

Start by reproducing the failure with zig build on the reported Loongarch64 system and inspect the translate-c step involving build/include/lua_all.h. Determine why translating the Lua header terminates unexpectedly on that architecture; done means the reported application builds successfully there without the translate-c failure.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Hello, I'm Chinese developer, I like your library!
I bought a Loongarch64 3A6000 by loongnix operating system laptop to developer my software..
but it's wrong..

I use zig build to build my application, but it show me some error:

xphost@MBXphost:~/Workspace/ZigWork/RenRsCompiler$ zig build
install
└─ install rrc
   └─ compile exe rrc Debug native
      └─ translate-c failure
error: the following command terminated unexpectedly:
/home/xphost/D_Driver/Languages/zig/zig translate-c -lc --cache-dir .zig-cache --global-cache-dir /home/xphost/.cache/zig --listen=- -I .zig-cache/o/53ed955ced3c0fd35a0b9feb57db3332 /home/xphost/.cache/zig/p/zlua-0.1.0-hGRpCww-BQCx3cX6zbKWfTgOx6B7Peo4P17RK2hm7-xV/build/include/lua_all.h

Build Summary: 4/8 steps succeeded; 1 failed
install transitive failure
└─ install rrc transitive failure
   └─ compile exe rrc Debug native transitive failure
      └─ translate-c failure

error: the following build command failed with exit code 1:
.zig-cache/o/787c66804256c83087549d5f3c249d46/build /home/xphost/D_Driver/Languages/zig/zig /home/xphost/D_Driver/Languages/zig/lib /home/xphost/D_Driver/Workspace/ZigWork/RenRsCompiler .zig-cache /home/xphost/.cache/zig --seed 0xb2ccae39 -Z67dadc5568dca1ed

Please help me to solve it, I'm really like your library!

Lenguaje dominante
Zig
Estrellas
530
Forks
74
Merge medio
9 d 14 h
PR fusionados (30 d)
2

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de natecraddock/ziglua

Todos los issues de natecraddock/ziglua

Issues similares

Más issues de Compilers

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.