casaroli opened a new pull request, #21321: URL: https://github.com/apache/nuttx/pull/21321
## Summary `lm3s6965-ek:qemu-protected` gives the kernel image the first 128 KiB of flash. On master the kernel image does not fit any more: CI fails in `arm-ti` with ``region `kflash' overflowed by 280 bytes`` for PRs that change no code of this configuration (#21146). Since #21105, `msgget()`, `msgctl()`, `msgsnd()` and `msgrcv()` are system calls, so the system call table links their code into the kernel of every protected build. No program of this configuration uses System V message queues. This PR sets `CONFIG_DISABLE_MQUEUE_SYSV=y`. ## Impact `lm3s6965-ek:qemu-protected` only. CI builds this configuration (`arm-ti`) and runs nothing on it. No program in nuttx-apps uses `msgget()`. ## Testing Arm GNU Toolchain 13.2.1 (the version CI uses), Make build, nuttx master 1080f1400be, nuttx-apps master b86baecee. Bytes used of 131072 in each half: | nuttx | kernel half | user half | | --- | --- | --- | | master | overflowed by 288 | 127176 | | this PR | 129720 | 127176 | | this PR + #21216 | 129880 | 127176 | | this PR + #21128 | 129896 | 127320 | | this PR + #21144 | 129760 | 127176 | The defconfig is unchanged by `make savedefconfig`. `tools/checkpatch.sh -c -u -m -g` passes. I have not run the configuration under QEMU. -- 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]
