Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Apr 2010 21:25:59 +0300
From:      Andriy Gapon <avg@icyb.net.ua>
To:        Sandra Kachelmann <s.kachelmann@googlemail.com>
Cc:        freebsd-stable@FreeBSD.org
Subject:   Re: can't compile kernel on STABLE
Message-ID:  <4BD48937.40805@icyb.net.ua>
In-Reply-To: <w2v91b92521004250137y701dbb2cy4aee801c3b1bdcc5@mail.gmail.com>
References:  <w2v91b92521004250137y701dbb2cy4aee801c3b1bdcc5@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
on 25/04/2010 11:37 Sandra Kachelmann said the following:
> I _just_ checked out the source tree for RELENG_6 and tried to build
> an image for my ALIX board:
> 
> 
> $ NOCCACHE=yes KERNCONF=GENERIC TARGET_ARCH=i386 CPUTYPE=i586 make buildkernel
> 
> ...

> /usr/src/sys/i386/i386/genassym.c:1: error:
> -mpreferred-stack-boundary=2 is not between 4 and 12
> *** Error code 1

You are cross-compiling a kernel for a different architecture but you haven't
built a toolchain for that architecture.
See kernel-toolchain in build(7).

-- 
Andriy Gapon




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