Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 340389

Summary: x11-libs/pixman-0.17.2 wants to use ARM SIMD assembler
Product: Gentoo Linux Reporter: matt <mattmatteh>
Component: New packagesAssignee: Gentoo X packagers <x11>
Status: RESOLVED TEST-REQUEST    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: PPC   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
config.log

Description matt 2010-10-10 19:02:44 UTC
checking whether to use MMX intrinsics... disabled
checking whether to use SSE2 intrinsics... disabled
checking whether to use VMX/Altivec intrinsics... disabled
checking whether to use ARM SIMD assembler... yes
checking whether to use ARM NEON assembler... no


/bin/sh ../libtool --tag=CC   --mode=compile powerpc-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..     -mcpu=arm1136j-s -O2 -pipe -mcpu=7400 -maltivec -mabi=altivec -std=c99 -Wall -fno-strict-aliasing -fvisibility=hidden -MT libpixman_arm_simd_la-pixman-arm-simd.lo -MD -MP -MF .deps/libpixman_arm_simd_la-pixman-arm-simd.Tpo -c -o libpixman_arm_simd_la-pixman-arm-simd.lo `test -f 'pixman-arm-simd.c' || echo './'`pixman-arm-simd.c
 powerpc-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -mcpu=arm1136j-s -O2 -pipe -mcpu=7400 -maltivec -mabi=altivec -std=c99 -Wall -fno-strict-aliasing -fvisibility=hidden -MT libpixman_arm_simd_la-pixman-arm-simd.lo -MD -MP -MF .deps/libpixman_arm_simd_la-pixman-arm-simd.Tpo -c pixman-arm-simd.c  -fPIC -DPIC -o .libs/libpixman_arm_simd_la-pixman-arm-simd.o
pixman-arm-simd.c: In function 'arm_composite_add_8000_8000':
pixman-arm-simd.c:71: warning: implicit declaration of function 'asm'
pixman-arm-simd.c:71: error: expected ')' before ':' token
pixman-arm-simd.c:82: error: expected ')' before ':' token
pixman-arm-simd.c:93: error: expected ')' before ':' token
pixman-arm-simd.c: In function 'arm_composite_over_8888_8888':
pixman-arm-simd.c:139: error: 'asm' undeclared (first use in this function)


ibookx ~ # emerge -vp x11-libs/pixman
[ebuild     UD] x11-libs/pixman-0.17.2 [0.18.4] USE="-altivec -debug% (-mmx) (-sse2) (-static-libs%)"


ibookx ~ # emerge --info
Portage 2.1.8.3 (default/linux/powerpc/ppc32/10.0, gcc-4.4.3, glibc-2.11.2-r0, 2.6.35-gentoo-r4 ppc)
=================================================================
System uname: Linux-2.6.35-gentoo-r4-ppc-7447A,_altivec_supported-with-gentoo-1.12.13
Timestamp of tree: Sun, 10 Oct 2010 17:15:02 +0000
distcc 3.1 powerpc-unknown-linux-gnu [disabled]
app-shells/bash:     4.1_p7
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.6.3-r1, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="ppc"
ACCEPT_LICENSE="* -@EULA"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -pipe -mcpu=7400 -maltivec -mabi=altivec -std=c99"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -mcpu=7400 -maltivec -mabi=altivec -std=c99"
DISTDIR="/mnt/myusbdisk/data/distdir/"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US"
LC_ALL="en_US"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_US"
PKGDIR="/mnt/myusbdisk/data/package_dir"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/mnt/myusbdisk/tmp/portage_tmpdir/"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/nesicide /usr/local/portage/mupen64plus"
SYNC="rsync://192.168.168.16/portage"
USE="acl altivec berkdb bzip2 cli cracklib crypt cxx dri fortran gdbm gpm iconv ipv6 modules mudflap ncurses nls nptl nptlonly openmp pam pcre ppc pppd qt3support readline reflection session ssl sysfs unicode xorg zlib" ALSA_CARDS="aoa aoa-fabric-layout aoa-onyx aoa-soundbus aoa-soundbus-i2s aoa-tas aoa-toonie powermac usb-audio via82xx" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" PHP_TARGETS="php-5.2" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 matt 2010-10-10 19:05:55 UTC
Created attachment 250143 [details]
build.log
Comment 2 matt 2010-10-10 19:06:38 UTC
Created attachment 250145 [details]
config.log
Comment 3 matt 2010-10-10 19:25:22 UTC
found the problem, i had -std=c99 in my cflags.  not sure if this should be filtered or just plain invalid
Comment 4 Siarhei Siamashka 2010-10-29 09:33:45 UTC
pixman-0.17.2 is not in portage tree anymore
Comment 5 Tomáš Chvátal (RETIRED) gentoo-dev 2010-10-29 09:41:30 UTC
Well just test it with latest stable/testing (0.18.2, 0.20.0) and reopen if problem still exists, we will try to get it working with our arm team if so :)