a75e2704dc
workaround for remove libc depends from kernel api build break on phase 2 userspace link: | arm-none-eabi-ld -o nuttx_user.elf --undefined=nsh_main --entry=nsh_main -T /nuttx/boards/arm/mps/mps2-an500/scripts/memory.ld \ | -T /nuttx/boards/arm/mps/mps2-an500/scripts/user-space.ld -L/nuttx/staging/ -L/nuttx/staging/ -L/nuttx/staging/ -L/nuttx/staging/ \ | -L/nuttx/staging/ -L/nuttx/staging/ mps_userspace.o --start-group -lproxies -lc -lmm -larch -lxx -lapps --end-group \ | "prebuilts/linux/gcc/arm/bin/../lib/gcc/arm-none-eabi/13.3.1/thumb/v7e-m+fp/hard/libgcc.a" | | arm-none-eabi-ld: /nuttx/staging//libc.a(lib_pathbuffer.o): in function `spin_unlock_wo_note': | /nuttx/include/nuttx/spinlock.h:380:(.text.lib_get_pathbuffer+0x298): undefined reference to `g_irq_spin_count' | arm-none-eabi-ld: /nuttx/include/nuttx/spinlock.h:380:(.text.lib_get_pathbuffer+0x29c): undefined reference to `g_irq_spin' | arm-none-eabi-ld: /nuttx/staging//libc.a(lib_pathbuffer.o): in function `lib_put_pathbuffer': | /nuttx/libs/libc/misc/lib_pathbuffer.c:147:(.text.lib_put_pathbuffer+0x210): undefined reference to `g_irq_spin_count' | arm-none-eabi-ld: /nuttx/libs/libc/misc/lib_pathbuffer.c:147:(.text.lib_put_pathbuffer+0x214): undefined reference to `g_irq_spin' | make[1]: *** [Makefile:61: nuttx_user.elf] Error 1 | make[1]: Leaving directory '/nuttx/boards/arm/mps/mps2-an500/kernel' | make: *** [tools/Unix.mk:540: nuttx] Error 2 Signed-off-by: chao an <anchao@lixiang.com> |
||
---|---|---|
.. | ||
arm | ||
arm64 | ||
avr | ||
dummy | ||
hc/m9s12 | ||
mips | ||
misoc/lm32/misoc | ||
or1k/mor1kx/or1k | ||
renesas | ||
risc-v | ||
sim/sim/sim | ||
sparc | ||
tricore/tc3xx/tc397 | ||
x86/qemu/qemu-i486 | ||
x86_64/intel64/qemu-intel64 | ||
xtensa | ||
z16/z16f/z16f2800100zcog | ||
z80 | ||
.gitignore | ||
Board.mk | ||
boardctl.c | ||
CMakeLists.txt | ||
dummy.c | ||
Kconfig | ||
Makefile |