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

   For the  `rv-virt:nsh` target, make approach works well, but CMake build 
leads to undefined symbols for `g_symtab` etc.  It seems that `defconfig` has 
`CONFIG_ALLSYMS` off and `CONFIG_NSH_SYMTAB` on. 
   
   Further tests show that:
   
   - When `CONFIG_NSH_SYMTAB` is on and `CONFIG_ALLSYMS` is off, Make build 
works but CMake fails.
   - When both `CONFIG_NSH_SYMTAB` and `CONFIG_ALLSYMS` are off, CMake build 
works.
   - When both  `CONFIG_NSH_SYMTAB` and `CONFIG_ALLSYMS` are on, Makefile build 
works out a larger binary but CMake build leads to undefined `g_symtab` etc.
   
   Is this issue in current CMake system or something else?
   


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