From owner-freebsd-questions@FreeBSD.ORG Sat May 19 09:03:06 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6A905106564A for ; Sat, 19 May 2012 09:03:06 +0000 (UTC) (envelope-from andriybabiy@telus.net) Received: from defout.telus.net (defout.telus.net [204.209.205.33]) by mx1.freebsd.org (Postfix) with ESMTP id BBF748FC0A for ; Sat, 19 May 2012 09:03:05 +0000 (UTC) Received: from edmwcm03 ([204.209.205.31]) by priv-edmwes48.telusplanet.net (InterMail vM.8.01.03.00 201-2260-125-20100507) with ESMTP id <20120519082803.MIHE11384.priv-edmwes48.telusplanet.net@edmwcm03> for ; Sat, 19 May 2012 02:28:03 -0600 Received: from localhost.localdomain ([142.179.38.250]) by edmwcm03 with bizsmtp id BkU21j00e5Ppoyu01kU2zh; Sat, 19 May 2012 02:28:03 -0600 X-Authority-Analysis: v=1.1 cv=3felTBVTKDV4kUdUbqJShFvbTikv5tYY+WRXPduaGmg= c=1 sm=2 a=LGgl8L9ij00A:10 a=kj9zAlcOel0A:10 a=rF3O6B-FGIHx3sNzgMYA:9 a=TYOpGHxxJqJNLg0KBc0A:7 a=CjuIK1q_8ugA:10 X-Telus-Outbound-IP: 142.179.38.250 Date: Sat, 19 May 2012 01:29:19 -0700 From: Andriy Babiy To: freebsd-questions@freebsd.org Message-ID: <20120519012919.42724cb4@telus.net> In-Reply-To: <4FB74053.8090602@gmail.com> References: <20120518211704.3ad0afe3@gmail.com> <4FB74053.8090602@gmail.com> Organization: home-REBEKAH X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.6; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: buildworld problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 May 2012 09:03:06 -0000 > > FreeBSD myhost 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Fri Mar 23 > > 20:00:59 PDT 2012 root@myhost:/usr/obj/usr/src/sys/GENERIC > > amd64 > > > > root#cd /usr/obj > > root#chflags -R noschg * > > root#rm -rf * > > root#make buildworld > > ... > > cd /usr/src; MACHINE=i386 MACHINE_ARCH=i386 MACHINE_CPU="i686 mmx > > sse sse2" LD="ld -m elf_i386_fbsd -Y > > P,/usr/obj/usr/src/lib32/usr/lib32" AS="as --32" > > MAKEOBJDIRPREFIX=/usr/obj/lib32 > > I may be going over my head on this one:-) > However to my understanding it seems, it is trying to build 32 > bit on a amd 64bit install? > Since 7.0 I upgraded this machine via buildworld. It was always amd64. As you see in uname output, I upgraded it from 8.X to 9.0 with no problem. Time/date is in sync. I don't see any problems in the system I am running, but I got latest code changes for SSL and wanted to do as usual per instructions. On i386 machine everything worked fine, and I don't suspect the code changes are causing it; there must be something simple I miss. In make.conf I have CPUTYPE=nocona and perl version, and obviously clang related definitions. In the error above I see -DCOMPAT_32 string which might be the case for building 32 compatibility libraries for amd64, but it still doesn't explain what fails and why. Any ideas? Thank you.