Trying to cross compile i386 on amd64 (clang/llvm)

Thomas Mueller mueller6724 at bellsouth.net
Wed Jan 15 19:29:02 UTC 2014


from Peter Ankerstål <peter at pean.org>:

> Im having difficulties compiling world and kernel on an amd64 for one
> of my i386 machines. I dont know If I'm doing it wrong or something
> else it broken..
 
> build machine: FreeBSD torus.pean.org 10.0-RC2 FreeBSD 10.0-RC2 #0
> r259522: Wed Dec 18 09:27:56 CET 2013
> root at torus.pean.org:/usr/obj/usr/src/sys/GENERIC  amd64

I successfully built FreeBSD 10.0 early beta i386 from the same beta level amd64 after building for amd64 from a USB-stick installation of FreeBSD 9.2-STABLE.

You can find some advice on that subject on wiki.freebsd.org i386-wine page:

https://wiki.freebsd.org/i386-Wine

But I also built the kernel.  I built ports from boot into this installation rather than chroot.  Heavy work is done on hard drive.

Now I have FreeBSD 10.0 prerelease on a 32 GB USB 3.0 stick.

Src tree and compiling work was done on hard drive.

I checked out and subsequently updated src tree using devel/subversion built from pkgsrc on a USB-stick installation of NetBSD-current amd64.

That was because of bug in re(4) Ethernet driver that also affects OpenBSD and DragonFlyBSD but not NetBSD or Linux.

Now I have wi-fi working on Hiro H50191 USB adapter, device rsu available in FreeBSD releng 10 and 11.

Tom



More information about the freebsd-stable mailing list