raiden00pl opened a new issue, #10401:
URL: https://github.com/apache/nuttx/issues/10401

   There is no problems when building with cmake for armv7-m targets, but the 
same configuration doesn't work with make:
   
   ```
   ./tools/configure.sh nucleo-h745zi:nsh_cm7_rptun 
   make -j
   ...
   LD: nuttx                                                                    
                                                                                
                           
   arm-none-eabi-ld: 
/home/raiden00/git/RTOS/nuttx/nuttx/staging/libopenamp.a(remoteproc_virtio.o): 
in function `metal_io_read':
   /home/raiden00/git/RTOS/nuttx/nuttx/include/metal/io.h:252: undefined 
reference to `__atomic_load_8'
   arm-none-eabi-ld: 
/home/raiden00/git/RTOS/nuttx/nuttx/staging/libopenamp.a(remoteproc_virtio.o): 
in function `metal_io_write':
   /home/raiden00/git/RTOS/nuttx/nuttx/include/metal/io.h:290: undefined 
reference to `__atomic_store_8'
   make[1]: *** [Makefile:197: nuttx] Error 1
   ```
   
   The problem doesn't occur for armv8-m targets:
   
   ```
   ./tools/configure.sh nrf5340-dk:rptun_cpunet
   make -j
   ...
   LD: nuttx                                                                    
                                                                                
                         
   CP: nuttx.hex
   CP: nuttx.bin
   ```


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