Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hello world: section `.data' can't be allocated in segment 0 LOAD: .text .ARM.exidx .copy.table .zero.table .data #3030

Open
asyatrhl opened this issue Jan 3, 2025 · 1 comment

Comments

@asyatrhl
Copy link

asyatrhl commented Jan 3, 2025

Hi,
I want to build hello_world example for arm_cortex_m4 using "make -f tensorflow/lite/micro/tools/make/Makefile TARGET=cortex_m_corstone_300 TARGET_ARCH=cortex-m4 OPTIMIZED_KERNELS=cmsis_nn hello_world" command. But there is an error "section `.data' can't be allocated in segment 0 LOAD: .text .ARM.exidx .copy.table .zero.table .data" How can I solve this?
Thanks.

@asyatrhl asyatrhl changed the title section `.data' can't be allocated in segment 0 LOAD: .text .ARM.exidx .copy.table .zero.table .data Hello world: section `.data' can't be allocated in segment 0 LOAD: .text .ARM.exidx .copy.table .zero.table .data Jan 3, 2025
@ArmRyan
Copy link
Contributor

ArmRyan commented Jan 22, 2025

Hi @asyatrhl This is not really an "error", more of a weird implementation warning I guess. It should still work even with this message.

If you don't find thats the case then can you provide any further info on where it fails?
The output of that make command should still be the hello world binary

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants