Bug 6053 - gnu-efi: LIBDIR is incorrect
Summary: gnu-efi: LIBDIR is incorrect
Status: VERIFIED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 1.6
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 1.6 M5
Assignee: Robert Yang
QA Contact: Andra Necula
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2014-03-27 06:00 UTC by Robert Yang
Modified: 2014-09-08 08:57 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Yang 2014-03-27 06:00:21 UTC
Its LIBDIR in Makefile is:

LIBDIR = $(PREFIX)/lib

This is incorrect for 64 bit bsp, thus will cause build failures on gummiboot:

x86_64-wrs-linux-ld: cannot open linker script file /home/build/lyang1/testre/bitbake_build/tmp/sysroots/qemux86-64/usr/lib64/elf_x86_64_efi.lds: No such file or directory
Comment 1 Darren Hart 2014-03-27 15:14:13 UTC
This builds for me on a 64b BSP... are you doing something else unique here?
Comment 2 Darren Hart 2014-03-27 15:14:55 UTC
multilib?
Comment 3 Robert Yang 2014-03-28 02:27:50 UTC
(In reply to comment #2)
> multilib?

It works well if the ${libdir} of 64bit is /usr/lib, but it doesn't work if it is /usr/lib64.

Merged into master:
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=e69f3081e9877352e11b862bf145e7bd21efe219
Comment 4 Andra Necula 2014-09-08 08:57:22 UTC
Hello,

I just checked building gummiboot and it succeeded for x64. I will mark this call as verified.

Andra