[theora-dev] trouble building universal binaries on libtheora-1.1alpha1 without performance loss
Bill Cholewka
bcholew at yahoo.com
Thu Apr 30 12:39:48 PDT 2009
Hi,
I'm trying to build a universal binary from libtheora-1.1alpha1. My configure line is as follows:
env CFLAGS="-g -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc" LDFLAGS="-arch i386 -arch ppc" ./configure --disable-dependency-tracking
But when I make, I get:
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I/opt/local/include -Wall -Wno-parentheses -O3 -fforce-addr -fomit-frame-pointer -finline-functions -funroll-loops -g -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc -c -o mmxidct.lo `test -f 'dec/x86/mmxidct.c' || echo './'`dec/x86/mmxidct.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I/opt/local/include -Wall -Wno-parentheses -O3 -fforce-addr -fomit-frame-pointer -finline-functions -funroll-loops -g -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc -c dec/x86/mmxidct.c -fno-common -DPIC -o .libs/mmxidct.o
/var/tmp//ccuJ9bLo.s:64:Invalid mnemonic 'movq'
/var/tmp//ccuJ9bLo.s:65:Invalid mnemonic 'movq'
...
lipo: can't open input file: /var/tmp//cc8vS8iN.out (No such file or directory)
make[2]: *** [mmxidct.lo] Error 1
If I add --disable-asm as a config option, it gets me past this problem, but presumably at the cost of lost performance.
Is there a way to configure for universal binaries without using --disable-asm?
Thanks for your help.
Regards,
Bill
More information about the theora-dev
mailing list