When building python-2.6.1-r1 on an armv7a processor, I get these error messages: /var/tmp/portage/dev-lang/python-2.6.2-r1/work/Python-2.6.2/Modules/_ctypes/libffi/src/arm/sysv.S: Assembler messages: /var/tmp/portage/dev-lang/python-2.6.2-r1/work/Python-2.6.2/Modules/_ctypes/libffi/src/arm/sysv.S:203: Error: selected processor does not support `stfeqs f0,[r2]' /var/tmp/portage/dev-lang/python-2.6.2-r1/work/Python-2.6.2/Modules/_ctypes/libffi/src/arm/sysv.S:208: Error: selected processor does not support `stfeqd f0,[r2]' /var/tmp/portage/dev-lang/python-2.6.2-r1/work/Python-2.6.2/Modules/_ctypes/libffi/src/arm/sysv.S:283: Error: selected processor does not support `ldfs f0,[sp]' /var/tmp/portage/dev-lang/python-2.6.2-r1/work/Python-2.6.2/Modules/_ctypes/libffi/src/arm/sysv.S:286: Error: selected processor does not support `ldfd f0,[sp]' /var/tmp/portage/dev-lang/python-2.6.2-r1/work/Python-2.6.2/Modules/_ctypes/libffi/src/arm/sysv.S:289: Error: selected processor does not support `ldfd f0,[sp]' Full build.log will be attached shortly. Reproducible: Always Steps to Reproduce: # emerge --info Portage 2.1.6.13 (default/linux/arm/2008.0, 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: Fri, 28 Aug 2009 18:00:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 3.2_p39 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.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 1.5.26 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" MAKEOPTS="-j2" 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="acl arm berkdb bzip2 cli cracklib crypt cups fortran gdbm gpm iconv ipv6 isdnlog mudflap ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection session spl ssl sysfs tcpd unicode xorg 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" USERLAND="GNU" VIDEO_CARDS="fbdev" Unset: CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 202540 [details] build.log
@python: can't we disable ctypes build?
(In reply to comment #2) > @python: can't we disable ctypes build? Maybe using system version of dev-libs/libffi would help...
Can you reproduce this bug with dev-lang/python-2.6.3?
CC'ing another developer in our project Neuvoo, since he will likely have more time to test this than me.
Natively compiled python-2.6.4 successfully on nevuoo-0.2.1_rc2-minimal. Slightly newer toolchain, same CFLAGS and USE flags.
I'm closing the bug, then, since it seems like it was fixed after 2.6.3. Let us know if you need more information.
(In reply to comment #7) It was rather fixed in external libffi. 2.6.2-r1 ebuild was using internal copy of libffi-3.0.5.