Building Rustc on m68k
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 25/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Stack tecnológico
- rust
- Área
- build-system, compilers
Línea de trabajo
Comienza revisando los bloqueadores de m68k indicados: linux-raw-sys, rustix, compiler/rustc_data_structures/src/tagged_ptr.rs y el script de bootstrap. Comprueba el estado actual de la corrección de alineación de tagged_ptr y de las carencias de soporte para m68k; después, reproduce los fallos de bootstrap. Se considerará terminado cuando rustc y sus herramientas puedan compilarse para m68k sin las soluciones alternativas indicadas.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
I am currently working on building rustc for m68k(since that seems like a more achievable short-term goal). Many of the roadblocks I'll hit on m68k will also likely be shared with other targets - this issue could server as a reference for that.
Here is a list of currently-known issues:
-
-
linux-raw-sysdoes not support m68k. This crate is needed byrustc, and a lot of other crates. Proper support will require a moderate amount of work, but it something that can be done now. -
- The
rustixcrate does not supportm68k. (more specifically, the iocl::const module needs the right values for syscall arguments). -
- The const assert in https://github.com/rust-lang/rust/blob/ce5fdd7d42aba9a2925692e11af2bd39cf37798a/compiler/rustc_data_structures/src/tagged_ptr.rs#L163 fails. EDIT: the problem is the alignment of usize. Rust uses those bits to store type tags. If the aligement is less than 4, this fails. I have a fix ready to be sent & merged.
-
- The bootstrap script fails to compile native
GCCfor m68k. This prevents it from building any codegen backends or tools later down the line. This is skipable with some fiddling. -
- When building other tools(eg.
cargo) the bootstrap script "forgets" where thestdfor m68k is.
So, as of toady, with some workarounds, I can get pretty far into the cross-compilation process - a bit more work, and we may be able to get rustc running on m68k.
@glaubitz I think this issue might be of interest to you.
- Lenguaje dominante
- Rust
- Estrellas
- 1.2k
- Forks
- 105
- Merge medio
- 5 h 50 min
- PR fusionados (30 d)
- 25
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de rust-lang/rustc_codegen_gcc
-
Re-enable -fno-lto testAbiertotests
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
rust-lang/rustc_codegen_gcc#993 ·
Los mantenedores suelen responder en 1 día
-
Cannot compile sysroot if having a build.build-dir cargo configPosiblemente ocupada @GuillaumeGomez la tomó hace 2 días. Abierto
rust-lang/rustc_codegen_gcc#1011 · 1 comentario · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Enable librsvg tests on Aarch64Abiertotests
Dificultad 4/5 3-5 días Aptitud para principiantes 30/100
rust-lang/rustc_codegen_gcc#992 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
rust-lang/rustc_codegen_gcc#970 · 5 comentarios ·
Los mantenedores suelen responder en 1 día
-
Support `#[no_builtin]`Abierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 20/100
rust-lang/rustc_codegen_gcc#943 ·
Los mantenedores suelen responder en 1 día
Todos los issues de rust-lang/rustc_codegen_gcc
Issues similares
-
Dificultad 1/5 1-3 horas Aptitud para principiantes 86/100
Los mantenedores suelen responder en 1 día
-
area:sim good first issue kind:feature
Dificultad 2/5 1-3 horas Aptitud para principiantes 87/100
Los mantenedores suelen responder en 1 día
-
The demo's interval button and chart legend keep the previous interval after an interval changeAbiertobug ui
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
userFRM/egui-charts#670 ·
Los mantenedores suelen responder en 1 día
-
docs good first issue
Dificultad 1/5 1-3 horas Aptitud para principiantes 84/100
Usenova-Labs/usenova-backend#35 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
lugassawan/swe-workbench#823 ·
Los mantenedores suelen responder en 1 día