luca suriano wrote:
> Hi, I have an ibook G3 800MHz 750fx (32 VRAM - Late 2002 -
> Translucent White).
>
> I have a problem with some graphic applications (i.e zathura,
> xombrero, netsurf), each of which goes in crash and a core
> dump file is saved in my home.
>
> Now, the core dump debugging tell me that the cause is
> libjpeg (for each of them):
>
> Program received signal SIGILL, Illegal instruction.
> jsimd_idct_islow_altivec () from /usr/local/lib/libjpeg.so.68.1
>
> I use awesome WM, sometimes it also goes in crash also with the same
> problem, libjpeg.

Hi,

If you're running OpenBSD/macppc 6.0, you probably have jpeg-1.5.0,
which unconditionally enables Altivec [1].

This was fixed with libjpeg-turbo-1.5.1 + one patch of mine, available
in -current. Altivec is now only enabled when detected at runtime [2].

This was tested on a G3 (with no Altivec) and on a G5 (with Altivec),
so everything should be OK on -current. Let me know if you still see
this problem on -current (or if you need packages), though.

[1]: https://github.com/libjpeg-turbo/libjpeg-turbo/blob/master/ChangeLog.md
(see 1.5.1 changes)

[2]: 
http://cvsweb.openbsd.org/cgi-bin/cvsweb/ports/graphics/jpeg/patches/patch-simd_jsimd_powerpc_c

Reply via email to