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/10 11:33:29 UTC

[GitHub] [incubator-nuttx] masayuki2009 commented on pull request #3836: Make: -nostartfiles -nodefaultlibs are not flags of LD but flags of GCC

masayuki2009 commented on pull request #3836:
URL: https://github.com/apache/incubator-nuttx/pull/3836#issuecomment-858544411


   Hmmm, my build test failed.
   
   ```
   make[2]: Leaving directory '/mnt/m2ssd/opensource/github_masayuki2009-buildtest2/nuttx/boards/sim/sim/sim/src'
   CPP:  nuttx-names.in-> nuttx-names.dat
   cc -E -P -x c -isystem "/mnt/m2ssd/opensource/github_masayuki2009-buildtest2/nuttx/include" -D__NuttX__ -U_AIX -U_WIN32 -U__APPLE__ -U__FreeBSD__ -U__NetBSD__ -U__linux__ -U__sun__ -U__unix__ -D__KERNEL__ -Wno-cpp -Werror -fshort-wchar -I "/mnt/m2ssd/opensource/github_masayuki2009-buildtest2/nuttx/arch/sim/src" -I "/mnt/m2ssd/opensource/github_masayuki2009-buildtest2/nuttx/arch/sim/src/chip" -I "/mnt/m2ssd/opensource/github_masayuki2009-buildtest2/nuttx/sched"   nuttx-names.in -o  nuttx-names.dat
   echo "LD:  nuttx"
   LD:  nuttx
   gcc -r  -L"/mnt/m2ssd/opensource/github_masayuki2009-buildtest2/nuttx/staging" -L board  -o nuttx.rel up_head.o up_smpsignal.o -Wl,--start-group -lsched -ldrivers -lboards -lc -lmm -larch -lapps -lfs -lbinfmt -lboard  -Wl,--end-group
   /usr/bin/ld: cannot find -lgcc_s
   /usr/bin/ld: cannot find -lgcc_s
   collect2: error: ld returned 1 exit status
   Makefile:313: recipe for target 'nuttx' failed
   make[1]: *** [nuttx] Error 1
   make[1]: Leaving directory '/mnt/m2ssd/opensource/github_masayuki2009-buildtest2/nuttx/arch/sim/src'
   tools/Makefile.unix:422: recipe for target 'nuttx' failed
   make: *** [nuttx] Error 2
   ```


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