Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 356381 - dev-python/numpy uses wrong gcc linker for cross-compile
Summary: dev-python/numpy uses wrong gcc linker for cross-compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: portage-multilib
  Show dependency tree
 
Reported: 2011-02-25 05:58 UTC by Dylan Smith
Modified: 2011-03-25 05:04 UTC (History)
3 users (show)

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


Attachments
numpy-1.5.1-ebuild.patch (numpy-1.5.1-CC.patch,317 bytes, patch)
2011-02-25 05:59 UTC, Dylan Smith
Details | Diff
build.log (build.log,10.60 KB, text/plain)
2011-02-25 06:05 UTC, Nathan Phillip Brink (binki) (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dylan Smith 2011-02-25 05:58:00 UTC
This bug occurs with the portage-multilib overlay. When linking the 32bit libraries it uses the 64bit ld because of an incorrect gcc call. I've included an ebuild patch that will fix it.

Reproducible: Always
Steps:
1. enable portage-mulilib branch of multilib overlay
2. emerge numpy


emerge --info
Portage 2.2.0_alpha24-r1 (default/linux/amd64/10.0/desktop, gcc-4.5.2, glibc-2.13-r1, 2.6.38-rc5-git5 x86_64)
=================================================================
System uname: Linux-2.6.38-rc5-git5-x86_64-Intel-R-_Core-TM-_i7-2600_CPU_@_3.40GHz-with-gentoo-2.0.1
Timestamp of tree: Thu, 24 Feb 2011 22:45:01 +0000
ccache version 3.1.4 [enabled]
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.6.6-r2, 2.7.1-r1, 3.1.3-r1
dev-util/ccache:     3.1.4
dev-util/cmake:      2.8.4
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.7.0
sys-apps/sandbox:    2.5
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.21
sys-devel/gcc:       4.5.2
sys-devel/gcc-config: 1.4.1-r1::ohnobinki_overlay
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.82
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
Repositories: gentoo sunrise mozilla x11 multilib ohnobinki_overlay my_local_overlay
Installed sets: 
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
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/sandbox.d /etc/splash /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs ccache distlocks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="ftp://mirror.aarnet.edu.au/pub/gentoo/"
LANG="en_AU.UTF-8"
LDFLAGS="-Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="-j8"
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="/var/lib/layman/sunrise /var/lib/layman/mozilla /var/lib/layman/x11 /var/lib/layman/multilib /var/lib/layman/ohnobinki /usr/local/portage"
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="3dnow X a52 aac acl acpi alsa amd64 ati bash-completion berkdb branding bzip2 cairo cdr cleartype cli consolekit cracklib crypt css cups cxx dbus dri dts dvb dvd dvdr emboss emerald encode exif fam fbcondecor ffmpeg firefox flac fontconfig fortran fuse gallium gdbm gdu gif gnome-keyring gnutls gpm gstreamer gtk gzip iconv imap jpeg lame lcms libnotify lirc lm_sensors lzo mad madwifi matroska mikmod mmap mms mmx mng modules mp3 mp4 mpeg msn mtp mudflap multilib ncurses nls nptl nptlonly nsplugin ntfs offensive ogg ogm openal opengl openmp pam pango pcre pdf perl png policykit ppds pppd python qt3support quicktime rar readline s3tc samba sdl session smp spell sse sse2 ssl startup-notification svg sysfs syslog tcpd theora threads thunar tiff truetype udev unicode usb v4l v4l2 vcd vorbis wifi x264 xcb xcomposite xfce xinerama xml xorg xrandr xscreensaver xulrunner xv xvid zlib" ALSA_CARDS="hda-intel" 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" CAMERAS="ptp2" 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="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" LIRC_DEVICES="sb0540" MULTILIB_ABIS="amd64 x86" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon r600" 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" multilib_abi="x86" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Dylan Smith 2011-02-25 05:59:59 UTC
Created attachment 263749 [details, diff]
numpy-1.5.1-ebuild.patch
Comment 2 Nathan Phillip Brink (binki) (RETIRED) gentoo-dev 2011-02-25 06:05:21 UTC
Created attachment 263751 [details]
build.log

This compilation error is reproducable on portage-multilib.
Comment 3 Sébastien Fabbro (RETIRED) gentoo-dev 2011-03-25 05:04:35 UTC
applied in cvs. thanks.