Change newlib daddr_t to 64 bits

Chris Johns chrisj at
Tue Oct 27 21:29:24 UTC 2020

On 28/10/20 7:48 am, Joel Sherrill wrote:
> On Tue, Oct 27, 2020, 3:44 PM Chris Johns <chrisj at
> <mailto:chrisj at>> wrote:
>     On 28/10/20 7:14 am, Joel Sherrill wrote:
>     > Chris asked about a patch to newlib to make daddr_t 64-bits since it
>     represents
>     > a disk address.  I haven't tested this because gcc master isn't building
>     for me. 
>     >
>     > If this works Chris, I will post it to newlib.
>     The change works with the RTEMS 6 tools I have. I patched this file manually and
>     the effected code built.
>     Can the change be added to the RBS for the RTEMS 6 tools?
> I can't get gcc master to build to verify this patch.

I will try and patch RTEMS 6 tools using the BSP. Do we have a ticket for this
issue? If not I can create one and then attach the patch.


More information about the devel mailing list