2023-08-24 08:22 PM
Dear All, I have followed the instruction as per Intro to Embedded Linux Part 2 - Yocto Project.The compilation for layer kirkstone. When i run the command "bitbake core-image-minimal" it give error after 4 hours of work.
The error is pasted below.
/home/mypc/Projects/yocto/build-mp1/tmp/work/stm32mp1-poky-linux-gnueabi/m4projects-stm32mp1/1.6.0-r0/git/Projects/STM32MP157C-EV1/Demonstrations/AI_Character_Recognition/Src/app_x-cube-ai.c:91:3: internal compiler error: Illegal instruction
| 91 | if(imax >= 0 && max > 0.5F)
| | ^~
| 0x1521b50 diagnostic_impl(rich_location*, diagnostic_metadata const*, int, char const*, __va_list_tag (*) [1], diagnostic_t)
| ???:0
| 0x15227d6 internal_error(char const*, ...)
| ???:0
| 0xb7838f crash_signal(int)
| ???:0
| 0x1721239 __gmpn_tdiv_qr
| ???:0
| 0x17036ed parsed_string_to_mpfr
| ???:0
| 0x1704497 mpfr_strtofr
| ???:0
| 0xae57ec real_from_string(real_value*, char const*)
| ???:0
| 0xae61cb real_from_string3(real_value*, char const*, format_helper)
| ???:0
| 0x6e33a6 interpret_float(cpp_token const*, unsigned int, char const*, overflow_type*)
| ???:0
| 0x6e43c7 c_lex_with_flags(tree_node**, unsigned int*, unsigned char*, int)
| ???:0
| 0x66cbbe c_lex_one_token(c_parser*, c_token*, bool)
| ???:0
| 0x67d33c c_parser_cast_expression(c_parser*, c_expr*)
| ???:0
| 0x67dde6 c_parser_binary_expression(c_parser*, c_expr*, tree_node*)
| ???:0
| 0x67e905 c_parser_conditional_expression(c_parser*, c_expr*, tree_node*)
| ???:0
| 0x67ef04 c_parser_expr_no_commas(c_parser*, c_expr*, tree_node*)
| ???:0
| 0x67f1b2 c_parser_expression(c_parser*)
| ???:0
| 0x67f8cb c_parser_expression_conv(c_parser*)
| ???:0
| 0x67f962 c_parser_condition(c_parser*)
| ???:0
| 0x67fa0f c_parser_paren_condition(c_parser*)
| ???:0
| 0x696148 c_parser_statement_after_labels(c_parser*, bool*, vec<tree_node*, va_heap, vl_ptr>*)
| ???:0
| Please submit a full bug report,
| with preprocessed source if appropriate.
| Please include the complete backtrace with any bug report.
| See <https://bugs.linaro.org/> for instructions.
| make: *** [/home/mypc/Projects/yocto/build-mp1/tmp/work/stm32mp1-poky-linux-gnueabi/m4projects-stm32mp1/1.6.0-r0/Makefile.stm32:64: /home/mypc/Projects/yocto/build-mp1/tmp/work/stm32mp1-poky-linux-gnueabi/m4projects-stm32mp1/1.6.0-r0/build/STM32MP157C-EV1/Demonstrations/AI_Character_Recognition/out/Debug//home/mypc/Projects/yocto/build-mp1/tmp/work/stm32mp1-poky-linux-gnueabi/m4projects-stm32mp1/1.6.0-r0/git/Projects/STM32MP157C-EV1/Demonstrations/AI_Character_Recognition/Src/app_x-cube-ai.c.o] Error 1
| make: *** Waiting for unfinished jobs....
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
ERROR: Task (/home/mypc/Projects/yocto/meta-st-stm32mp/recipes-extended/m4projects/m4projects-stm32mp1.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2704 tasks of which 2702 didn't need to be rerun and 1 failed.
Summary: 1 task failed:
/home/mypc/Projects/yocto/meta-st-stm32mp/recipes-extended/m4projects/m4projects-stm32mp1.bb:do_compile
Summary: There were 2 ERROR messages, returning a non-zero exit code.
Solved! Go to Solution.
2023-09-14 03:02 AM - edited 2023-09-14 03:04 AM
2023-09-14 03:02 AM - edited 2023-09-14 03:04 AM