On Thu, 9 Sep 2010 22:17:07 +0100 Mark Allan <markjal...@blueyonder.co.uk> wrote:
> > On 9 Sep 2010, at 9:53 pm, Mark Allan wrote: > > On 9 Sep 2010, at 8:11 pm, Török Edwin wrote: > >> On Thu, 9 Sep 2010 19:01:28 +0100, Mark Allan wrote: > >>> On 17 Jun 2010, at 5:24 pm, Larry Stone wrote: > >>>> On Thu, 17 Jun 2010, Török Edwin wrote: > >>>>> Here is a new patch for Mac OS X/PPC: > >>>>> https://wwws.clamav.net/bugzilla/attachment.cgi?id=1333 > >>>>> > >>>>> It reverts my previous patch, and applies my patch from LLVM > >>>>> PR5201 > >>>>> (which isn't finished, but appears to work better than the > >>>>> previous). > >>>> > >>>> Seems to have done it. And I saw the parallel discussion in > >>>> bugzilla so will keep it there should there be a recurrence (I > >>>> should only be on a PPC Macintosh for a few more months as I am > >>>> planning on replacing it with an Intel iMac sometime this > >>>> summer). > >>> > >>> > >>> A similar bug has just cropped up again but it's happening in > >>> 0.96.2 on Intel Macs this time around - PPC Macs appear to be > >>> unaffected. It only started happening with a very recent update. > >>> As of an update from about 09:00 (GMT) today everything was > >>> fine. It's now 17:55 (GMT) and having updated via freshclam I'm > >>> now receiving the following output from clamscan: > >>> > >>> clamscan -v /Users/mark/Desktop/ats.xjnlp.jnlp > >>> libclamav JIT: Attempt to call external function __bzero > >>> libclamav JIT: *** FATAL error encountered during bytecode > >>> generation > >>> Scanning /Users/mark/Desktop/ats.xjnlp.jnlp > >>> /Users/mark/Desktop/ats.xjnlp.jnlp: OK > >> > >> At least it didn't crash :) > >> > >> Does this patch help? > >> https://wiki.clamav.net/pub/Main/UpgradeNotes0962/bzero.patch > > > > Hehe, you're right, it didn't crash. 0.96.1 did but I guess > > that's old news now! > > > > That did appear to fix the problem on my Intel machine, thanks. > > Even though PPC builds aren't affected, I presume I should rebuild > > for PPC with the patch as well, yes? As long as your Intel and PPC boxes both run same version of Mac OS X (darwin10) then yes you should. However isn't darwin10 intel-only maybe? > > BTW, I've noticed these warnings in every 0.96.x build and am still > getting them after applying that patch. Is it related and if so, > does that mean the patch hasn't fully fixed the problem? > ld warning: in ../../libclamav/libclamav.map, file is not of > required architecture libclamav.map is a linker script, it doesn't have an architecture so I don't know why ld is complaining. But it has nothing to do with the __bzero problem. Best regards, --Edwin _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml