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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to