This is an automated email from the ASF dual-hosted git repository.

acassis pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit d7b71b3e77b2dfb0281d3007fb14b1f3559d81b9
Author: Marco Casaroli <[email protected]>
AuthorDate: Mon Nov 2 19:41:52 2026 +0100

    boards/qemu-intel64: Enable the exit functions in citest_smp.
    
    citest_smp builds the LTP test pthread_exit/6-1, which calls atexit()
    (CONFIG_SCHED_CHILD_STATUS is set).  With CONFIG_LIBC_MAX_EXITFUNS=0
    atexit() is not built, so the image would not link.  Set it to 1, as
    the other citest configurations set it to 32.  The LTP tests
    pthread_exit/4-1 and 5-1 still need 32 and stay out.
    
    Assisted-by: Claude Code:claude-opus-5-5
    Signed-off-by: Marco Casaroli <[email protected]>
---
 boards/x86_64/qemu/qemu-intel64/configs/citest_smp/defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/boards/x86_64/qemu/qemu-intel64/configs/citest_smp/defconfig 
b/boards/x86_64/qemu/qemu-intel64/configs/citest_smp/defconfig
index 9d61302ad80..983fe338724 100644
--- a/boards/x86_64/qemu/qemu-intel64/configs/citest_smp/defconfig
+++ b/boards/x86_64/qemu/qemu-intel64/configs/citest_smp/defconfig
@@ -77,6 +77,7 @@ CONFIG_IOB_NBUFFERS=1024
 CONFIG_IOB_NCHAINS=255
 CONFIG_LIBC_EXECFUNCS=y
 CONFIG_LIBC_LOCALE=y
+CONFIG_LIBC_MAX_EXITFUNS=1
 CONFIG_LIBC_MEMFD_ERROR=y
 CONFIG_LIBM=y
 CONFIG_NET=y

Reply via email to