Re: i386 Xen integration breaks GENERIC_PAE kernel build

2020-05-07 Thread Manuel Bouyer
On Thu, May 07, 2020 at 06:46:06AM -0500, John D. Baker wrote:
> Building the GENERIC_PAE kernel from recent -current/i386 fails with:
> 
> [...]
> --- hypervisor.o ---
> /x/current/src/sys/arch/xen/xen/hypervisor.c: In function 'init_xen_early':
> /x/current/src/sys/arch/xen/xen/hypervisor.c:247:27: error: cast to pointer 
> from integer of different size [-Werror=int-to-pointer-cast]
>   HYPERVISOR_shared_info = (void *)(HYPERVISOR_shared_info_pa + KERNBASE);

Should be fixed with hypervisor.c 1.82

-- 
Manuel Bouyer 
 NetBSD: 26 ans d'experience feront toujours la difference
--


i386 Xen integration breaks GENERIC_PAE kernel build

2020-05-07 Thread John D. Baker
Building the GENERIC_PAE kernel from recent -current/i386 fails with:

[...]
--- hypervisor.o ---
/x/current/src/sys/arch/xen/xen/hypervisor.c: In function 'init_xen_early':
/x/current/src/sys/arch/xen/xen/hypervisor.c:247:27: error: cast to pointer 
from integer of different size [-Werror=int-to-pointer-cast]
  HYPERVISOR_shared_info = (void *)(HYPERVISOR_shared_info_pa + KERNBASE);
   ^


-- 
|/"\ John D. Baker, KN5UKS   NetBSD Darwin/MacOS X
|\ / jdbaker[snail]consolidated[flyspeck]net  OpenBSDFreeBSD
| X  No HTML/proprietary data in email.   BSD just sits there and works!
|/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645