Open
Description
Bugzilla Link | 18502 |
Version | trunk |
OS | All |
Extended Description
The template instantiation BH<4>::operator[] in paq8p.cpp contains:
static U8 tmp[B]; // element to move to front
if (j==M) {
--j;
memset(tmp, 0, B);
(U16)tmp=chk;
if (M>2 && t[(i+j)*B+2]>t[(i+j-1)*B+2]) --j;
}
The SPARC linker is evil and doesn't align the global 'static U8 tmp[B]', so the U16 store is unaligned and crashes.