Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Mar 2005 15:45:12 -0800
From:      Kris Kennaway <kris@obsecurity.org>
To:        amd64@FreeBSD.org
Subject:   buildworld error while cross-building
Message-ID:  <20050324234511.GA59281@xor.obsecurity.org>

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

--zhXaljGHf11kAtnf
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

I get this consistently when trying to cross-build amd64 RELENG_5 world on i386:

===> csu/i386-elf
cc -m32 -march=athlon-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/../common  -I/a/portbuild/amd64/5/src/lib/csu/
i386-elf/../../libc/include -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prot
otypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-al
ign -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -c crt1.c
In file included from /usr/obj/amd64/a/portbuild/amd64/5/src/i386/usr/include/sys/types.h:44,
                 from /usr/obj/amd64/a/portbuild/amd64/5/src/i386/usr/include/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 >= width of type
/usr/obj/amd64/a/portbuild/amd64/5/src/i386/usr/include/machine/endian.h:158: warning: right shift count >= width of type
/usr/obj/amd64/a/portbuild/amd64/5/src/i386/usr/include/machine/endian.h:158: warning: left shift count >= width of type
/usr/obj/amd64/a/portbuild/amd64/5/src/i386/usr/include/machine/endian.h:158: warning: left shift count >= width of type
/usr/obj/amd64/a/portbuild/amd64/5/src/i386/usr/include/machine/endian.h:158: warning: left shift count >= width of type
/usr/obj/amd64/a/portbuild/amd64/5/src/i386/usr/include/machine/endian.h:158: warning: left shift count >= width of type
/usr/obj/amd64/a/portbuild/amd64/5/src/i386/usr/include/machine/endian.h:158: warning: left shift count >= width of type
*** Error code 1

Any ideas?  I need to get this to work for 5.4-RELEASE package builds.

Kris
--zhXaljGHf11kAtnf
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQFCQ1EGWry0BWjoQKURAoWcAJ9M2CB+SszASyNV/AOBcAT1j6KbJACbB5fb
AxaQxeKJnyAXIdjKmJAGKeM=
=icYc
-----END PGP SIGNATURE-----

--zhXaljGHf11kAtnf--



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