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

   it's strange that ci report the error not relate to this patch directly:
   ```
   
====================================================================================
   Cmake in present: nrf9160-dk/nsh,CONFIG_ARM_TOOLCHAIN_GNU_EABI
   Configuration/Tool: nrf9160-dk/nsh,CONFIG_ARM_TOOLCHAIN_GNU_EABI
   2025-12-19 08:30:23
   
------------------------------------------------------------------------------------
     Cleaning...
     Configuring...
     Select HOST_LINUX=y
     Disabling CONFIG_ARM_TOOLCHAIN_GNU_EABI
     Enabling CONFIG_ARM_TOOLCHAIN_GNU_EABI
     Building NuttX...
   [1/4] cd /github/workspace/sources/nuttx/build/libs/libc/misc && 
/usr/local/bin/cmake -E touch 
/github/workspace/sources/nuttx/libs/libc/misc/lib_utsname.c
   [2/4] Linking C executable nuttx
   FAILED: nuttx 
   : && /tools/ccache/bin/arm-none-eabi-gcc  --specs=nosys.specs   
-Wl,--print-memory-usage -Wl,--entry=__start -nostdlib -Wl,--gc-sections 
-Wl,--cref -Wl,-Map=nuttx.map @CMakeFiles/nuttx.rsp -o nuttx  && :
   
/tools/gcc-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/13.2.1/../../../../arm-none-eabi/bin/ld:
 arch/libarch.a(nrf91_start.c.obj): in function `__start':
   
/github/workspace/sources/nuttx/arch/arm/src/nrf91/nrf91_start.c:232:(.text.__start+0x5e):
 undefined reference to `arm_fpuconfig'
   
/tools/gcc-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/13.2.1/../../../../arm-none-eabi/bin/ld:
 arch/libarch.a(nrf91_spu.c.obj): in function `nrf91_spu_configure':
   
/github/workspace/sources/nuttx/arch/arm/src/nrf91/nrf91_spu.c:188:(.text.nrf91_spu_configure+0x4):
 undefined reference to `sau_control'
   
/tools/gcc-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/13.2.1/../../../../arm-none-eabi/bin/ld:
 arch/libarch.a(nrf91_errata.c.obj): in function `nrf91_uicr_recover':
   
/github/workspace/sources/nuttx/arch/arm/src/nrf91/nrf91_errata.c:131:(.text.nrf91_uicr_recover+0x64):
 undefined reference to `up_systemreset'
   
/tools/gcc-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/13.2.1/../../../../arm-none-eabi/bin/ld:
 arch/libarch.a(nrf91_irq.c.obj): in function `up_irqinitialize':
   
/github/workspace/sources/nuttx/arch/arm/src/nrf91/nrf91_irq.c:315:(.text.up_irqinitialize+0xb8):
 undefined reference to `_vectors'
   
/tools/gcc-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/13.2.1/../../../../arm-none-eabi/bin/ld:
 
/github/workspace/sources/nuttx/arch/arm/src/nrf91/nrf91_irq.c:315:(.text.up_irqinitialize+0xc0):
 undefined reference to `arm_svcall'
   
/tools/gcc-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/13.2.1/../../../../arm-none-eabi/bin/ld:
 
/github/workspace/sources/nuttx/arch/arm/src/nrf91/nrf91_irq.c:315:(.text.up_irqinitialize+0xc4):
 undefined reference to `arm_hardfault'
   
/tools/gcc-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/13.2.1/../../../../arm-none-eabi/bin/ld:
 
/github/workspace/sources/nuttx/arch/arm/src/nrf91/nrf91_irq.c:315:(.text.up_irqinitialize+0xcc):
 undefined reference to `arm_memfault'
   
/tools/gcc-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/13.2.1/../../../../arm-none-eabi/bin/ld:
 
/github/workspace/sources/nuttx/arch/arm/src/nrf91/nrf91_irq.c:315:(.text.up_irqinitialize+0xd0):
 undefined reference to `arm_busfault'
   
/tools/gcc-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/13.2.1/../../../../arm-none-eabi/bin/ld:
 
/github/workspace/sources/nuttx/arch/arm/src/nrf91/nrf91_irq.c:315:(.text.up_irqinitialize+0xd4):
 undefined reference to `arm_usagefault'
   
/tools/gcc-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/13.2.1/../../../../arm-none-eabi/bin/ld:
 sched/libsched.a(nx_start.c.obj): in function `idle_group_initialize':
   
/github/workspace/sources/nuttx/sched/init/nx_start.c:471:(.text.nx_start+0xca):
 undefined reference to `up_initial_state'
   
/tools/gcc-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/13.2.1/../../../../arm-none-eabi/bin/ld:
 sched/libsched.a(assert.c.obj): in function `_assert':
   
/github/workspace/sources/nuttx/sched/misc/assert.c:875:(.text._assert+0x6c): 
undefined reference to `up_saveusercontext'
   
/tools/gcc-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/13.2.1/../../../../arm-none-eabi/bin/ld:
 sched/libsched.a(task_setup.c.obj): in function `nxthread_setup_scheduler':
   
/github/workspace/sources/nuttx/sched/task/task_setup.c:481:(.text.nxthread_setup_scheduler+0xd2):
 undefined reference to `up_initial_state'
   
/tools/gcc-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/13.2.1/../../../../arm-none-eabi/bin/ld:
 arch/libarch.a(nrf91_systick.c.obj): in function `up_timer_initialize':
   
/github/workspace/sources/nuttx/arch/arm/src/nrf91/nrf91_systick.c:64:(.text.up_timer_initialize+0xa):
 undefined reference to `systick_initialize'
   
/tools/gcc-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/13.2.1/../../../../arm-none-eabi/bin/ld:
 sched/libsched.a(sig_dispatch.c.obj): in function `nxsig_queue_action':
   
/github/workspace/sources/nuttx/sched/signal/sig_dispatch.c:187:(.text.nxsig_tcbdispatch+0x21c):
 undefined reference to `up_schedule_sigaction'
   Memory region         Used Size  Region Size  %age Used
            progmem:       66172 B         1 MB      6.31%
            datamem:        5556 B       256 KB      2.12%
   collect2: error: ld returned 1 exit status
   ninja: build stopped: subcommand failed.
   cp: cannot stat 'nuttx.bin': No such file or directory
   cp: cannot stat 'nuttx.bin': No such file or directory
   ```
   @anjiahao1 please find the root cause.


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