Re: Crossbuilding 7.x/amd64 from 8.x/i386 broken?

From: Ulrich Spoerlein <uspoerlein_at_gmail.com>
Date: Mon, 13 Oct 2008 20:40:16 +0200
On Sun, 12.10.2008 at 11:00:32 +0200, Ulrich Spoerlein wrote:
> Hi there,
> 
> I'm toying with putting RELENG_7/amd64 onto gmirrored CF-drives but need
> to build it on a recent -CURRENT box. The build stops in libkvm, am I
> doing this wrong?
> 
> 
> % make buildworld buildkernel TARGET_ARCH=amd64
> ...
> ===> lib/libkvm (obj,depend,all,install)
> rm -f .depend
> mkdep -f .depend -a    -DLIBC_SCCS -I/vol/src7/lib/libkvm /vol/src7/lib/libkvm/kvm.c /vol/src7/lib/libkvm/kvm_amd64.c /vol/src7/lib/libkvm/kvm_cptime.c /vol/src7/lib/libkvm/kvm_file.c /vol/src7/lib/libkvm/kvm_getloadavg.c /vol/src7/lib/libkvm/kvm_getswapinfo.c /vol/src7/lib/libkvm/kvm_pcpu.c /vol/src7/lib/libkvm/kvm_proc.c /vol/src7/lib/libkvm/kvm_minidump_amd64.c
> cc -O2 -fno-strict-aliasing -pipe  -DLIBC_SCCS -I/vol/src7/lib/libkvm  -c /vol/src7/lib/libkvm/kvm.c
> cc -O2 -fno-strict-aliasing -pipe  -DLIBC_SCCS -I/vol/src7/lib/libkvm  -c /vol/src7/lib/libkvm/kvm_amd64.c
> In file included from /usr/obj/amd64/vol/src7/tmp/usr/include/sys/param.h:63,
>                  from /vol/src7/lib/libkvm/kvm_amd64.c:48:
> /usr/obj/amd64/vol/src7/tmp/usr/include/sys/types.h:262: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__u_register_t'
> *** Error code 1

FYI, building CURRENT/amd64 from within CURRENT/i386 seemed to work.
I'll try to get this up and running and will then do a downgrade from
CURRENT/amd64 to 7.1/amd64.

Cheers,
Ulrich Spoerlein
-- 
It is better to remain silent and be thought a fool,
than to speak, and remove all doubt.
Received on Mon Oct 13 2008 - 16:40:23 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:36 UTC