Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Mar 2005 08:59:57 +0200
From:      Ruslan Ermilov <ru@FreeBSD.org>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        amd64@FreeBSD.org
Subject:   Re: buildworld error while cross-building
Message-ID:  <20050325065957.GC75626@ip.net.ua>
In-Reply-To: <20050324234511.GA59281@xor.obsecurity.org>
References:  <20050324234511.GA59281@xor.obsecurity.org>

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

--2JFBq9zoW8cOFH7v
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Mar 24, 2005 at 03:45:12PM -0800, Kris Kennaway wrote:
> I get this consistently when trying to cross-build amd64 RELENG_5 world o=
n i386:
>=20
> =3D=3D=3D> csu/i386-elf
> cc -m32 -march=3Dathlon-xp -msse2 -mfancy-math-387 -DCOMPAT_32BIT  -I/usr=
/obj/amd64/a/portbuild/amd64/5/src/lib32/u
> sr/include  -L/usr/obj/amd64/a/portbuild/amd64/5/src/lib32/usr/lib32  -B/=
usr/obj/amd64/a/portbuild/amd64/5/src/li
> b32/usr/lib32 -O -pipe -I/a/portbuild/amd64/5/src/lib/csu/i386-elf/../com=
mon  -I/a/portbuild/amd64/5/src/lib/csu/
> i386-elf/../../libc/include -Wsystem-headers -Werror -Wall -Wno-format-y2=
k -W -Wno-unused-parameter -Wstrict-prot
> otypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Ww=
rite-strings -Wswitch -Wshadow -Wcast-al
> ign -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredu=
ndant-decls -c crt1.c
> In file included from /usr/obj/amd64/a/portbuild/amd64/5/src/i386/usr/inc=
lude/sys/types.h:44,
>                  from /usr/obj/amd64/a/portbuild/amd64/5/src/i386/usr/inc=
lude/sys/param.h:61,
>                  from /a/portbuild/amd64/5/src/lib/csu/i386-elf/../common=
/crtbrand.c:29,
>                  from crt1.c:36:
> /usr/obj/amd64/a/portbuild/amd64/5/src/i386/usr/include/machine/endian.h:=
 In function `__bswap64':
> /usr/obj/amd64/a/portbuild/amd64/5/src/i386/usr/include/machine/endian.h:=
158: warning: right shift count >=3D width of type
> /usr/obj/amd64/a/portbuild/amd64/5/src/i386/usr/include/machine/endian.h:=
158: warning: right shift count >=3D width of type
> /usr/obj/amd64/a/portbuild/amd64/5/src/i386/usr/include/machine/endian.h:=
158: warning: left shift count >=3D width of type
> /usr/obj/amd64/a/portbuild/amd64/5/src/i386/usr/include/machine/endian.h:=
158: warning: left shift count >=3D width of type
> /usr/obj/amd64/a/portbuild/amd64/5/src/i386/usr/include/machine/endian.h:=
158: warning: left shift count >=3D width of type
> /usr/obj/amd64/a/portbuild/amd64/5/src/i386/usr/include/machine/endian.h:=
158: warning: left shift count >=3D width of type
> /usr/obj/amd64/a/portbuild/amd64/5/src/i386/usr/include/machine/endian.h:=
158: warning: left shift count >=3D width of type
> *** Error code 1
>=20
> Any ideas?  I need to get this to work for 5.4-RELEASE package builds.
>=20
As Peter warned, this part wasn't tested at all in a cross-build environmen=
t.
Before we fix it, you can consider cross-building with NO_LIB32.


Cheers,
--=20
Ruslan Ermilov
ru@FreeBSD.org
FreeBSD committer

--2JFBq9zoW8cOFH7v
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQFCQ7bsqRfpzJluFF4RAtGGAJ4xojU/aqPbq1EHIH2kmXdp5DpEgACfe39V
9dC8rm4W/BhHM3W3ccnPCOI=
=GP1J
-----END PGP SIGNATURE-----

--2JFBq9zoW8cOFH7v--



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