Skip to contentSkip to conversation

LIBDIR not set during xen build

DISCUSSION Olaf Hering 5 participants 8 messages Jul 11, 2012 – Jul 12, 2012

lore
Share & tools
lore
#0 lore raw

How is LIBDIR in xen/Makefile supposed to be set? During 'make xen' all the fine efi stuff is installed in /efi instead of /usr/lib64/efi.
And: is /usr/lib64/efi the correct place anyway?

Olaf

#1 lore raw
Quoted 4 lines · Olaf Hering

How is LIBDIR in xen/Makefile supposed to be set? During 'make xen' all the fine efi stuff is installed in /efi instead of /usr/lib64/efi.
And: is /usr/lib64/efi the correct place anyway?

Are you noticing new broken behavior? Ian C. recently committed a change I made to honor ./configure --libdir=... for tools targets [1], but that shouldn't have affected the xen subtree.

I've not been building with a compiler that supports __ms_abi__, so I've never noticed this.

Matt

[1] http://xenbits.xen.org/hg/xen-unstable.hg/rev/ad08cd8e7097

#2 lore raw
Quoted 9 lines · Matt Wilson
Quoted 4 lines · Olaf Hering

How is LIBDIR in xen/Makefile supposed to be set? During 'make xen' all the fine efi stuff is installed in /efi instead of /usr/lib64/efi.
And: is /usr/lib64/efi the correct place anyway?

Are you noticing new broken behavior? Ian C. recently committed a change I made to honor ./configure --libdir=... for tools targets [1], but that shouldn't have affected the xen subtree.

Matt,

I do indeed notice some build breakage since the last two weeks. But since xen/Makefile did not change I wonder how it worked up to now. I have not yet bisected the issue.

On the other hand, building xen is not supposed to rely on configure. Perhaps an easy change is to just define LIBDIR in xen/Makefile.

Olaf

#3 lore raw
Quoted 12 lines · Olaf Hering
Quoted 9 lines · Matt Wilson
Quoted 4 lines · Olaf Hering

How is LIBDIR in xen/Makefile supposed to be set? During 'make xen' all the fine efi stuff is installed in /efi instead of /usr/lib64/efi.
And: is /usr/lib64/efi the correct place anyway?

Are you noticing new broken behavior? Ian C. recently committed a change I made to honor ./configure --libdir=... for tools targets [1], but that shouldn't have affected the xen subtree.

Quoted 8 lines

Matt,

I do indeed notice some build breakage since the last two weeks. But since xen/Makefile did not change I wonder how it worked up to now. I have not yet bisected the issue.

On the other hand, building xen is not supposed to rely on configure. Perhaps an easy change is to just define LIBDIR in xen/Makefile.

I think that other efi binaries like elilo.efi usually live in /usr/lib64/efi, so perhaps in the short term there should just be an explicit EFIDIR variable in xen/Makefile. Ultimately I think that LIBDIR should follow the ./configure --libdir setting, which would land the efi binaries in the wrong place.

Matt

#4 lore raw
In reply to Matt Wilson
Quoted 6 lines · Matt Wilson
Quoted 4 lines · Olaf Hering

How is LIBDIR in xen/Makefile supposed to be set? During 'make xen' all the fine efi stuff is installed in /efi instead of /usr/lib64/efi.
And: is /usr/lib64/efi the correct place anyway?

Quoted 6 lines

Are you noticing new broken behavior? Ian C. recently committed a change I made to honor ./configure --libdir=... for tools targets [1], but that shouldn't have affected the xen subtree.

I've not been building with a compiler that supports __ms_abi__, so I've never noticed this.

Does this patch help:
http://lists.xen.org/archives/html/xen-devel/2012-07/msg00511.html

Christoph

Quoted 3 lines

Matt

[1] http://xenbits.xen.org/hg/xen-unstable.hg/rev/ad08cd8e7097

Signature · 6 lines
---to satisfy European Law for business letters:
Advanced Micro Devices GmbH
Einsteinring 24, 85689 Dornach b. Muenchen
Geschaeftsfuehrer: Alberto Bozzo, Andrew Bowd
Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen
Registergericht Muenchen, HRB Nr. 43632
#6 lore raw
In reply to Olaf Hering
Quoted 4 lines · Olaf Hering

How is LIBDIR in xen/Makefile supposed to be set? During 'make xen' all the fine efi stuff is installed in /efi instead of /usr/lib64/efi.
And: is /usr/lib64/efi the correct place anyway?

Should the efi tools be moved to tools/?

David

#7 lore raw
Quoted 7 lines · David Vrabel
Quoted 4 lines · Olaf Hering

How is LIBDIR in xen/Makefile supposed to be set? During 'make xen' all the fine efi stuff is installed in /efi instead of /usr/lib64/efi.
And: is /usr/lib64/efi the correct place anyway?

Should the efi tools be moved to tools/?

What are the tools? Or are these the hypervisor efi binaries (in which case wy not install to /boot?)

Ian.