Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Jan 2010 10:54:03 -0200
From:      Renato Botelho <rbgarga@gmail.com>
To:        Roman Divacky <rdivacky@freebsd.org>
Cc:        freebsd-arch@freebsd.org
Subject:   Re: problems building new clamav because of march i386
Message-ID:  <747dc8f31001270454w5a0e1a53g257e4d67394ffed4@mail.gmail.com>
In-Reply-To: <20100127123422.GA30191@freebsd.org>
References:  <747dc8f31001270405l4fc1e79ctb892ad92db96204d@mail.gmail.com>  <20100127123422.GA30191@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jan 27, 2010 at 10:34 AM, Roman Divacky <rdivacky@freebsd.org> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?747dc8f31001270454w5a0e1a53g257e4d67394ffed4>