From owner-freebsd-arch@FreeBSD.ORG Wed Jan 27 13:01:50 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 B9FC41065676 for ; Wed, 27 Jan 2010 13:01:50 +0000 (UTC) (envelope-from rbgarga@gmail.com) Received: from mail-fx0-f227.google.com (mail-fx0-f227.google.com [209.85.220.227]) by mx1.freebsd.org (Postfix) with ESMTP id 504108FC1C for ; Wed, 27 Jan 2010 13:01:49 +0000 (UTC) Received: by fxm27 with SMTP id 27so508663fxm.3 for ; Wed, 27 Jan 2010 05:01:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type; bh=RTIUWZ50in/0jBUk7y9XIkbnU7/KRyzHjgfAQnM4w3c=; b=L61Fl88+pZkKkPjWP4vVm33ZPFebMoT9aeWxt32z7GVY+S4ySKVpN0FlCWJtMx6NPr JzU0AfiWAg5UfKukGCVibEAYfUmC4IrgzzqvijnguykGf6JWiLgH6K2vQG+CEPdX15x0 gcswYzYxzz3Gjll83MZsimHHmbfi1JNY3R7J8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=EtC2CFGX+rPxb1tL2FZ6LeoBKsIC623/zdzTRfN47IOQdeB8STFltDgEBWrlZlOnSF fKrYTnkhqNTRTPdYVcMMXigV1IqPpEkhlcZWQ3vxIZEkxGv5PEBoArBSbr2A0/+9Iz/r KUPB2NpFcftH78595kcS7H8X7Ju3v/X5oCP+I= MIME-Version: 1.0 Received: by 10.216.86.195 with SMTP id w45mr2221289wee.82.1264596863118; Wed, 27 Jan 2010 04:54:23 -0800 (PST) In-Reply-To: <20100127123422.GA30191@freebsd.org> References: <747dc8f31001270405l4fc1e79ctb892ad92db96204d@mail.gmail.com> <20100127123422.GA30191@freebsd.org> From: Renato Botelho Date: Wed, 27 Jan 2010 10:54:03 -0200 Message-ID: <747dc8f31001270454w5a0e1a53g257e4d67394ffed4@mail.gmail.com> To: Roman Divacky Content-Type: text/plain; charset=ISO-8859-1 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 13:01:50 -0000 On Wed, Jan 27, 2010 at 10:34 AM, Roman Divacky wrote: > 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 Thanks Roman, I'll make necessary tests. -- Renato Botelho