lvanasse opened a new issue, #2836:
URL: https://github.com/apache/nuttx-apps/issues/2836

   ### Description / Steps to reproduce the issue
   
   To reproduce the issue:
   1. Configure for the `nucleo-l452re` config: ./tools/configure.sh -E -l 
nucleo-l452re:nsh
   2. In the `make menuconfig` enable the `USERLED` option for `LED Driver`
   3. In the `make menuconfig` enable the `EXAMPLES_LEDS_RUST` option, and 
leave everything as default
   4. Compile with `make -j`
   
   And you should have this error message:
   
   ```bash
   arm-none-eabi-ld: 
/home/ludovic/Code/nuttx_ws/nuttx/staging/libapps.a(leds_rust_main.rs.home.ludovic.Code.nuttx_ws.apps.examples.leds_rust_1.o):
 in function `leds_rust_main::nuttx::safe_puts':
   /home/ludovic/Code/nuttx_ws/apps/examples/leds_rust/nuttx.rs:108: undefined 
reference to `__aeabi_memclr'
   arm-none-eabi-ld: 
/home/ludovic/Code/nuttx_ws/apps/examples/leds_rust/nuttx.rs:108: undefined 
reference to `__aeabi_memclr'
   arm-none-eabi-ld: 
/home/ludovic/Code/nuttx_ws/nuttx/staging/libapps.a(leds_rust_main.rs.home.ludovic.Code.nuttx_ws.apps.examples.leds_rust_1.o):
 in function `leds_rust_main::nuttx::safe_open':
   /home/ludovic/Code/nuttx_ws/apps/examples/leds_rust/nuttx.rs:77: undefined 
reference to `__aeabi_memclr'
   arm-none-eabi-ld: 
/home/ludovic/Code/nuttx_ws/nuttx/staging/libapps.a(leds_rust_main.rs.home.ludovic.Code.nuttx_ws.apps.examples.leds_rust_1.o):
 in function `leds_rust_main::nuttx::safe_puts':
   /home/ludovic/Code/nuttx_ws/apps/examples/leds_rust/nuttx.rs:108: undefined 
reference to `__aeabi_memclr'
   arm-none-eabi-ld: 
/home/ludovic/Code/nuttx_ws/apps/examples/leds_rust/nuttx.rs:108: undefined 
reference to `__aeabi_memclr4'
   arm-none-eabi-ld: 
/home/ludovic/Code/nuttx_ws/apps/examples/leds_rust/nuttx.rs:108: undefined 
reference to `__aeabi_memclr'
   make[1]: *** [Makefile:212: nuttx] Error 1
   make: *** [tools/Unix.mk:551: nuttx] Error 2
   ```
   
   ### On which OS does this issue occur?
   
   [OS: Linux]
   
   ### What is the version of your OS?
   
   Ubuntu 22.04 LTS
   
   ### NuttX Version
   
   master - e2a21337ac5be663a8e6d9a82baa64b93cc19755 and stable 12.7
   
   ### Issue Architecture
   
   [Arch: arm]
   
   ### Issue Area
   
   [Area: Examples]
   
   ### Verification
   
   - [X] I have verified before submitting the report.


-- 
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