From owner-freebsd-stable@FreeBSD.ORG Wed Dec 12 18:04:00 2007 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2235A16A41A for ; Wed, 12 Dec 2007 18:04:00 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from mail15.syd.optusnet.com.au (mail15.syd.optusnet.com.au [211.29.132.196]) by mx1.freebsd.org (Postfix) with ESMTP id AD56E13C43E for ; Wed, 12 Dec 2007 18:03:59 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from server.vk2pj.dyndns.org (c220-239-20-82.belrs4.nsw.optusnet.com.au [220.239.20.82]) by mail15.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id lBCI3o6G020873 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 13 Dec 2007 05:03:51 +1100 Received: from server.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by server.vk2pj.dyndns.org (8.14.1/8.14.1) with ESMTP id lBCI3nA6035390; Thu, 13 Dec 2007 05:03:49 +1100 (EST) (envelope-from peter@server.vk2pj.dyndns.org) Received: (from peter@localhost) by server.vk2pj.dyndns.org (8.14.1/8.14.1/Submit) id lBCI3nc5035388; Thu, 13 Dec 2007 05:03:49 +1100 (EST) (envelope-from peter) Date: Thu, 13 Dec 2007 05:03:49 +1100 From: Peter Jeremy To: Hugo Silva Message-ID: <20071212180349.GQ11310@server.vk2pj.dyndns.org> References: <475DADF7.6020702@yahoo.com> <475EA859.7000407@yahoo.com> <9bbcef730712110815g34adb0dfv8fe89dbb52225cb3@mail.gmail.com> <475F2D07.2080205@barafranca.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="b0op/nKJ9CeIhp9z" Content-Disposition: inline In-Reply-To: <475F2D07.2080205@barafranca.com> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.16 (2007-06-09) Cc: freebsd-stable@freebsd.org Subject: Re: More issues with 7.0-BETA4 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Dec 2007 18:04:00 -0000 --b0op/nKJ9CeIhp9z Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Dec 12, 2007 at 12:36:23AM +0000, Hugo Silva wrote: >Building 32 bit binaries on amd64 apparently isn't working: > ># cc -m64 -march=3Dk8 -o test64 test.c && ./test64 >testing!! > ># cc -m32 -march=3Dk8 -o test32 test.c && ./test32 >/usr/bin/ld: skipping incompatible /usr/lib/libgcc.a when searching for=20 >-lgcc >/usr/bin/ld: skipping incompatible /usr/lib/libgcc.a when searching for=20 >-lgcc >/usr/bin/ld: cannot find -lgcc This isn't supported at present. Note that just pointing at /usr/lib32 results in executables that won't run on FreeBSD/i386. And, quite apart from the linker issues, 'cc -m32' is using the wrong include files: All the machine-dependent types are defined in terms of I32LP64 primitives whilst 'cc -m32' uses ILP32 primitives. The current suggestion is to perform i386 compiles in a FreeBSD/i386 chroot environment. --=20 Peter Jeremy Please excuse any delays as the result of my ISP's inability to implement an MTA that is either RFC2821-compliant or matches their claimed behaviour. --b0op/nKJ9CeIhp9z Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHYCKF/opHv/APuIcRAmq+AJ9fhnkiHSiRE9ADP1JL0zBmqv6VKgCgstNL gkU4h+1JoIt6r7+Tid6m4Wo= =D0v/ -----END PGP SIGNATURE----- --b0op/nKJ9CeIhp9z--