Power Developer

lame with AltiVec support
Page 1 of 1

Author:  ppc.addon [ Thu Nov 11, 2010 9:07 am ]
Post subject:  lame with AltiVec support

i tried to build lame-3.98.4 with AltiVec support using this patch:
i compiled it with success on my CRUX PPC 2.6 (32bit) with the following steps:
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 \
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:
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

Page 1 of 1 All times are UTC-06:00
Powered by phpBB® Forum Software © phpBB Group