Open mtb04313 opened 7 months ago
Hello,
When I performed these steps, I encountered an error: ./init.sh make build
| linking build-mdm9607/lk | arm-poky-linux-gnueabi-ld.bfd: cannot find /home/yocto/work/pinephone_modem_sdk/yocto/build/tmp/work/cortexa8t2hf-neon-poky-linux-gnueabi/aboot/1.0+git-AUTOINC+427842898b-r0/recipe-sysroot/usr/lib/arm-poky-linux-gnueabi/11.3.0/libgcc.a: No such file or directory | make[1]: Leaving directory '/home/yocto/work/pinephone_modem_sdk/yocto/build/tmp/work/cortexa8t2hf-neon-poky-linux-gnueabi/aboot/1.0+git-AUTOINC+427842898b-r0/git' | make[1]: [make/build.mk:16: build-mdm9607/lk] Error 1 | make: [makefile:20: make-make] Error 2 | make: Leaving directory '/home/yocto/work/pinephone_modem_sdk/yocto/build/tmp/work/cortexa8t2hf-neon-poky-linux-gnueabi/aboot/1.0+git-AUTOINC+427842898b-r0/git' | ERROR: oe_runmake failed | WARNING: exit code 1 from a shell command. NOTE: recipe aboot-1.0+git-AUTOINC+427842898b-r0: task do_compile: Failed ERROR: Task (/home/yocto/work/pinephone_modem_sdk/yocto/meta-qcom/recipes-bootloader/aboot/aboot.bb:do_compile) failed with exit code '1' NOTE: Tasks Summary: Attempted 523 tasks of which 0 didn't need to be rerun and 1 failed.
Summary: 1 task failed: /home/yocto/work/pinephone_modem_sdk/yocto/meta-qcom/recipes-bootloader/aboot/aboot.bb:do_compile Summary: There were 2 ERROR messages, returning a non-zero exit code. make: *** [Makefile:64: aboot] Error 1
So I made a local edit: yocto/meta-qcom/recipes-bootloader/aboot/aboot.bb
LIBGCC = "${STAGING_LIBDIR}/${TARGET_SYS}/**11.3.0**/libgcc.a" changed 11.3.0 -> 11.4.0
Then the error went away.
Hello,
When I performed these steps, I encountered an error: ./init.sh make build
| linking build-mdm9607/lk | arm-poky-linux-gnueabi-ld.bfd: cannot find /home/yocto/work/pinephone_modem_sdk/yocto/build/tmp/work/cortexa8t2hf-neon-poky-linux-gnueabi/aboot/1.0+git-AUTOINC+427842898b-r0/recipe-sysroot/usr/lib/arm-poky-linux-gnueabi/11.3.0/libgcc.a: No such file or directory | make[1]: Leaving directory '/home/yocto/work/pinephone_modem_sdk/yocto/build/tmp/work/cortexa8t2hf-neon-poky-linux-gnueabi/aboot/1.0+git-AUTOINC+427842898b-r0/git' | make[1]: [make/build.mk:16: build-mdm9607/lk] Error 1 | make: [makefile:20: make-make] Error 2 | make: Leaving directory '/home/yocto/work/pinephone_modem_sdk/yocto/build/tmp/work/cortexa8t2hf-neon-poky-linux-gnueabi/aboot/1.0+git-AUTOINC+427842898b-r0/git' | ERROR: oe_runmake failed | WARNING: exit code 1 from a shell command. NOTE: recipe aboot-1.0+git-AUTOINC+427842898b-r0: task do_compile: Failed ERROR: Task (/home/yocto/work/pinephone_modem_sdk/yocto/meta-qcom/recipes-bootloader/aboot/aboot.bb:do_compile) failed with exit code '1' NOTE: Tasks Summary: Attempted 523 tasks of which 0 didn't need to be rerun and 1 failed.
Summary: 1 task failed: /home/yocto/work/pinephone_modem_sdk/yocto/meta-qcom/recipes-bootloader/aboot/aboot.bb:do_compile Summary: There were 2 ERROR messages, returning a non-zero exit code. make: *** [Makefile:64: aboot] Error 1
So I made a local edit: yocto/meta-qcom/recipes-bootloader/aboot/aboot.bb
I need to find a better way for this or it will break on next release
Then the error went away.