All times are UTC-06:00




Post new topic  Reply to topic  [ 1 post ] 
Author Message
PostPosted: Thu Nov 11, 2010 9:07 am 
Offline

Joined: Sun Feb 21, 2010 6:58 pm
Posts: 30
Location: Roma, ITALIA
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

_________________
CRUX PPC user!


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 1 post ] 

All times are UTC-06:00


Who is online

Users browsing this forum: No registered users and 23 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
PowerDeveloper.org: Copyright © 2004-2012, Genesi USA, Inc. The Power Architecture and Power.org wordmarks and the Power and Power.org logos and related marks are trademarks and service marks licensed by Power.org.
All other names and trademarks used are property of their respective owners. Privacy Policy
Powered by phpBB® Forum Software © phpBB Group