build failure in efi_init_memory
Current xen-unstable, 27010:e5562e4b7558, fails to build in openSuSE 12.1 and later:
[ 216s] make[4]: Entering directory `/home/abuild/rpmbuild/BUILD/xen-4.3.27010/dbg/xen/arch/x86/efi'
...
[ 216s] boot.c: In function 'efi_init_memory': [ 216s] boot.c:1574:13: error: implicit declaration of function 'map_pages_to_xen' [-Werror=implicit-function-declaration] [ 216s] boot.c:1574:13: error: nested extern declaration of 'map_pages_to_xen' [-Werror=nested-externs]
...
I think 26964:fcd0f296f907 did built ok, but I'm not sure.
Olaf
Quoted 16 lines
Quoted 1 line
Quoted 1 line · Olaf Hering
Current xen-unstable, 27010:e5562e4b7558, fails to build in openSuSE 12.1 and later:
[ 216s] make[4]: Entering directory `/home/abuild/rpmbuild/BUILD/xen-4.3.27010/dbg/xen/arch/x86/efi'
...
[ 216s]boot.c: In function 'efi_init_memory':
[ 216s] boot.c:1574:13: error: implicit declaration of function 'map_pages_to_xen' [-Werror=implicit-function-declaration] [ 216s] boot.c:1574:13: error: nested extern declaration of 'map_pages_to_xen' [-Werror=nested-externs]
...
Quoted 1 line
I think 26964:fcd0f296f907 did built ok, but I'm not sure.
26981:e0340254f8ac moved the declaration around - Stefano, was this change properly build checked on x86 (i.e. also in a build environment new enough to allow the EFI stuff to be built)?
Ian, along the same lines - does the test infrastructure not at least build test the EFI code?
Jan
Quoted 16 lines · Jan Beulich
Quoted 16 lines
Quoted 1 line
Quoted 1 line · Olaf Hering
Current xen-unstable, 27010:e5562e4b7558, fails to build in openSuSE 12.1 and later:
[ 216s] make[4]: Entering directory `/home/abuild/rpmbuild/BUILD/xen-4.3.27010/dbg/xen/arch/x86/efi'
...
[ 216s]boot.c: In function 'efi_init_memory':
[ 216s] boot.c:1574:13: error: implicit declaration of function 'map_pages_to_xen' [-Werror=implicit-function-declaration] [ 216s] boot.c:1574:13: error: nested extern declaration of 'map_pages_to_xen' [-Werror=nested-externs]
...
Quoted 5 lines
Quoted 1 line
I think 26964:fcd0f296f907 did built ok, but I'm not sure.
26981:e0340254f8ac moved the declaration around - Stefano, was this change properly build checked on x86 (i.e. also in a build environment new enough to allow the EFI stuff to be built)?
I ran "make xen" on x86 to build test it.
Is the EFI target different not included in "make xen"?
Quoted 2 lines
Ian, along the same lines - does the test infrastructure not at least build test the EFI code?
Quoted 1 line
Quoted 1 line
Quoted 1 line
On 10.05.13 at 13:04, Stefano Stabellini <[email protected]>
Quoted 17 lines · wrote:
Quoted 16 lines · Jan Beulich
Quoted 16 lines
Quoted 1 line
Quoted 1 line · Olaf Hering
Current xen-unstable, 27010:e5562e4b7558, fails to build in openSuSE 12.1 and later:
[ 216s] make[4]: Entering directory `/home/abuild/rpmbuild/BUILD/xen-4.3.27010/dbg/xen/arch/x86/efi'
...
[ 216s]boot.c: In function 'efi_init_memory':
[ 216s] boot.c:1574:13: error: implicit declaration of function 'map_pages_to_xen' [-Werror=implicit-function-declaration] [ 216s] boot.c:1574:13: error: nested extern declaration of 'map_pages_to_xen' [-Werror=nested-externs]
...
Quoted 8 lines
Quoted 5 lines
Quoted 1 line
I think 26964:fcd0f296f907 did built ok, but I'm not sure.
26981:e0340254f8ac moved the declaration around - Stefano, was this change properly build checked on x86 (i.e. also in a build environment new enough to allow the EFI stuff to be built)?
I ran "make xen" on x86 to build test it.
Is the EFI target different not included in "make xen"?
It is being included there as long as your tool chain meets the requirements. If it doesn't, a message gets printed towards the end of the hypervisor build.
Jan
Quoted 25 lines · Jan Beulich
Quoted 1 line
Quoted 1 line
Quoted 1 line
On 10.05.13 at 13:04, Stefano Stabellini <[email protected]>
Quoted 23 lines · wrote:
Quoted 21 lines · Jan Beulich
Quoted 16 lines
Quoted 1 line
Quoted 1 line · Olaf Hering
Current xen-unstable, 27010:e5562e4b7558, fails to build in openSuSE 12.1 and later:
[ 216s] make[4]: Entering directory `/home/abuild/rpmbuild/BUILD/xen-4.3.27010/dbg/xen/arch/x86/efi'
...
[ 216s]boot.c: In function 'efi_init_memory':
[ 216s] boot.c:1574:13: error: implicit declaration of function 'map_pages_to_xen' [-Werror=implicit-function-declaration] [ 216s] boot.c:1574:13: error: nested extern declaration of 'map_pages_to_xen' [-Werror=nested-externs]
...Quoted 1 line
I think 26964:fcd0f296f907 did built ok, but I'm not sure.
26981:e0340254f8ac moved the declaration around - Stefano, was this change properly build checked on x86 (i.e. also in a build environment new enough to allow the EFI stuff to be built)?
Quoted 6 lines
Quoted 2 lines
I ran "make xen" on x86 to build test it.
Is the EFI target different not included in "make xen"?It is being included there as long as your tool chain meets the requirements. If it doesn't, a message gets printed towards the end of the hypervisor build.
Looks like my build environment (Debian Squeeze) doesn't meet the requirements. Which since the test system also uses Squeeze likely implies it doesn't either.
With Debian Wheezy having just been released I suppose this might naturally take care of itself once the relevant upgrades happen.
Ian.