Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Oct 2005 11:51:39 +0200
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        freebsd-current@FreeBSD.org
Subject:   Re: Cross-compiling current kernel.
Message-ID:  <20051006095139.GB23662@garage.freebsd.pl>
In-Reply-To: <20051006065438.GA23045@garage.freebsd.pl>
References:  <20051006065438.GA23045@garage.freebsd.pl>

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

--K8nIJk4ghYZn606h
Content-Type: text/plain; charset=iso-8859-2
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Oct 06, 2005 at 08:54:38AM +0200, Pawel Jakub Dawidek wrote:
+> Hi.
+>=20
+> I'm not able to cross-compile i386 kernel on amd64 machine.
+> It worked without any problems before, but with recent HEAD, I get this
+> error:
+>=20
+> --------------------------------------------------------------
+> >>> stage 3.1: making dependencies
+> --------------------------------------------------------------
+> cd /usr/obj/i386/usr/home/src/HEAD/src/sys/LAB;  MAKEOBJDIRPREFIX=3D/usr=
/obj/i386  MACHINE_ARCH=3Di386  MACHINE=3Di386  CPUTYPE=3D  GROFF_BIN_PATH=
=3D/usr/obj/i386/usr/home/src/HEAD/src/tmp/legacy/usr/bin  GROFF_FONT_PATH=
=3D/usr/obj/i386/usr/home/src/HEAD/src/tmp/legacy/usr/share/groff_font  GRO=
FF_TMAC_PATH=3D/usr/obj/i386/usr/home/src/HEAD/src/tmp/legacy/usr/share/tma=
c  _SHLIBDIRPREFIX=3D/usr/obj/i386/usr/home/src/HEAD/src/tmp  INSTALL=3D"sh=
 /usr/home/src/HEAD/src/tools/install.sh"  PATH=3D/usr/obj/i386/usr/home/sr=
c/HEAD/src/tmp/legacy/usr/sbin:/usr/obj/i386/usr/home/src/HEAD/src/tmp/lega=
cy/usr/bin:/usr/obj/i386/usr/home/src/HEAD/src/tmp/legacy/usr/games:/usr/ob=
j/i386/usr/home/src/HEAD/src/tmp/usr/sbin:/usr/obj/i386/usr/home/src/HEAD/s=
rc/tmp/usr/bin:/usr/obj/i386/usr/home/src/HEAD/src/tmp/usr/games:/sbin:/bin=
:/usr/sbin:/usr/bin make KERNEL=3Dkernel depend -DNO_MODULES_OBJ
+> cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototy=
pes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-exte=
nsions -std=3Dc99 -g -nostdinc -I- -I. -I/usr/home/src/HEAD/src/sys -I/usr/=
home/src/HEAD/src/sys/contrib/dev/acpica -I/usr/home/src/HEAD/src/sys/contr=
ib/altq -I/usr/home/src/HEAD/src/sys/contrib/ipfilter -I/usr/home/src/HEAD/=
src/sys/contrib/pf -I/usr/home/src/HEAD/src/sys/contrib/dev/ath/freebsd -I/=
usr/home/src/HEAD/src/sys/contrib/ngatm -I/usr/home/src/HEAD/src/sys/dev/tw=
a -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -finline-lim=
it=3D8000 --param inline-unit-growth=3D100 --param large-function-growth=3D=
1000 -mno-align-long-strings -mpreferred-stack-boundary=3D2 -mno-mmx -mno-3=
dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding /usr/home/src/HEAD/src/sys=
/i386/i386/genassym.c
+> /usr/home/src/HEAD/src/sys/i386/i386/genassym.c:1: error: -mpreferred-st=
ack-boundary=3D2 is not between 4 and 12
+> *** Error code 1
+>=20
+> Stop in /usr/home/obj/i386/usr/home/src/HEAD/src/sys/LAB.
+> *** Error code 1
+>=20
+> Any ideas?

I'm sorry, false alarm. I cleaned up my obj/ directory and forget to build
toolchain.

BTW. It was still failing when I only built kernel-toolchain. It started to
work after building the whole toolchain.

--=20
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd@FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!

--K8nIJk4ghYZn606h
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQFDRPOrForvXbEpPzQRAiV3AKCibQ85DMN06GZATHi0sPjVXH8xyACgsfiY
rtnjQqLORYnTTS/LSVhniKo=
=EYog
-----END PGP SIGNATURE-----

--K8nIJk4ghYZn606h--



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