Date: Tue, 16 Nov 2010 03:24:22 +0100 From: rank1seeker@gmail.com To: freebsd-hackers@FreeBSD.org Subject: Unhappy with cross-worlding Message-ID: <20101116.022422.921.1@DEV> In-Reply-To: <4CA4C63F.4070503@icyb.net.ua> References: <4CA4C63F.4070503@icyb.net.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
So, I have Core 2 Duo, runing as i386. I decided to go for amd64 (it's name, is so deceiving, that I've just recently, accidentaly figured out, that it can be used, with intel CPUs, too) :P 8.1 cross build i386 -> amd64 has failed World completes successfully, but kernel fails: mkdep -f .depend -a -nostdinc -D_KERNEL -DKLD_MODULE -DHAVE_KERNEL_OPTION_HEADERS -I. -I@ -I@/contrib/altq - I/usr/obj/amd64/usr/src/sys/GENERIC /usr/src/sys/modules/amr/amr_linux/../../../dev/amr/amr_linux.c /usr/src/sys/modules/amr/amr_linux/../../../dev/amr/amr_linux.c:43:36: error: machine/../linux/linux.h: No such file or directory /usr/src/sys/modules/amr/amr_linux/../../../dev/amr/amr_linux.c:44:42: error: machine/../linux/linux_proto.h: No such file or directory mkdep: compile failed *** Error code 1 1 error *** Error code 2 1 error *** Error code 2 1 error *** Error code 2 2 errors *** Error code 2 1 error *** Error code 2 1 error Then, I've snapped and took an USB stick and did a binary 8.1 amd64 install on it. Booted from it and kernel compiled flawlessly PS: Core 2 Duo - 8.1 GENERIC Kernel build time: 10:30 --> i386 08:30 --> amd64 Yes, without caching! PORTS: ------ >From i386, when created USB amd64, I wanted to compile some ports(i386 -> amd64), for that USB stick, on my own. Especially because of port's patches ... DESTIR has been set, as usual, but TARGET, was a no go! Looking into documentation, only /usr/src, supports TARGET, used for cross world compilation. Also, after throwing an eye into /usr/ports/Mk ..., I've concluded that ports, simply can't be cross world compiled, as they don't support it. This 2 problems should be fixed. Domagoj
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101116.022422.921.1>