xiaoxiang781216 commented on PR #19184:
URL: https://github.com/apache/nuttx/pull/19184#issuecomment-4760794394

   Added local `sim:nsh` build validation log.
   
   Environment:
   - NuttX: `c7760655521131bbb441d5d6fbe3ef015a132b8e` (`drivers/serial: add 
job-control TTY ioctls and libc wrappers`)
   - Apps: upstream `apache/nuttx-apps` 
`75ee4d90907d905676ebd52366f2ab04cdfacebe`
   - Test workspace: clean detached NuttX worktree with upstream apps as sibling
   - Host tools: prepended local prebuilt build tools for 
`kconfig-tweak`/`genromfs`
   
   Commands:
   ```sh
   ./tools/configure.sh -l -E -a ../apps sim:nsh
   # Local host-build workaround: sim Make.defs emits 
-Wstack-usage=$(CONFIG_STACK_USAGE_WARNING)
   # so set a non-empty warning threshold for this local build environment.
   echo CONFIG_STACK_USAGE_WARNING=2048 >> .config
   make olddefconfig
   make -j$(nproc)
   ```
   
   Result:
   ```text
   rc=0
   ...
   LD:  nuttx
   Pac SIM with dynamic libs..
   '/lib/x86_64-linux-gnu/libz.so.1' -> 'sim-pac/libs/libz.so.1'
   '/lib/x86_64-linux-gnu/libc.so.6' -> 'sim-pac/libs/libc.so.6'
   '/lib64/ld-linux-x86-64.so.2' -> 'sim-pac/ld-linux-x86-64.so.2'
   SIM elf with dynamic libs archive in nuttx.tgz
   ```
   
   Full local log saved at `/tmp/pr19184-test/sim-nsh-clean.log` in my 
workspace.


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