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

From: Ulrich Spoerlein <uspoerlein_at_gmail.com>
Date: Sun, 12 Oct 2008 11:00:32 +0200
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

Cheers,
Ulrich Spoerlein
-- 
It is better to remain silent and be thought a fool,
than to speak, and remove all doubt.
Received on Sun Oct 12 2008 - 07:00:36 UTC

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