[PING] [PATCH] newlib/libc/stdbit: Fix static assertions for 16-bit int

Joel Sherrill joel@rtems.org
Tue Sep 15 17:23:58 GMT 2026


Thanks Jeff. I am sorry this got away from me.

As to tracking changes versus the original source, over at RTEMS we have
learned the hard way over the years that not tracking project specific
changes
versus the unmolested upstream makes updating things easier. We started
doing this in earnest with our port of FreeBSD TCP/IP along with other
FreeBSD capabilities including NVME, USB, SDIO, and more. We can
back off our changes, update the FreeBSD source, and then reapply our
changes as a patch.

Newlib has a lot of code from third party projects and could probably
benefit from this but there is technical debt to get there. Over at RTEMS,
we did a good job "libbsd" but working through other third party code is
time consuming to get this work pattern applied.

--joel


On Tue, Sep 15, 2026 at 11:13 AM Jeff Johnston <jjohnstn@redhat.com> wrote:

> Pushed.  I have modified the initial patch to add checks for __NEWLIB_H__
> which will only occur when building newlib.  This should alleviate Joel's
> concern.
> If there are any issues, feel free to provide another patch.
>
> -- Jeff J.
>
> On Tue, Sep 15, 2026 at 4:44 AM Jan Dubiec <jdx@o2.pl> wrote:
>
>> Gentle ping. Building newlib is still broken for targets with a 16-bit
>> int…
>>
>> /J.D.
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://sourceware.org/pipermail/newlib/attachments/20260915/4ae093c1/attachment.htm>


More information about the Newlib mailing list