build error! #1413
Unanswered
wenhuafeng
asked this question in
Q&A
build error!
#1413
Replies: 1 comment 3 replies
-
Hello, So the cant move backwards error means that the image did not fit in flash, so its over size. Have you changed anything from the Git checkout? Normally steps would be:
This is the same process as the automatic CI checker so it should work. (Ignore the wchar warnings) |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm so sorry, I'm a newbie!
step 1:
sudo ./start_dev.sh
step 2:
git submodule init
git submodule update
step 3:
REPOSITORY TAG IMAGE ID CREATED SIZE
ironos_builder latest 88ac99ece223 24 hours ago 1.26GB
alpine 3.16 9c6f07244728 5 weeks ago 5.54MB
step 4:
sudo ./build.sh
result:
...
/usr/lib/gcc/arm-none-eabi/11.2.0/../../../../arm-none-eabi/bin/ld: warning: /usr/lib/gcc/arm-none-eabi/11.2.0/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libg_nano.a(lib_a-memmove.o) uses 2-byte wchar_t yet the output is to use 4-byte wchar_t; use of wchar_t values across objects may fail
/usr/lib/gcc/arm-none-eabi/11.2.0/../../../../arm-none-eabi/bin/ld:./Core/BSP/Miniware/stm32f103.ld:121 cannot move location counter backwards (from 000000000800f804 to 000000000800f800)
collect2: error: ld returned 1 exit status
make: *** [Makefile:483: Hexfile/TS80P_ZH_CN.elf] Error 1
make: *** Waiting for unfinished jobs....
...
Beta Was this translation helpful? Give feedback.
All reactions