Repository navigation
Conversation
This comment has been minimized.
This comment has been minimized.
physwkim
force-pushed
the
rtems-fix-5663
branch
from
November 20, 2026 07:02
8784999 to
0b3d6a8
Compare
Contributor
Author
|
@thesummer Backporting this to 0.2 needs compatibility adjustments in std. |
This comment has been minimized.
This comment has been minimized.
Found while running the libc CI downstream (https://github.com/physwkim/libc-downstream-ci). Fix the RTEMS definitions in the libc crate that do not match RTEMS. Link: https://github.com/RTEMS/sourceware-mirror-newlib-cygwin/blob/1b3dcfdc6f1fd2bd3e1ef2f8b7df736c076c6042/newlib/libc/sys/rtems/include/sys/dirent.h#L81-L98 Link: https://github.com/RTEMS/sourceware-mirror-newlib-cygwin/blob/1b3dcfdc6f1fd2bd3e1ef2f8b7df736c076c6042/newlib/libc/sys/rtems/include/sys/_pthreadtypes.h#L47-L65 Link: https://github.com/RTEMS/sourceware-mirror-newlib-cygwin/blob/1b3dcfdc6f1fd2bd3e1ef2f8b7df736c076c6042/newlib/libc/sys/rtems/include/sys/_pthreadtypes.h#L148-L159 Link: https://github.com/RTEMS/sourceware-mirror-newlib-cygwin/blob/1b3dcfdc6f1fd2bd3e1ef2f8b7df736c076c6042/newlib/libc/sys/rtems/include/sys/_pthreadtypes.h#L181-L195 Link: https://github.com/RTEMS/sourceware-mirror-newlib-cygwin/blob/1b3dcfdc6f1fd2bd3e1ef2f8b7df736c076c6042/newlib/libc/sys/rtems/include/sys/_pthreadtypes.h#L248-L253 Link: https://github.com/RTEMS/sourceware-mirror-newlib-cygwin/blob/1b3dcfdc6f1fd2bd3e1ef2f8b7df736c076c6042/newlib/libc/include/sys/sched.h#L48-L61 Link: https://github.com/RTEMS/sourceware-mirror-newlib-cygwin/blob/1b3dcfdc6f1fd2bd3e1ef2f8b7df736c076c6042/newlib/libc/sys/rtems/include/semaphore.h#L40-L43 Link: https://github.com/RTEMS/sourceware-mirror-newlib-cygwin/blob/1b3dcfdc6f1fd2bd3e1ef2f8b7df736c076c6042/newlib/libc/sys/rtems/include/sys/_cpuset.h#L41-L50 Link: https://github.com/RTEMS/sourceware-mirror-newlib-cygwin/blob/1b3dcfdc6f1fd2bd3e1ef2f8b7df736c076c6042/newlib/libc/include/sys/signal.h#L75-L114 Link: https://github.com/RTEMS/sourceware-mirror-newlib-cygwin/blob/1b3dcfdc6f1fd2bd3e1ef2f8b7df736c076c6042/newlib/libc/sys/rtems/include/sys/_termios.h#L224-L236 Link: https://github.com/RTEMS/sourceware-mirror-newlib-cygwin/blob/1b3dcfdc6f1fd2bd3e1ef2f8b7df736c076c6042/newlib/libc/include/pwd.h#L47-L56 Link: https://github.com/RTEMS/sourceware-mirror-newlib-cygwin/blob/1b3dcfdc6f1fd2bd3e1ef2f8b7df736c076c6042/newlib/libc/include/fnmatch.h#L40-L41 Link: https://github.com/RTEMS/sourceware-mirror-newlib-cygwin/blob/1b3dcfdc6f1fd2bd3e1ef2f8b7df736c076c6042/newlib/libc/include/time.h#L283 Link: https://github.com/RTEMS/sourceware-mirror-newlib-cygwin/blob/1b3dcfdc6f1fd2bd3e1ef2f8b7df736c076c6042/newlib/libc/include/sys/stat.h#L47-L49 Link: https://github.com/RTEMS/rtems/blob/8b5a6cb7d64dcecc6b6c6f2377ddecdb860098d5/cpukit/include/sys/utsname.h#L64-L77 Link: https://github.com/RTEMS/sourceware-mirror-newlib-cygwin/blob/1b3dcfdc6f1fd2bd3e1ef2f8b7df736c076c6042/newlib/libc/include/sys/resource.h#L16-L19 Link: https://github.com/gcc-mirror/gcc/blob/b71f1de6e9cf7181a288c0f39f9b1ef6580cf5c8/gcc/config/rtems.h#L50-L52 Link: https://github.com/RTEMS/rtems/blob/de23ff5960decc2db58e75188a0ca28f4c6864d8/cpukit/libcsupport/src/alignedalloc.c#L36 Link: https://github.com/RTEMS/sourceware-mirror-newlib-cygwin/blob/1b3dcfdc6f1fd2bd3e1ef2f8b7df736c076c6042/newlib/libc/include/sys/_types.h#L59-L64 Link: https://github.com/RTEMS/sourceware-mirror-newlib-cygwin/blob/1b3dcfdc6f1fd2bd3e1ef2f8b7df736c076c6042/newlib/libc/include/sys/errno.h#L13-L22 Link: https://github.com/RTEMS/sourceware-mirror-newlib-cygwin/blob/1b3dcfdc6f1fd2bd3e1ef2f8b7df736c076c6042/newlib/libc/include/sys/signal.h#L310-L329 Assisted-by: LLM
physwkim
force-pushed
the
rtems-fix-5663
branch
from
November 23, 2026 00:49
0b3d6a8 to
d7befa5
Compare
Collaborator
|
This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed. Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers. |
Contributor
Author
|
fix conflict with #5757 |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Found while running the libc CI downstream
(https://github.com/physwkim/libc-downstream-ci). Fix the RTEMS
definitions in the libc crate that do not match RTEMS.
Fixes #5663.
Claude was used to write and verify the code. The commit message was
written in Korean and machine-translated.
Checklist
libc-test/semverhave been updated*LASTor*MAXhave the standarddoc comment
cargo test -p libc-test --target mytarget);especially relevant for platforms that may not be checked in CI