can't compile kernel on STABLE

Andriy Gapon avg at icyb.net.ua
Mon Apr 26 09:53:32 UTC 2010


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



More information about the freebsd-stable mailing list