Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 266479 - Python-2.6 failed to crosscompile on arm
Summary: Python-2.6 failed to crosscompile on arm
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-17 07:01 UTC by Alex Filov
Modified: 2011-11-23 10:18 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,381.81 KB, text/plain)
2009-04-17 07:03 UTC, Alex Filov
Details
env (environment,137.25 KB, text/plain)
2009-04-17 07:04 UTC, Alex Filov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Filov 2009-04-17 07:01:56 UTC
Crosscompiling on arm failed

Reproducible: Always

Steps to Reproduce:
1. ACCEPT_KEYWORDS='~arm' emerge =python-2.6.1-r1
2.
3.

Actual Results:  
var/tmp/portage/dev-lang/python-2.6.1-r1/work/Python-2.6.1/Modules/_multiprocessing/socket_connection.$
/var/tmp/portage/dev-lang/python-2.6.1-r1/work/Python-2.6.1/Modules/_multiprocessing/socket_connection.$
/usr/libexec/gcc/arm-unknown-linux-gnueabi/ld: skipping incompatible /usr/lib/libdb-4.2.so when searchi$
/usr/libexec/gcc/arm-unknown-linux-gnueabi/ld: skipping incompatible /usr/lib/libdb-4.2.a when searchin$
/usr/libexec/gcc/arm-unknown-linux-gnueabi/ld: skipping incompatible /usr/lib/libdb-4.2.so when searchi$
/usr/libexec/gcc/arm-unknown-linux-gnueabi/ld: skipping incompatible /usr/lib/libdb-4.2.a when searchin$
/usr/libexec/gcc/arm-unknown-linux-gnueabi/ld: cannot find -ldb-4.2
collect2: выполнение ld завершилось с кодом возврата 1
/usr/libexec/gcc/arm-unknown-linux-gnueabi/ld: skipping incompatible /usr/lib/libncursesw.so when searc$
/usr/libexec/gcc/arm-unknown-linux-gnueabi/ld: skipping incompatible /usr/lib/libncursesw.a when search$
/usr/libexec/gcc/arm-unknown-linux-gnueabi/ld: cannot find -lncursesw
collect2: выполнение ld завершилось с кодом возврата 1
{standard input}: Assembler messages:
{standard input}:191: Error: bad instruction `btsl r3,[r2,#-140]'


and etc.....

see attachments
Comment 1 Alex Filov 2009-04-17 07:03:35 UTC
Created attachment 188649 [details]
build.log
Comment 2 Alex Filov 2009-04-17 07:04:00 UTC
Created attachment 188650 [details]
env
Comment 3 Alex Filov 2009-04-27 12:42:33 UTC
 # emerge --info
Portage 2.1.6.1 (default/linux/x86/2008.0, gcc-4.3.2, glibc-2.8_p20080602-r0, 2.6.28-rc3-vanilla-armada_M300- i686)
=================================================================
System uname: Linux-2.6.28-rc3-vanilla-armada_M300-i686-Pentium_III_-Coppermine-with-glibc2.0
Timestamp of tree: Fri, 24 Apr 2009 14:00:05 +0000
app-shells/bash:     3.2_p48
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.4.4-r15, 2.5.4-r2, 2.6.1-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/cmake:      2.6.3-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.3.0-r1
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=pentium3 -pipe -fomit-frame-pointer -fforce-addr -frename-registers  -falign-functions=64"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-Os -march=pentium3 -pipe -fomit-frame-pointer -fforce-addr -frename-registers  -falign-functions=64"
DISTDIR="/usr/portage/distfiles"
FEATURES="digest distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS=" http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo "
LANG="ru_RU.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="ru"
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="/opt/media/portage_overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="#Apparatura #Arhitektura #Bazi #Bezopasnost' #Failovie #GUI #Graficheskie #Multimediinie #Network #Office #Polzovatelskie #Science #Sound #Video #X #Yaziki R X aac aalib acl acpi alsa avi biblioteki bzip2 cli cracklib crypt dannih dbus dga doc dri dvd encode examples ffmpeg fftw flac flash float fortran fortran95 gd gettex gif gnuplot gphoto2 gstreamer gtk2 hdf5 iconv int64 ipython isdnlog jpeg kqemu lapack lm_sensors mathml matroska midi mmx mmx2 mp3 mpeg mpi mudflap mysql ncurses nls nptl nptlonly odbc ogg oggvorbis opengl openmp pam patented pcmcia pcre pda pdf png pnp pppd programmirovaniya pvfs2 python qt qt3 qt3support qt4 quicktime readline reflection sandbox session sistemi socks5 spell spl sqlite sse ssl sysfs tcpd theora threads tiff tk tools truetype umfpack unicode usb utf8 vorbis wifi win32codecs wxwindows x86 xorg xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru" USERLAND="GNU" VIDEO_CARDS="mach64"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS



Comment 4 Maksim 'max_posedon' Melnikau 2009-05-07 00:32:06 UTC
Here http://gentoo.mindzoo.de/index.cgi/browser/openmoko/trunk/openmoko-target/dev-lang/python you can take ebuild that works, and plz see bug 266479
Comment 5 Ian Delaney (RETIRED) gentoo-dev 2011-11-23 10:18:05 UTC
over 2 years, not fixed by never will