RTEMS Source Builder | newlib: ilp32 Support Removed (#115)

Joel Sherrill (@joel) gitlab at rtems.org
Mon Jul 21 22:43:39 UTC 2025



Joel Sherrill created an issue: https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/issues/115

Assignee: Joel Sherrill

## Summary

Newlib has accepted a patch to delete ilp32 support while it is still present in the latest GCC release (15). In contrast, the nios2 support is still in newlib but GCC 14 was the last to support it. 

This is the commit which removed this support. This issue is to have a place to store the patch reverting this commit so we can move forward.

```
commit de479a54e22e8fcb6262639a8e67fe8b00a27c37
Author: Radek Bartoň <radek.barton at microsoft.com>
Date:   Thu Jun 5 11:32:08 2025 +0200

    newlib: libc: update asmdefs.h compatible with Cygwin AArch64
    
    This patch synchronizes newlib/libc/machine/aarch64/asmdefs.h header with
    version from https://github.com/ARM-software/optimized-routines/commit/4352245388a55a836f3ac9ac5907022c24ab8e4c
    commit that added support for AArch64 Cygwin.
    
    This version of the header removed PTR_ARG and SIZE_ARG macros as ILP32 was
    deprecated which introduced changes in many .S files so the patch contains
    removal of usages of those macros.
    
    On top of that, setjmp.S and rawmemchr.S were refactored to use
    ENTRY/ENTRY_ALIGN and END macros.                                         `
    
    Signed-off-by: Radek Bartoň <radek.barton at microsoft.com>
```




## Steps to reproduce


### Pre-set options

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/issues/115
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20250721/4ae80803/attachment.htm>


More information about the bugs mailing list