You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2021/06/07 11:31:04 UTC

[GitHub] [incubator-nuttx] AlexanderVasiljev edited a comment on pull request #3836: Make: -nostartfiles -nodefaultlibs are not flags of LD but flags of GCC

AlexanderVasiljev edited a comment on pull request #3836:
URL: https://github.com/apache/incubator-nuttx/pull/3836#issuecomment-855679790


   @gustavonihei  Thank you!
   
   Now I am stuck on spresense:nsh_trace.
   
   spresense:nsh - OK
   
   spresense:nsh_trace - FAILED
   
   ```
   arm-none-eabi-gcc: error: _exit: No such file or directory
   arm-none-eabi-gcc: error: exit: No such file or directory
   arm-none-eabi-gcc: error: getpid: No such file or directory
   ...
   arm-none-eabi-gcc: error: unrecognized command line option '--wrap'; did you mean '--wrapv'?
   arm-none-eabi-gcc: error: unrecognized command line option '--wrap'; did you mean '--wrapv'?
   arm-none-eabi-gcc: error: unrecognized command line option '--wrap'; did you mean '--wrapv'?
   
   ```
   
   I found the reason. It was
   EXTRALINKCMDS += @$(TOPDIR)/syscall/syscall_wraps.ldcmd


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org