ICE when building [email protected] (libgccjit.so: error: : bitcast with types of different sizes)
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 35/100
Línea de trabajo
Reproduce el fallo con cargo build en el repositorio pkgcraft enlazado, utilizando tree-sitter 0.25.10 y el Rust nightly o beta indicado. Empiece por el símbolo tree_sitter::TreeCursor::reset mencionado en el diagnóstico de libgccjit e investigue las diferencias en los tamaños de bitcast. Se considera completado cuando pkgcraft se compila correctamente sin el ICE de libgccjit.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
From https://github.com/pkgcraft/pkgcraft:
~/git/pkgcraft $ cargo build
Compiling scallop v0.0.28 (/home/sam/git/pkgcraft/crates/scallop)
Compiling tree-sitter v0.25.10
[...]
libgccjit.so: error: : bitcast with types of different sizes
input expression (size: 64):
<addr_expr 0x7fecd3a0b240
type <pointer_type 0x7fecd3fc9348
type <array_type 0x7fecd3fc92a0 type <integer_type 0x7fece091e348 signed char>
BLK
size <integer_cst 0x7fecd3e167e0 constant 256>
unit-size <integer_cst 0x7fecd3e168b8 constant 32>
user align:64 warn_if_not_align:0 symtab:0 alias-set -1 canonical-type 0x7fecd3fc7888 domain <integer_type 0x7fecd3fc77e0>
pointer_to_this <pointer_type 0x7fecd3fc9348>>
unsigned DI
size <integer_cst 0x7fecd3e16480 constant 64>
unit-size <integer_cst 0x7fecd3e16498 constant 8>
align:64 warn_if_not_align:0 symtab:0 alias-set -1 canonical-type 0x7fecd3fc7a80>
visited
arg:0 <var_decl 0x7fecd3a07c78 stack_var_1 type <array_type 0x7fecd3fc92a0>
addressable visited BLK (null):0:0 size <integer_cst 0x7fecd3e167e0 256> unit-size <integer_cst 0x7fecd3e168b8 32>
align:64 warn_if_not_align:0 context <function_decl 0x7fecd3d90100 _ZN11tree_sitter10TreeCursor5reset17hd27b4d0f0af69267E>>>
requested type (size: 256):
<record_type 0x7fecd3f9fa80 BLK
size <integer_cst 0x7fecd3e167e0 type <integer_type 0x7fece091e0a8 bitsizetype> constant 256>
unit-size <integer_cst 0x7fecd3e168b8 type <integer_type 0x7fece091e000 sizetype> constant 32>
user align:64 warn_if_not_align:0 symtab:0 alias-set -1 canonical-type 0x7fecd3f9fa80
fields <field_decl 0x7fecd3fa0460 field_0
type <array_type 0x7fecd3f9f540 type <integer_type 0x7fecd3f9bd20 int>
BLK
size <integer_cst 0x7fecd3e164f8 constant 0>
unit-size <integer_cst 0x7fecd3e164b0 constant 0>
user align:32 warn_if_not_align:0 symtab:0 alias-set -1 canonical-type 0x7fecd3f9f5e8 domain <integer_type 0x7fecd3f9f1f8>>
BLK (null):0:0 size <integer_cst 0x7fecd3e164f8 0> unit-size <integer_cst 0x7fecd3e164b0 0>
user align:32 warn_if_not_align:0 offset_align 256 decl_not_flexarray: 0 offset <integer_cst 0x7fecd3e164b0 0> bit-offset <integer_cst 0x7fecd3e164f8 0> context <record_type 0x7fecd3f9fa80 >
chain <field_decl 0x7fecd3fa0500 field_1 type <array_type 0x7fecd3f9fdc8>
TI (null):0:0
size <integer_cst 0x7fecd3e164c8 constant 128>
unit-size <integer_cst 0x7fecd3e164e0 constant 16>
user align:32 warn_if_not_align:0 offset_align 256 decl_not_flexarray: 0 offset <integer_cst 0x7fecd3e164b0 0> bit-offset <integer_cst 0x7fecd3e164f8 0> context <record_type 0x7fecd3f9fa80 > chain <field_decl 0x7fecd3fa05a0 field_2>>>
pointer_to_this <pointer_type 0x7fecd3fa61f8>>
error: failed to build archive at `/home/sam/git/pkgcraft/target/debug/deps/libtree_sitter-0d20b34fde8c980b.rlib`: failed to open object file: No such file or directory (os error 2)
$ rustc -vV
rustc 1.91.0-nightly (067965d6c 2025-10-27) (gentoo)
binary: rustc
commit-hash: 067965d6cc76bfd49637f46d05ae2111bbd2f121
commit-date: 2025-10-27
host: x86_64-unknown-linux-gnu
release: 1.91.0-nightly
This is with the rust 1.91.0 beta from 20251009 and github.com/rust-lang/rust from b93730ce97c738bdb9209aa973d3fc6fd4ce1d81.
- Lenguaje dominante
- Rust
- Estrellas
- 1.2k
- Forks
- 105
- Merge medio
- 6 h 30 min
- PR fusionados (30 d)
- 22
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
-
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
-
documentation
Dificultad 3/5 1-2 días Aptitud para principiantes 64/100
rust-lang/rustc_codegen_gcc#930 · 5 comentarios ·
Los mantenedores suelen responder en 1 día
Todos los issues de rust-lang/rustc_codegen_gcc
Issues similares
-
agent:triaged bug bughunt pm:bundler priority:p1
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
SocketDev/socket-patch#1573 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
rustix::termios::Termios::OutputModes does not expost some const e.g. OLCUC for musl and macOSAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
bytecodealliance/rustix#1706 · 1 comentario ·
Los mantenedores suelen responder en 11 días
-
`LazyFrameRemote` and `ExecuteRemote` sinks do not accept `Path`, like `LazyFrame` sinks do.Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
-
Bump anybuf version to ^1.0.0Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
wormhole-foundation/wormhole#5062 ·
Los mantenedores suelen responder en 1 día
-
LaunchOrFocusPlugin switches to the wrong tab after tabs are reordered (tab id used as position)Posiblemente ocupada @olegator888 la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
zellij-org/zellij#5719 ·
Los mantenedores suelen responder en 1 día