Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 08 Sep 2010 01:37:20 +0200
From:      crest <crest@informatik.uni-bremen.de>
To:        <freebsd-arm@freebsd.org>
Subject:   TUKLIB_FAST_UNALIGNED_ACCESS must not be defined in src/lib/liblzma/config.h on strict alignment architectures
Message-ID:  <8bdd58156a2cf1977c57893355ab4dad@localhost>

index | next in thread | raw e-mail

I noticed that /usr/bin/xz crashed with signal 10 on a Feroceon 
88FR131 rev 1 CPU and traced back to an unaligned 16 bit memory access 
in liblzma. This is enabled by TUKLIB_FAST_UNALIGNED_ACCESS in 
src/lib/liblzma/config.h. Uncommenting this line fixed the problem. 
This may cost some performance on non strict aligment architectures 
(e.g. x86, most ppc). Passing it via CFLAGS instead of config.h based 
on architecture would fix this problem.



home | help

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