pixman 0.34.0 tries to build vmx code on powerpc
Submitted by Marius Schamschula
Assigned to Oded Gabbay
Description
Created attachment 122649 Full MacPorts build log
When building pixman 0.34.0 using MacPorts on a OS X 10.5.8 G5 iMac, I get the following error:
/bin/sh ../libtool --tag=CC --mode=compile /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -faltivec -pipe -Os -arch ppc -Wall -Wdeclaration-after-statement -fno-strict-aliasing -fvisibility=hidden -pipe -Os -arch ppc -Wall -Wdeclaration-after-statement -fno-strict-aliasing -fvisibility=hidden -pthread -MT libpixman_vmx_la-pixman-vmx.lo -MD -MP -MF .deps/libpixman_vmx_la-pixman-vmx.Tpo -c -o libpixman_vmx_la-pixman-vmx.lo test -f 'pixman-vmx.c' || echo './'
pixman-vmx.c
libtool: compile: /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -faltivec -pipe -Os -arch ppc -Wall -Wdeclaration-after-statement -fno-strict-aliasing -fvisibility=hidden -pipe -Os -arch ppc -Wall -Wdeclaration-after-statement -fno-strict-aliasing -fvisibility=hidden -pthread -MT libpixman_vmx_la-pixman-vmx.lo -MD -MP -MF .deps/libpixman_vmx_la-pixman-vmx.Tpo -c pixman-vmx.c -fno-common -DPIC -o .libs/libpixman_vmx_la-pixman-vmx.o
In file included from pixman-vmx.c:34:
/usr/lib/gcc/powerpc-apple-darwin9/4.2.1/include/altivec.h:45:2: warning: #warning Ignoring <altivec.h> because "-faltivec" specified
pixman-vmx.c: In function âscaled_nearest_scanline_vmx_8888_8888_OVERâ:
pixman-vmx.c:2936: error: subscripted value is neither array nor pointer
pixman-vmx.c:2937: error: subscripted value is neither array nor pointer
pixman-vmx.c:2938: error: subscripted value is neither array nor pointer
pixman-vmx.c:2939: error: subscripted value is neither array nor pointer
make[2]: *** [libpixman_vmx_la-pixman-vmx.lo] Error 1
make[2]: Leaving directory /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_libpixman/libpixman/work/pixman-0.34.0/pixman' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_libpixman/libpixman/work/pixman-0.34.0'
make: *** [all] Error 2
make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_libpixman/libpixman/work/pixman-0.34.0'
Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_libpixman/libpixman/work/pixman-0.34.0" && /usr/bin/make -w all V=1
Exit code: 2
Obviously, I can build by configuring with --disable-vmx, but configure should have never enabled vmx extensions in the first place.
Attachment 122649, "Full MacPorts build log":
libpixman-main.log.gz
Version: other