Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Jan 2009 01:12:03 +0000
From:      Andrew Hotlab <andrew.hotlab@hotmail.com>
To:        <peterjeremy@optushome.com.au>
Cc:        freebsd-i386@freebsd.org, freebsd-amd64@freebsd.org, freebsd-arch@freebsd.org
Subject:   RE: Cross compiling FreeBSD
Message-ID:  <COL112-W214770758973401CA2ADD8F6D70@phx.gbl>
In-Reply-To: <20090114211616.GC16116@server.vk2pj.dyndns.org>
References:  <COL112-W14559CEDAEB8C5373A03B4F6D60@phx.gbl> <20090114211616.GC16116@server.vk2pj.dyndns.org> 

next in thread | previous in thread | raw e-mail | index | archive | help

>
> [Please wrap your lines before 80 columns]
>

I'm so sorry for that: I'm using the Windows Live webmail=2C and it seems
impossible to have a decent message format! :(

> On 2009-Jan-14 15:06:06 +0000=2C Andrew Hotlab wrote:
>>At this time=2C I've tried to build RELENG_7_1 for the i386
>>architecture using an amd64 machine (running RELENG_7_0 for amd64)
>>then=2C exporting /usr/src and /usr/obj via NFS in read-only mode to
>>target machines=2C
>
> This won't work because install{world=2Ckernel} uses programs (under
> /usr/obj) that were built to run on the build system (amd64 in
> your case) and so won't run on the target (i386) system.
>

So I actually misunderstood the Handbook: only now I realize that it
gives the suggestion to export /usr/obj and /usr/src from the build machine=
=2C
but only if the target architecture is the same as the builder! :S

> The supported approach is to NFS mount the target machines onto the
> build machine and run "make DESTDIR=3D/mount/point install{world=2Ckernel=
}"
> on the build machine. Note that this will report errors since NFS
> cannot handle UFS flags - you will need to manually remove/add schg flags=
.
>

Ok=2C so I think that in a production environment I should deploy one build=
er machine
for each target architecture I have to support on my network... I'm right?

One last question: I would expect the same issues if I wish to to support m=
any
FreeBSD releases running of one single type of architecture? (i.e.: both bu=
ilder
and targets are amd64 machines=2C but I run RELENG_7 on the builder and
RELENG_6_4 and RELENG_7_1 on the targets)

Thanks for your explanation.


_________________________________________________________________
Invite your mail contacts to join your friends list with Windows Live Space=
s. It's easy!
http://spaces.live.com/spacesapi.aspx?wx_action=3Dcreate&wx_url=3D/friends.=
aspx&mkt=3Den-us=



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