From owner-freebsd-arch@FreeBSD.ORG Wed Jan 27 12:53:36 2010 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 638091065672 for ; Wed, 27 Jan 2010 12:53:36 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from vlakno.cz (77-93-215-190.static.masterinter.net [77.93.215.190]) by mx1.freebsd.org (Postfix) with ESMTP id 1DBC58FC14 for ; Wed, 27 Jan 2010 12:53:35 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 653C89CB0D1; Wed, 27 Jan 2010 13:34:25 +0100 (CET) X-Virus-Scanned: amavisd-new at vlakno.cz Received: from vlakno.cz ([127.0.0.1]) by localhost (lev.vlakno.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XLo-hnzQrmSX; Wed, 27 Jan 2010 13:34:23 +0100 (CET) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 1DCE09CB0FE; Wed, 27 Jan 2010 13:34:23 +0100 (CET) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.14.3/8.14.3/Submit) id o0RCYMTO030475; Wed, 27 Jan 2010 13:34:22 +0100 (CET) (envelope-from rdivacky) Date: Wed, 27 Jan 2010 13:34:22 +0100 From: Roman Divacky To: Renato Botelho Message-ID: <20100127123422.GA30191@freebsd.org> References: <747dc8f31001270405l4fc1e79ctb892ad92db96204d@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <747dc8f31001270405l4fc1e79ctb892ad92db96204d@mail.gmail.com> User-Agent: Mutt/1.4.2.3i Cc: freebsd-arch@freebsd.org Subject: Re: problems building new clamav because of march i386 X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Jan 2010 12:53:36 -0000 On Wed, Jan 27, 2010 at 10:05:42AM -0200, Renato Botelho wrote: > I'm having some problem trying to update clamav-devel port to > a new snapshot. > > Since it's using llvm now, i didn't build on i386 arch, after some > changes, it builds now but without atomic build. > > The point is, the clamav team say since our march is i386-* the > binaries are built for old i386 arch, is it correct? > > Here is the thread under clamav-devel maillist, could someone > take a look and gimme some help to understand and maybe fix > the problem? I've already talked to Edwin Torok about this... the problem is that llvm needs atomic builtins which only i486 provides. The change of default target from i386 to i486 has been made on HEAD and I believe the commit was already MFCed to (at least) 8.x. I believe the port could be fixed by something like CFLAGS+=-march=i486 roman