[FS#30] x86: SDK: host-compile of grub2 build error - Task opened

lede-bugs at lists.infradead.org lede-bugs at lists.infradead.org
Fri Jun 24 21:58:45 PDT 2016


A new Flyspray task has been opened.  Details are below. 

User who did this - Daniel Dickinson (dfc-d) 

Attached to Project - LEDE Project
Summary - x86: SDK: host-compile of grub2 build error
Task Type - Bug Report
Category - Base system
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - Low
Priority - Very Low
Reported Version - Trunk
Due in Version - Undecided
Due Date - Undecided
Details - When using the SDK on x86_64 and building grub (e.g. for squashfs images), the host-compile phase ends with the following error:

/home/user/Build/openwrt/sdk/lede-sdk--x86-64_gcc-5.3.0_glibc-2.22.Linux-x86_64/staging_dir/host/lib/liblzma.a: error adding symbols: Archive has no index; run ranlib to add one

manually running ranlib from host on liblzma allows the build to succeed.

>From the logs it appears ranlib is never run on liblzma by the grub2 build process.

ranlib is run by tools/xz compile but this doesn't seem to carry over to the SDK staging dir.

Perhaps this is a relocation issue? i.e. does ranlib need to be re-run in the SDK because the path has changed?

More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=30



More information about the lede-bugs mailing list