-
Notifications
You must be signed in to change notification settings - Fork 855
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
Comments
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? |
Hi @asyatrhl, I think hello_world will just build the binary and test_hello_world will actually run the test. Is it working for you? |
Hi @mansnils, when I try to build the hello_world example for arm_cortex_m4 (did not change anything on the cloned repository) the above error still occurs. When I try to build hello_world example for riscv there is no such warning. |
@asyatrhl as Ryan mentioned the error msg is just a warning. I was able to run your command:
Now if you are using your own linker script I can't reproduce or guarantee it is working. |
@mansnils When I do not use my own linker there is an error "section `.data' can't be allocated in segment 0 LOAD: .text .ARM.exidx .copy.table .zero.table .data". (as I explained before, i do not change anything, and just run "make -f tensorflow/lite/micro/tools/make/Makefile TARGET=cortex_m_corstone_300 TARGET_ARCH=cortex-m4 OPTIMIZED_KERNELS=cmsis_nn hello_world"). |
Hi @asyatrhl |
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.
The text was updated successfully, but these errors were encountered: