Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Sep 2013 10:08:20 -0700
From:      hiren panchasara <hiren.panchasara@gmail.com>
To:        Alexey Dokuchaev <danfe@nsu.ru>
Cc:        current@freebsd.org
Subject:   Re: Cross-buildkernel (i386->amd64) is broken?
Message-ID:  <CALCpEUE9R1ipmKTgO9ghVAv_qHzniP4UJurJuC8kRKverSD3Dg@mail.gmail.com>
In-Reply-To: <20130906151252.GA28654@regency.nsu.ru>
References:  <20130906151252.GA28654@regency.nsu.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Sep 6, 2013 at 8:12 AM, Alexey Dokuchaev <danfe@nsu.ru> wrote:

> Hi there,
>
> I've been trying to cross-build an amd64 kernel on i386 host on recent
> -CURRENT for a while, and it fails like this:
>
Not entirely sure but you _probably_ need to make toolchain first?

cheers,
Hiren

>
>   $ cd /usr/src && make buildkernel TARGET=amd64 TARGET_ARCH=amd64
>   [...]
>   In file included from /usr/src/sys/amd64/amd64/genassym.c:46:
>   In file included from /usr/src/sys/sys/buf.h:260:
>   In file included from /usr/src/sys/sys/proc.h:62:
>   /usr/src/sys/sys/pcpu.h:188:1: error: static_assert failed "compile-time
> assertion failed"
>   CTASSERT((PAGE_SIZE / sizeof(struct pcpu)) * sizeof(struct pcpu) ==
> PAGE_SIZE);
>
> Full log is available here: http://193.124.210.26/xbuild-amd64.log
>
> I remember it used to work before (at least at Jun 28th, when I've build
> my last kernel this way).  Is is a well known issue?  How do I remedy it?
> Thanks.
>
> ./danfe
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALCpEUE9R1ipmKTgO9ghVAv_qHzniP4UJurJuC8kRKverSD3Dg>