i tried to build lame-3.98.4 with AltiVec support using this patch:
Code:
i compiled it with success on my CRUX PPC 2.6 (32bit) with the following steps:
Code:
patch -p0 -i $SRC/lame-3.98.4-altivec-20100323.diff
export CONFIG_DEFS="-maltivec -DALTIVEC"
./configure --prefix=/usr --mandir=/usr/man \
--disable-nls --with-gnu-ld \
--disable-analyzer-hooks --disable-gtktest \
--enable-all-float
but the resulting binary segfaults on my G4 cpu based machine.
On the contrary when i compile it on my 64bit (still CRUX PPC)with:
Code:
export CONFIG_DEFS="-maltivec -DALTIVEC -DALTIVEC_970"
it works like a charm on my G5 with great speed improvement.
Is there someone that have success on G4 machines?
Some AltiVec guru around to give me some tips?
## EDIT ##
my toolchain:
binutils-2.20, gcc-4.4.5 and glibc-2.11.2