Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Jan 2008 15:03:29 -0500
From:      John Baldwin <jhb@freebsd.org>
To:        freebsd-amd64@freebsd.org
Subject:   Re: Cross build of i386 on 7.0 fails
Message-ID:  <200801251503.29219.jhb@freebsd.org>
In-Reply-To: <07bb01c85f68$04f85440$b6db87d4@multiplay.co.uk>
References:  <07bb01c85f68$04f85440$b6db87d4@multiplay.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Friday 25 January 2008 10:36:14 am Steven Hartland wrote:
> I'm sure I must be missing something simple but I've searched google
> and the mail archives and cant find the answer to this.
> 
> When trying to build i386 targets in amd64 buildkernel fails with the
> following:-
> > make buildkernel TARGET=i386
> ....
> >>> stage 3.1: making dependencies
> ...
> /usr/src/sys/i386/i386/genassym.c:1: error: -mpreferred-stack-boundary=2 is 
not between 4 and 12
> 
> What I think is happening is that something is still working as though
> I want amd64 bins and hence the error. Is this the case? What am I
> missing?
> 
> On an related topic upgrading i386 boxes to amd64 and vice versa from
> source is this possible, if so how. I tried installing a new amd64
> ( 7.0 ) kernel on my test i386 ( 6.2 ) machine but boot failed with:
> init died ( signal 0, exit 1 )
> 
> I'm sure this is FAQ but again searching google and mail lists didn't

Did you do 'make TARGET=i386 kernel-toolchain' (or buildworld or toolchain) 
first?

-- 
John Baldwin



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