/bin/sh ../libtool --tag=CC --mode=link armv7a-softfloat-linux-gnueabi-gcc -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -fomit-frame-point er -Os -pipe -Wall -fno-strict-aliasing -fvisibility=hidden -Wl,-O1 -o region-test region-test.o ../pixman/libpixman-1.la mkdir .libs armv7a-softfloat-linux-gnueabi-gcc -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -fomit-frame-pointer -Os -pipe -Wall -fno-strict-aliasing -fv isibility=hidden -Wl,-O1 -o .libs/region-test region-test.o ../pixman/.libs/libpixman-1.so -lm ../pixman/.libs/libpixman-1.so: undefined reference to `d0' ../pixman/.libs/libpixman-1.so: undefined reference to `q0' collect2: ld returned 1 exit status make[2]: *** [region-test] Error 1 make[2]: Leaving directory `/var/tmp/portage/x11-libs/pixman-0.17.2/work/pixman-0.17.2/test' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/x11-libs/pixman-0.17.2/work/pixman-0.17.2' make: *** [all] Error 2 Reproducible: Always Steps to Reproduce: Portage 2.1.6.13 (default/linux/arm/10.0/desktop, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.30-rc8-omap1-beagle-05719-g151c7a7 armv7l) ================================================================= System uname: Linux-2.6.30-rc8-omap1-beagle-05719-g151c7a7-armv7l-ARMv7_Processor_rev_2_-v7l-with-glibc2.4 Timestamp of tree: Mon, 21 Dec 2009 00:30:22 +0000 ccache version 2.4 [enabled] app-shells/bash: 4.0_p35 dev-lang/python: 2.5.4-r2 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.63-r1 sys-devel/automake: 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="arm" CBUILD="armv7a-softfloat-linux-gnueabi" CFLAGS="-march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -fomit-frame-pointer -Os -pipe" CHOST="armv7a-softfloat-linux-gnueabi" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -fomit-frame-pointer -Os -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--buildpkg" FEATURES="ccache collision-protect distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LDFLAGS="-Wl,-O1" PKGDIR="/usr/portage/packages" 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="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa arm berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus dts dvdr eds emboss encode evo fam firefox flac fortran gdbm gif gnome gpm gstreamer gtk hal iconv ipv6 jpeg ldap libnotify mad mikmod mng modules mp3 mp4 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3support qt4 quicktime readline reflection sdl session spell spl ssl startup-notification svg sysfs tcpd thunar tiff truetype unicode usb vorbis xml xorg xulrunner xv xvid zlib" 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 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" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse touchscreen" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev" Unset: CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 213687 [details] build.log
Reference to upstream bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=25534 It's a bug in binutils, so a solution is to upgrade binutils to version 2.19 or higher. ARM NEON support is relatively new, so it needs time for all the bugs in gcc / binutils to be ironed out.
Is this confirmed, then?
Happens to me on armv5te as well, without neon...
Well...this uses neon even if the cpu doesn't support it... @x11: please add --disable-arm-neon meanwhile, so it can go stable. Thanks
(In reply to comment #4) > Happens to me on armv5te as well, without neon... Have you tried upgrading binutils? IMHO it is the best way to solve this problem. > Well...this uses neon even if the cpu doesn't support it... Support for NEON optimizations is compiled in automatically if the toolchain supports it, but still the decision whether to use NEON optimized functions is made at runtime. So armv5te should be perfectly fine even with neon-enabled pixman. This behaviour is exactly the same on x86 and ppc. Adding 'neon' use flag would make sense in order to reduce library size for systems which do not need neon. > @x11: please add --disable-arm-neon meanwhile, so it can go stable. Do you think it is the best option?
By the way, there is also a possibility that you additionally need this patch for pixman: http://cgit.freedesktop.org/pixman/commit/?id=a47b5167c4c1b55b2f51e29ab0782c2659bec312 Please also always provide some error logs if/when having any kind of build failures different from what has been already reported. They make it much easier to identify what could be wrong. Thanks.
Applying the above patch succeeds but does not resolve this bug.
Since we now have binutils-2.19.1 stable on arm this can be closed.