From owner-freebsd-stable@FreeBSD.ORG Tue May 2 06:23:38 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3695116A400; Tue, 2 May 2006 06:23:38 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5AD3943D48; Tue, 2 May 2006 06:23:37 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from gothmog.pc (aris.bedc.ondsl.gr [62.103.39.226]) (authenticated bits=128) by igloo.linux.gr (8.13.6/8.13.6/Debian-1) with ESMTP id k426MrYD009839 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 2 May 2006 09:22:59 +0300 Received: from gothmog.pc (gothmog [127.0.0.1]) by gothmog.pc (8.13.6/8.13.6) with ESMTP id k426Mwo7063009; Tue, 2 May 2006 09:22:58 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from giorgos@localhost) by gothmog.pc (8.13.6/8.13.6/Submit) id k426MwW1063008; Tue, 2 May 2006 09:22:58 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Tue, 2 May 2006 09:22:58 +0300 From: Giorgos Keramidas To: Mikhail Teterin Message-ID: <20060502062258.GA62901@gothmog.pc> References: <200605011604.26507.mi+mx@aldan.algebra.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200605011604.26507.mi+mx@aldan.algebra.com> X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (score=-3.398, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.80, BAYES_00 -2.60, DNS_FROM_RFC_ABUSE 0.20) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Spam-Status: No Cc: stable@freebsd.org, current@freebsd.org Subject: Re: cc can't build 32-bit executables on amd64 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: Tue, 02 May 2006 06:23:38 -0000 On 2006-05-01 16:04, Mikhail Teterin wrote: > Can I direct someone's attention to the annoying but easy to fix bug: > > http://www.freebsd.org/cgi/query-pr.cgi?pr=gnu/96570 > > There are still a few days left to make sure, FreeBSD-6.1 is shipped with > amd64 being able to link 32-bit executables. > > Release Engineers insist, it must be fixed in current first... cc can build binaries just fine if you also use the -B option: % cc -m32 -B/usr/lib32 ... I know it does because I've used it on my laptop a while ago, running FreeBSD/amd64. It's dead now so I can verify this works in all cases, but it seemed to solve this for me a couple of months ago.