Skip to content

Comments

arch/arm/src/armv6-m/CMakeLists.txt: fix undefined reference to `up_show_cpuinfo'#16227

Merged
xiaoxiang781216 merged 1 commit intoapache:masterfrom
simbit18:simbit18-arm_cpuinfo.c
Apr 16, 2025
Merged

arch/arm/src/armv6-m/CMakeLists.txt: fix undefined reference to `up_show_cpuinfo'#16227
xiaoxiang781216 merged 1 commit intoapache:masterfrom
simbit18:simbit18-arm_cpuinfo.c

Conversation

@simbit18
Copy link
Contributor

Summary

Aligned Cmakefile with Make.defs PR #10132

fix

D:/nx20250410/tools/gcc-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/13.2.1/../../../../arm-none-eabi/bin/ld.exe: fs/libfs.a(fs_procfscpuinfo.c.obj): in function cpuinfo_read': D:/rp2040/nuttx/fs/procfs/fs_procfscpuinfo.c:160:(.text.cpuinfo_read+0xa): undefined reference to up_show_cpuinfo'

Impact

Impact on user: NO

Impact on build: This PR fix Cmake build

Impact on hardware: NO

Impact on documentation: NO

Impact on security: NO

Impact on compatibility: NO

Testing

local

@github-actions github-actions bot added Arch: arm Issues related to ARM (32-bit) architecture Size: XS The size of the change in this PR is very small labels Apr 16, 2025
…how_cpuinfo'

Aligned Cmakefile with Make.defs PR apache#10132

fix

FAILED: nuttx
C:\WINDOWS\system32\cmd.exe /C "cd . && D:\nx20250410\tools\gcc-arm-none-eabi\bin\arm-none-eabi-gcc.exe  --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 && cd ."
D:/nx20250410/tools/gcc-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/13.2.1/../../../../arm-none-eabi/bin/ld.exe: fs/libfs.a(fs_procfscpuinfo.c.obj): in function `cpuinfo_read':
D:/rp2040/nuttx/fs/procfs/fs_procfscpuinfo.c:160:(.text.cpuinfo_read+0xa): undefined reference to `up_show_cpuinfo'

Signed-off-by: simbit18 <simbit18@gmail.com>
@simbit18 simbit18 force-pushed the simbit18-arm_cpuinfo.c branch from cbb7bdc to 9285628 Compare April 16, 2025 11:24
@xiaoxiang781216 xiaoxiang781216 merged commit 7af6b8c into apache:master Apr 16, 2025
25 checks passed
@simbit18 simbit18 deleted the simbit18-arm_cpuinfo.c branch April 16, 2025 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Arch: arm Issues related to ARM (32-bit) architecture Size: XS The size of the change in this PR is very small

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants