On 04/02/2010 08:14 PM, Larry Stone wrote:
> I've been trying to upgrade ClamAV to 0.96 on my PowerPC Macintosh after
> running 0.95.x versions with no problems for a year or two. The
> Macintosh is running OS X 10.5.8 - note that this is a Client version of
> OS X which does not have an Apple-provided version of ClamAV (I believe
> OS X Server comes with a version of ClamAV).
> 
> I appear to get a good build but when I try to start clamd, get the
> following error:
> 
> sh-3.2# /usr/local/sbin/clamd
> Assertion failed: (ResultPtr >= -(1 << 23) && ResultPtr < (1 << 23) &&
> "Relocation out of range!"), function relocate,
> file llvm/lib/Target/PowerPC/PPCJITInfo.cpp, line 399.
> Abort trap

See this bug:
https://wwws.clamav.net/bugzilla/show_bug.cgi?id=1921

And try this patch as a workaround:
https://wwws.clamav.net/bugzilla/attachment.cgi?id=1246

(You can apply the patch with 'git apply' or 'patch -p1')

> 
> I've been building it as follows:
> In my personal account, untarred the sources, then:
>    ./configure CC=/usr/local/llvm-gcc4.2-2.4-ppc-darwin9/bin/llvm-gcc
> 
> (I installed that compiler when I first installed ClamAV 0.95.x as the
> Apple-provided compiler was flagged by configure for the PR28045 bug).
> 
> Based on the Upgrade Notes on the website

I'll add a link to that patch on the UpgradeNotes096 page.

Best regards,
--Edwin
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to