You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "W-Mai (via GitHub)" <gi...@apache.org> on 2024/04/07 09:28:44 UTC

Re: [PR] kasan: Complete the creation of global variable shadow areas during c… [nuttx]

W-Mai commented on PR #11917:
URL: https://github.com/apache/nuttx/pull/11917#issuecomment-2041385199

   `camke -GNinja -DNUTTX_APPS_DIR=../apps -DBOARD_CONFIG=sim:posix_test ..`
   
   I tested `sim:posix` locally and got such an error.
   
   ```bash
   /opt/homebrew/Cellar/llvm/17.0.6/bin/clang -Wstrict-prototypes -g -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.4.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names  CMakeFiles/nuttx.dir/arch/sim/src/sim/posix/sim_hostirq.c.o CMakeFiles/nuttx.dir/arch/sim/src/sim/posix/sim_hostmemory.c.o CMakeFiles/nuttx.dir/arch/sim/src/sim/posix/sim_hostmisc.c.o CMakeFiles/nuttx.dir/arch/sim/src/sim/posix/sim_hosttime.c.o CMakeFiles/nuttx.dir/arch/sim/src/sim/posix/sim_hostuart.c.o CMakeFiles/nuttx.dir/arch/sim/src/sim/posix/sim_testset.c.o CMakeFiles/nuttx.dir/arch/sim/src/sim/posix/sim_hostfs.c.o CMakeFiles/nuttx.dir/empty.c.o -o nuttx  nuttx.rel  -lpthread  -lz  -lc++abi  -lm && :
   Undefined symbols for architecture arm64:
     "_g_allsyms", referenced from:
         _main in nuttx.rel
         _main in nuttx.rel
         _main in nuttx.rel
         _main in nuttx.rel
         _main in nuttx.rel
         _main in nuttx.rel
     "_g_nallsyms", referenced from:
         _main in nuttx.rel
         _main in nuttx.rel
         _main in nuttx.rel
         _main in nuttx.rel
         _main in nuttx.rel
   ld: symbol(s) not found for architecture arm64
   ```
   
   If there is a problem with the generation of the elf file, resulting in an error in the parsing of the python script, it makes sensible.


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