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

aboot.bb needs 11.4.0/libgcc.a #230

Open
mtb04313 opened this issue Feb 23, 2024 · 0 comments
Open

aboot.bb needs 11.4.0/libgcc.a #230

mtb04313 opened this issue Feb 23, 2024 · 0 comments

Comments

@mtb04313
Copy link

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
LIBGCC = "${STAGING_LIBDIR}/${TARGET_SYS}/11.3.0/libgcc.a"

    changed 11.3.0 -> 11.4.0

Then the error went away.

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

1 participant