You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "chirping78 (via GitHub)" <gi...@apache.org> on 2025/11/28 12:47:40 UTC
[PR] libs/libc/arm: add back __aeabi_mem* functions [nuttx]
chirping78 opened a new pull request, #17400:
URL: https://github.com/apache/nuttx/pull/17400
## Summary
Add back `__aeabi_mem*` functions since clang will use them.
How to reproduce the issue:
- prepare clang toolchain, I'm using this one: https://github.com/arm/arm-toolchain/releases/download/release-21.1.1-ATfE/ATfE-21.1.1-Linux-x86_64.tar.xz
- compile `mps3-an547:clang`, with `CONFIG_BUILTIN_COMPILER_RT` disabled
The error message:
```
ld.lld: error: undefined symbol: __aeabi_memclr
>>> referenced by assert.c:355 (/source/NuttX/nuttx/sched/misc/assert.c:355)
>>> assert.o:(dump_task) in archive /source/NuttX/nuttx/staging/libsched.a
ld.lld: error: undefined symbol: __aeabi_memclr8
>>> referenced by wdog.c:359 (/source/NuttX/apps/testing/ostest/wdog.c:359)
>>> wdog.c.source.NuttX.apps.testing.ostest_1.o:(wdog_test) in archive /source/NuttX/nuttx/staging/libapps.a
```
## Impact
libc/arm
## Testing
compile `mps3-an547:clang`, with `CONFIG_BUILTIN_COMPILER_RT` disabled
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] libs/libc/arm: add back __aeabi_mem* functions [nuttx]
Posted by "chirping78 (via GitHub)" <gi...@apache.org>.
chirping78 commented on PR #17400:
URL: https://github.com/apache/nuttx/pull/17400#issuecomment-3589249928
Besides the issue of `mps3-an547:clang` as I said in Summary, there is another similar issue https://github.com/apache/nuttx/pull/7175#issuecomment-3574887425 which can be resolved by this PR.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] libs/libc/arm: add back __aeabi_mem* functions [nuttx]
Posted by "acassis (via GitHub)" <gi...@apache.org>.
acassis merged PR #17400:
URL: https://github.com/apache/nuttx/pull/17400
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org