xiaoxiang781216 commented on PR #2375:
URL: https://github.com/apache/nuttx-apps/pull/2375#issuecomment-2096293995
> @acassis @xiaoxiang781216 Do you have any idea about the fail cases? I
have no idea what make these testcases fail.
here is the error:
```
====================================================================================
Configuration/Tool: rv-virt/knetnsh64_smp
------------------------------------------------------------------------------------
Cleaning...
Configuring...
Building NuttX...
% Total % Received % Xferd Average Speed Time Time Time
Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 496k 100 496k 0 0 1736k 0 --:--:-- --:--:-- --:--:--
1736k
/github/workspace/sources/apps /github/workspace/sources/nuttx
Warning: fpu.c:55:8: warning: #warning "FPU test not built; Only available
in the flat build (CONFIG_BUILD_FLAT)" [-Wcpp]
55 | # warning "FPU test not built; Only available in the flat build
(CONFIG_BUILD_FLAT)"
| ^~~~~~~
riscv-none-elf-ld:
/github/workspace/sources/apps/libapps.a(spinlock.c.github.workspace.sources.apps.testing.ostest_1.o):
in function `thread_native_spinlock':
/github/workspace/sources/apps/testing/ostest/spinlock.c:60:(.text.thread_native_spinlock+0x42):
undefined reference to `spin_lock'
riscv-none-elf-ld:
/github/workspace/sources/apps/testing/ostest/spinlock.c:62:(.text.thread_native_spinlock+0x54):
undefined reference to `spin_unlock'
riscv-none-elf-ld:
/github/workspace/sources/apps/libapps.a(spinlock.c.github.workspace.sources.apps.testing.ostest_1.o):
in function `thread_wrt_spinlock':
/github/workspace/sources/apps/testing/ostest/spinlock.c:128:(.text.thread_wrt_spinlock+0x42):
undefined reference to `write_lock'
riscv-none-elf-ld:
/github/workspace/sources/apps/testing/ostest/spinlock.c:131:(.text.thread_wrt_spinlock+0x54):
undefined reference to `write_unlock'
riscv-none-elf-ld:
/github/workspace/sources/apps/libapps.a(spinlock.c.github.workspace.sources.apps.testing.ostest_1.o):
in function `thread_read_spinlock':
/github/workspace/sources/apps/testing/ostest/spinlock.c:109:(.text.thread_read_spinlock+0x56):
undefined reference to `read_lock'
riscv-none-elf-ld:
/github/workspace/sources/apps/testing/ostest/spinlock.c:113:(.text.thread_read_spinlock+0x78):
undefined reference to `read_unlock'
make[3]: *** [/github/workspace/sources/apps/Application.mk:251:
/github/workspace/sources/apps/bin/ostest] Error 1
make[2]: *** [Makefile:52:
/github/workspace/sources/apps/testing/ostest_install] Error 2
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [Makefile:97: .import] Error 2
make: *** [Makefile:103: import] Error 2
/github/workspace/sources/nuttx
```
--
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]