Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 May 2012 01:29:19 -0700
From:      Andriy Babiy <AndriyBabiy@telus.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: buildworld problem
Message-ID:  <20120519012919.42724cb4@telus.net>
In-Reply-To: <4FB74053.8090602@gmail.com>
References:  <20120518211704.3ad0afe3@gmail.com> <4FB74053.8090602@gmail.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
> > 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.



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20120519012919.42724cb4>