On Tue, 08 Nov 2011 22:21:27 -0600 Bruce Dubbs <[email protected]> wrote:
> If people just posted to blfs-dev that said "I just > built package-x.y.z and I had to change the instructions to..." I'd do > the XML. I just built libmpeg2-0.5.1. It compiles according to the instructions in the book but segfaults when I try to run anything linked to it. The problem is gcc-4.6 optimising away static constants. The solution is to edit libmpeg2/idct_mmx.c and change all the "static const" into just static: sed -i 's#static const#static#' libmpeg2/idct_mmx.c I found the solution in Mandriva's bugzilla: https://qa.mandriva.com/show_bug.cgi?id=63279 There's a patch there if you prefer patches. Andy -- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
