From owner-freebsd-amd64@FreeBSD.ORG  Sun Nov 14 21:38:00 2004
Return-Path: <owner-freebsd-amd64@FreeBSD.ORG>
Delivered-To: freebsd-amd64@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id CDCF916A4CE
	for <freebsd-amd64@freebsd.org>; Sun, 14 Nov 2004 21:38:00 +0000 (GMT)
Received: from canning.wemm.org (canning.wemm.org [192.203.228.65])
	by mx1.FreeBSD.org (Postfix) with ESMTP id AB4C143D45
	for <freebsd-amd64@freebsd.org>; Sun, 14 Nov 2004 21:38:00 +0000 (GMT)
	(envelope-from peter@wemm.org)
Received: from fw.wemm.org (canning.wemm.org [192.203.228.65])
	by canning.wemm.org (Postfix) with ESMTP id 8B0CA2A8DA
	for <freebsd-amd64@freebsd.org>; Sun, 14 Nov 2004 13:38:00 -0800 (PST)
	(envelope-from peter@wemm.org)
Received: from overcee.wemm.org (overcee.wemm.org [10.0.0.3])
	by fw.wemm.org (Postfix) with ESMTP id 1D604E2B3
	for <freebsd-amd64@freebsd.org>; Sun, 14 Nov 2004 13:38:00 -0800 (PST)
	(envelope-from peter@wemm.org)
Received: from overcee.wemm.org (localhost [127.0.0.1])
	by overcee.wemm.org (8.13.1/8.13.1) with ESMTP id iAELbx6X000625;
	Sun, 14 Nov 2004 13:37:59 -0800 (PST)
	(envelope-from peter@wemm.org)
Received: from localhost (localhost [[UNIX: localhost]])
	by overcee.wemm.org (8.13.1/8.13.1/Submit) id iAELbxPb000623;
	Sun, 14 Nov 2004 13:37:59 -0800 (PST)
	(envelope-from peter@wemm.org)
X-Authentication-Warning: overcee.wemm.org: peter set sender to peter@wemm.org
	using -f
From: Peter Wemm <peter@wemm.org>
To: freebsd-amd64@freebsd.org
Date: Sun, 14 Nov 2004 13:37:58 -0800
User-Agent: KMail/1.7
References: <I6VW1I00.TN1@hadar.amcc.com>
	<Pine.BSF.4.53.0411142046160.85716@e0-0.zab2.int.zabbadoz.net>
	<200411141324.07648.peter@wemm.org>
In-Reply-To: <200411141324.07648.peter@wemm.org>
MIME-Version: 1.0
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200411141337.59025.peter@wemm.org>
Subject: Re: Finally got it working... more help required
X-BeenThere: freebsd-amd64@freebsd.org
X-Mailman-Version: 2.1.1
Precedence: list
List-Id: Porting FreeBSD to the AMD64 platform <freebsd-amd64.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-amd64>,
	<mailto:freebsd-amd64-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-amd64>
List-Post: <mailto:freebsd-amd64@freebsd.org>
List-Help: <mailto:freebsd-amd64-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-amd64>,
	<mailto:freebsd-amd64-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 14 Nov 2004 21:38:00 -0000

On Sunday 14 November 2004 01:24 pm, Peter Wemm wrote:
> On Sunday 14 November 2004 12:48 pm, Bjoern A. Zeeb wrote:
> > On Sun, 14 Nov 2004, Peter Wemm wrote:
> > > If you are running CURRENT or RELENG_5, you can put
> > > "WITH_LIB32=yes" in /etc/make.conf and you will get 32 bit
> > > libraries with 'make world'.
> >
> > this didn't work for me two days ago. Forgot to report this *grml*.
> > Same source tree worked without WITH_LIB32= in make.conf.
> >
> >
> > cc -m32 -march=athlon-xp -msse2 -mfancy-math-387 -DCOMPAT_32BIT
> > -I/usr/obj/local/building/src+ports/src/HEAD/20041112-1801/lib32/us
> >r/
>
> Can you do me a favor and try doing a rm -rf /usr/obj/* first?  It
> shouldn't be needed, but I've had problems with previous failed
> builds leaving things behind.
>
> Oh wait.  I think I see whats going on, I appear to have missed a
> build-tool for the kerberos5 case.  oops. :-(

No guarantees, but I'm about to test this patch to Makefile.inc1

@@ -409,6 +409,12 @@
  cd ${.CURDIR}/${_dir}; \
      MAKEOBJDIRPREFIX=${OBJTREE}/lib32 ${MAKE} build-tools
 .endfor
+.if !defined(NO_KERBEROS) && !defined(NOCRYPT) && !defined(NO_OPENSSL)
+.for _t in obj depend all
+ cd ${.CURDIR}/kerberos5/tools; \
+     MAKEOBJDIRPREFIX=${OBJTREE}/lib32 ${MAKE} ${_t}
+.endfor
+.endif
  cd ${.CURDIR}; \
      ${LIB32MAKE} -f Makefile.inc1 DESTDIR=${LIB32TMP} libraries 
 .for _t in obj depend all

-- 
Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com
"All of this is for nothing if we don't go to the stars" - JMS/B5