RTEMS: types and constants that differ from the RTEMS headers
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
- 35/100
Línea de trabajo
Start with the RTEMS 6 headers and the linked downstream CI log, then inspect the RTEMS-specific definitions and ctest configuration linked from the issue. Compare the listed types, constants, functions and missing declarations against those headers, including the related dirfd and st_atime build failures. Done means the reported ABI mismatches and missing APIs are addressed and the RTEMS checks pass.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
A ctest run against the RTEMS 6 headers on armv7-rtems-eabihf (the downstream CI from #5209, log) finds the differences below. The definitions involved are the same in RTEMS 7 (newlib 7d4336cf), except for the last item, which I only checked on RTEMS 6.
-
direnthas nod_off,d_reclenord_namlen, sod_nameis at 9 instead of 22, and std'sread_dirhandsreaddir_r272 bytes for a 280-byte struct - Size or alignment of
pthread_attr_t,pthread_cond_t,pthread_condattr_t,pthread_mutex_t,pthread_rwlockattr_t,sem_tandcpu_set_t -
sigactionstarts withsa_flagson RTEMS -
termioshas noc_line, but hasc_ispeedandc_ospeed -
uid_tandgid_tareunsigned shortas on espidf, horizon and vita, which also shiftsstat,passwdandgroup -
FNM_NOESCAPEis 1 andFNM_PATHNAMEis 2 -
CLOCK_BOOTTIMEis 7, not 4 (CLOCK_MONOTONIC) -
rusageonly hasru_utimeandru_stime,utsnamehas 48-byte fields and nodomainname, andstathas nost_spare4 -
__errnodoes not exist, errno is thread-local -
aligned_allocresolves to newlib's, which needs the missing_memalign_r, because libc's-lccomes before-qrtems - 36 functions, 22 constants,
loff_t,Dl_infoandrlimitthat RTEMS does not declare or implement (theFIXME(rtems)skips in the ctest config)
libc also lacks msghdr, cmsghdr and 129 of the names in unix.txt for RTEMS, e.g. the termios constants, F_OK and mprotect.
Not listed above because they break the std build rather than show up in ctest: #5655 (dirfd) and rust-lang/rust#164719 (st_atime), which is why the CI uses nightly-2026-10-19.
- Lenguaje dominante
- Rust
- Estrellas
- 2.6k
- Forks
- 1.3k
- Merge medio
- 2 d 13 h
- PR fusionados (30 d)
- 27
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una 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/libc
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 90/100
Los mantenedores suelen responder en 1 día
-
riscv32gc-unknown-linux-gnu: `timex` uses the 32-bit `c_long` layout (144 bytes), glibc's riscv32 `struct timex` is 208 bytesPosiblemente ocupada @compiler-segfault la tomó hace 3 días. AbiertoC-bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
rust-lang/libc#5697 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
Expose `open_how` on AndroidPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
rust-lang/libc#5673 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
RTEMS: `dirfd` is not declaredPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
rust-lang/libc#5655 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
C-bug O-macos
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
rust-lang/libc#5650 · 16 comentarios ·
Los mantenedores suelen responder en 1 día
Todos los issues de rust-lang/libc
Issues similares
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
-
area:frontend kind:bug priority:p3 ready
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
Los mantenedores suelen responder en 1 día
-
bug priority: medium ui
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
storytold/vectorcraft#6333 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
bug lexer
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
Los mantenedores suelen responder en 1 día
-
yara-x fails to build with rsa 0.10.0: unresolved import rsa::Pkcs1v15SignPosiblemente ocupada @CfirTsabari la tomó hoy. Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 87/100
VirusTotal/yara-x#865 ·
Los mantenedores suelen responder en 1 día