Power Developer
https://www.powerdeveloper.org/forums/

lame with AltiVec support
https://www.powerdeveloper.org/forums/viewtopic.php?f=23&t=1887
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:
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

Page 1 of 1 All times are UTC-06:00
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/