liuguo09 opened a new pull request #127: Nightly parallel build fix for 
elf/posix_spawn/module build break
URL: https://github.com/apache/incubator-nuttx-apps/pull/127
 
 
   Makefile: remove context dependency to avoid apps context build twice
      
   In nuttx pass1dep and pass2dep builds, context firstly would be built once.
   It then call 'make -C apps depend' which would trigger the context built 
twice.
   There is race condition between symtab.c generated by mksymtab.sh in second 
time
   and compiling symtab.c in parallel build. So remove context dependency for 
apps
   depend to make sure context build only one time for apps.
       
   Parallel build break logs as below:
   
/home/jenkins/jenkins-slave/workspace/NuttX-Nightly-Build/apps/examples/elf/elf_main.c:357:
 undefined reference to `g_elf_nexports'
   riscv64-unknown-elf-ld: 
/home/jenkins/jenkins-slave/workspace/NuttX-Nightly-Build/apps/examples/elf/elf_main.c:357:
 undefined reference to `g_elf_exports'
   make[1]: *** [nuttx] Error 1
   make: *** [pass2] 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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to