View previous topic :: View next topic |
Author |
Message |
gcasillo l33t
Joined: 23 Sep 2003 Posts: 739 Location: Cincinnati, Ohio, USA
|
Posted: Sat Jun 12, 2010 5:13 pm Post subject: crossdev error: "cannot compute suffix of object files& |
|
|
I have had a problem getting crossdev to build a cross-compiling toolchain for a while now. On an amd64 machine, I'm attempting to build a i686-pc-linux-gnu toolchain with the following:
Code: | crossdev -t i686-pc-linux-gnu |
It gets this far:
Code: | coffee ~ # crossdev -t i686-pc-linux-gnu
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
* Host Portage ARCH: amd64
* Target Portage ARCH: x86
* Target System: i686-pc-linux-gnu
* Stage: 4 (C/C++ compiler)
* binutils: binutils-[latest]
* gcc: gcc-[latest]
* headers: linux-headers-[latest]
* libc: glibc-[latest]
* PORTDIR_OVERLAY: /usr/local/portage
* PORT_LOGDIR: /var/log/portage
* PKGDIR: /usr/portage/packages/cross/i686-pc-linux-gnu
* PORTAGE_TMPDIR: /var/tmp/cross/i686-pc-linux-gnu
_ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ -
* Forcing the latest versions of {binutils,gcc}-config/gnuconfig ... [ ok ]
* Log: /var/log/portage/cross-i686-pc-linux-gnu-binutils.log
* Emerging cross-binutils ... [ ok ]
* Log: /var/log/portage/cross-i686-pc-linux-gnu-linux-headers-quick.log
* Emerging cross-linux-headers-quick ... [ ok ]
* Log: /var/log/portage/cross-i686-pc-linux-gnu-glibc-headers.log
* Emerging cross-glibc-headers ... [ ok ]
* Log: /var/log/portage/cross-i686-pc-linux-gnu-gcc-stage1.log
* Emerging cross-gcc-stage1 ... [ ok ]
* Log: /var/log/portage/cross-i686-pc-linux-gnu-linux-headers.log
* Emerging cross-linux-headers ... [ ok ]
* Log: /var/log/portage/cross-i686-pc-linux-gnu-glibc.log
* Emerging cross-glibc ...
* glibc failed :(
* If you file a bug, please attach the following logfiles:
* /var/log/portage/cross-i686-pc-linux-gnu-info.log
* /var/log/portage/cross-i686-pc-linux-gnu-glibc.log |
As you can see it's getting stuck on cross-glibc. It's always the same error. Here's the output of each log file:
Code: | coffee ~ # cat /var/log/portage/cross-i686-pc-linux-gnu-info.log
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
* Host Portage ARCH: amd64
* Target Portage ARCH: x86
* Target System: i686-pc-linux-gnu
* Stage: 4 (C/C++ compiler)
* binutils: binutils-[latest]
* gcc: gcc-[latest]
* headers: linux-headers-[latest]
* libc: glibc-[latest]
* PORTDIR_OVERLAY: /usr/local/portage
* PORT_LOGDIR: /var/log/portage
* PKGDIR: /usr/portage/packages/cross/i686-pc-linux-gnu
* PORTAGE_TMPDIR: /var/tmp/cross/i686-pc-linux-gnu
_ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ -
Portage 2.1.8.3 (default/linux/amd64/10.0, gcc-4.4.4, glibc-2.11.2-r0, 2.6.34-gentoo x86_64)
=================================================================
System uname: Linux-2.6.34-gentoo-x86_64-Intel-R-_Atom-TM-_CPU_330_@_1.60GHz-with-gentoo-2.0.1
Timestamp of tree: Fri, 11 Jun 2010 16:15:02 +0000
ccache version 2.4 [enabled]
app-shells/bash: 4.1_p7
dev-lang/python: 2.6.5-r2, 3.1.2-r3
dev-util/ccache: 2.4-r8
dev-util/cmake: 2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc: 0.6.1-r1
sys-apps/sandbox: 2.2
sys-devel/autoconf: 2.65
sys-devel/automake: 1.11.1
sys-devel/binutils: 2.20.1-r1
sys-devel/gcc: 4.4.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool: 2.2.10
virtual/os-headers: 2.6.34
ABI="amd64"
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
ACCEPT_PROPERTIES="*"
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 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"
ARCH="amd64"
ASFLAGS_x86="--32"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CCACHE_DIR="/var/tmp/ccache"
CCACHE_SIZE="1G"
CDEFINE_amd64="__x86_64__"
CDEFINE_x86="__i386__"
CFLAGS="-march=core2 -O2 -pipe -fomit-frame-pointer"
CFLAGS_x86="-m32"
CHOST="x86_64-pc-linux-gnu"
CHOST_amd64="x86_64-pc-linux-gnu"
CHOST_x86="i686-pc-linux-gnu"
CLEAN_DELAY="5"
COLLISION_IGNORE="/lib/modules"
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/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CVS_RSH="ssh"
CXXFLAGS="-march=core2 -O2 -pipe -fomit-frame-pointer"
DEFAULT_ABI="amd64"
DISTDIR="/usr/portage/distfiles"
EDITOR="/bin/nano"
ELIBC="glibc"
EMERGE_WARNING_DELAY="10"
EPREFIX=""
EROOT="/"
FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
FETCHCOMMAND="/usr/bin/wget -t 5 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}""
GCC_SPECS=""
GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo ftp://ftp.gtlib.gatech.edu/pub/gentoo http://www.gtlib.gatech.edu/pub/gentoo http://gentoo.mirrors.pair.com/ ftp://gentoo.mirrors.pair.com/ http://gentoo.mirrors.tds.net/gentoo ftp://gentoo.mirrors.tds.net/gentoo http://mirror.datapipe.net/gentoo ftp://mirror.datapipe.net/gentoo"
HOME="/root"
INFOPATH="/usr/share/info:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.20.1/info:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.4.3/info"
INPUT_DEVICES="evdev keyboard mouse"
KERNEL="linux"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text"
LDFLAGS="-Wl,-O1"
LDFLAGS_x86="-m elf_i386"
LESS="-R -M --shift 5"
LESSOPEN="|lesspipe.sh %s"
LIBDIR_amd64="lib64"
LIBDIR_amd64_fbsd="lib64"
LIBDIR_ppc="lib32"
LIBDIR_ppc64="lib64"
LIBDIR_sparc32="lib32"
LIBDIR_sparc64="lib64"
LIBDIR_x86="lib32"
LIBDIR_x86_fbsd="lib32"
LIRC_DEVICES="mceusb"
LOGNAME="root"
LS_COLORS="rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:*.doc=00;32:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:"
MAIL="/var/mail/root"
MAKEOPTS="-j25"
MANPATH="/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.20.1/man:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.4.3/man"
MULTILIB_ABIS="amd64 x86"
MULTILIB_STRICT_DENY="64-bit.*shared object"
MULTILIB_STRICT_DIRS="/lib32 /lib /usr/lib32 /usr/lib /usr/kde/*/lib32 /usr/kde/*/lib /usr/qt/*/lib32 /usr/qt/*/lib /usr/X11R6/lib32 /usr/X11R6/lib"
MULTILIB_STRICT_EXEMPT="(perl5|gcc|gcc-lib|binutils|eclipse-3|debug|portage)"
NETBEANS="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml"
NOCOLOR="true"
OLDPWD="/root"
OPENGL_PROFILE="xorg-x11"
PAGER="/usr/bin/less"
PATH="/lib64/rc/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/lib/ccache/bin:/usr/lib/icecc/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.4.3"
PKGDIR="/usr/portage/packages/cross/i686-pc-linux-gnu"
PORTAGE_ARCHLIST="ppc x86-openbsd ppc-openbsd ppc64 x86-winnt x86-fbsd ppc-aix alpha arm x86-freebsd s390 amd64 arm-linux x86-macos x64-openbsd ia64-hpux hppa x86-netbsd amd64-linux ia64-linux x86 sparc-solaris x64-freebsd sparc64-solaris x86-linux x64-macos sparc m68k-mint ia64 mips ppc-macos x86-interix hppa-hpux amd64-fbsd x64-solaris mips-irix m68k sh x86-solaris sparc-fbsd"
PORTAGE_BINHOST_CHUNKSIZE="3000"
PORTAGE_BIN_PATH="/usr/lib64/portage/bin"
PORTAGE_COMPRESS="gzip"
PORTAGE_COMPRESS_EXCLUDE_SUFFIXES="css gif htm[l]? jp[e]?g js pdf png"
PORTAGE_COMPRESS_FLAGS="-9"
PORTAGE_CONFIGROOT="/"
PORTAGE_DEBUG="0"
PORTAGE_DEPCACHEDIR="/var/cache/edb/dep"
PORTAGE_ELOG_CLASSES="log warn error"
PORTAGE_ELOG_MAILFROM="portage@localhost"
PORTAGE_ELOG_MAILSUBJECT="[portage] ebuild log for ${PACKAGE} on ${HOST}"
PORTAGE_ELOG_MAILURI="root"
PORTAGE_ELOG_SYSTEM="save_summary echo"
PORTAGE_FETCH_CHECKSUM_TRY_MIRRORS="5"
PORTAGE_FETCH_RESUME_MIN_SIZE="350K"
PORTAGE_GID="250"
PORTAGE_INST_GID="0"
PORTAGE_INST_UID="0"
PORTAGE_PYM_PATH="/usr/lib64/portage/pym"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_RSYNC_RETRIES="3"
PORTAGE_SYNC_STALE="30"
PORTAGE_TMPDIR="/var/tmp/cross/i686-pc-linux-gnu"
PORTAGE_VERBOSE="1"
PORTAGE_WORKDIR_MODE="0700"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
PREROOTPATH="/usr/lib/ccache/bin:/usr/lib/icecc/bin"
PROFILE_ONLY_VARIABLES="ARCH ELIBC KERNEL USERLAND"
PWD="/"
PYTHONDONTWRITEBYTECODE="1"
RESUMECOMMAND="/usr/bin/wget -c -t 5 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}""
ROOT="/"
ROOTPATH="/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.4.4"
RPMDIR="/usr/portage/rpm"
RUBY_TARGETS="ruby18"
SHELL="/bin/bash"
SHLVL="2"
SSH_CLIENT="192.168.0.101 57738 22"
SSH_CONNECTION="192.168.0.101 57738 192.168.0.108 22"
SSH_TTY="/dev/pts/0"
STAGE1_USE="multilib nptl nptlonly unicode"
SYMLINK_LIB="yes"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
TERM="xterm"
USE="X a52 aac acl alsa amd64 asf audiofile avi bash-completion berkdb bzip2 cli consolekit cracklib crypt ctype cxx dbus dirac dlloader dri dts encode faac faad ffmpeg flac gdbm gif hal imlib jpeg kde kde4 libg++ libwww lirc live lm_sensors logrotate mad matroska midi mmx mmxext modules mp3 mp4 mpeg mudflap multilib mysql ncurses nls nptl nptlonly ogg oggvorbis openal opengl openmp pcre perl plasma png python qt3support qt4 quicktime readline session smp speex sse sse2 ssl ssse3 svg sysfs syslog tcpd theora tiff transcode truetype unicode usb vdpau vorbis webkit x264 xcomposite xine xorg 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 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIRC_DEVICES="mceusb" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" 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"
USER="root"
USERLAND="GNU"
USE_EXPAND="ALSA_CARDS ALSA_PCM_PLUGINS APACHE2_MODULES APACHE2_MPMS CAMERAS CROSSCOMPILE_OPTS DVB_CARDS ELIBC FCDSL_CARDS FOO2ZJS_DEVICES FRITZCAPI_CARDS INPUT_DEVICES KERNEL LCD_DEVICES LINGUAS LIRC_DEVICES MISDN_CARDS NETBEANS_MODULES NGINX_MODULES_HTTP NGINX_MODULES_MAIL QEMU_SOFTMMU_TARGETS QEMU_USER_TARGETS RUBY_TARGETS SANE_BACKENDS USERLAND VIDEO_CARDS XTABLES_ADDONS"
USE_EXPAND_HIDDEN="CROSSCOMPILE_OPTS ELIBC KERNEL USERLAND"
USE_ORDER="env:pkg:conf:defaults:pkginternal:env.d"
VIDEO_CARDS="nvidia"
XDG_CONFIG_DIRS="/etc/xdg"
XDG_DATA_DIRS="/usr/local/share:/usr/share"
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"
XZ_OPT="--memory=max"
_="/usr/bin/emerge" |
Code: | coffee ~ # cat /var/log/portage/cross-i686-pc-linux-gnu-glibc.log
Calculating dependencies .... done!
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) cross-i686-pc-linux-gnu/glibc-2.11.2 from unknown repo
* glibc-2.11.2.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ]
* glibc-ports-2.11.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ]
* glibc-2.11.2-patches-1.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ]
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
* CPV: cross-i686-pc-linux-gnu/glibc-2.11.2
* REPO:
* USE: amd64 elibc_glibc kernel_linux multilib nls userland_GNU
>>> Unpacking source...
* Checking gcc for __thread support ...
[ ok ]
* Checking linux-headers version (2.6.34 >= 2.6.9) ...
[ ok ]
>>> Unpacking glibc-2.11.2.tar.bz2 to /var/tmp/cross/i686-pc-linux-gnu/portage/cross-i686-pc-linux-gnu/glibc-2.11.2/work
>>> Unpacking glibc-ports-2.11.tar.bz2 to /var/tmp/cross/i686-pc-linux-gnu/portage/cross-i686-pc-linux-gnu/glibc-2.11.2/work/glibc-2.11.2
>>> Unpacking glibc-2.11.2-patches-1.tar.bz2 to /var/tmp/cross/i686-pc-linux-gnu/portage/cross-i686-pc-linux-gnu/glibc-2.11.2/work
* Applying Gentoo Glibc Patchset 2.11.2-1 ...
* 0020_all_glibc-tweak-rfc1918-lookup.patch ...
[ ok ]
* 0030_all_glibc-respect-env-CPPFLAGS.patch ...
[ ok ]
* 0044_all_glibc-2.10-resolv-nameserver-fallback.patch ...
[ ok ]
* 0085_all_glibc-disable-ldconfig.patch ...
[ ok ]
* 1010_all_glibc-queue-header-updates.patch ...
[ ok ]
* 1020_all_glibc-longjmp-chk-hidden-fortify.patch ...
[ ok ]
* 1030_all_glibc-manual-no-perl.patch ...
[ ok ]
* 1040_all_2.3.3-localedef-fix-trampoline.patch ...
[ ok ]
* 1055_all_glibc-resolv-dynamic.patch ...
[ ok ]
* 1060_all_glibc-localedef-mmap.patch ...
[ ok ]
* 1070_all_glibc-fadvise64_64.patch ...
[ ok ]
* 1073_all_glibc-ldbl-nexttowardf.patch ...
[ ok ]
* 1075_all_glibc-section-comments.patch ...
[ ok ]
* 1080_all_glibc-no-inline-gmon.patch ...
[ ok ]
* 1085_all_glibc-2.9-check_native-headers.patch ...
[ ok ]
* 1090_all_glibc-2.3.6-fix-pr631.patch ...
[ ok ]
* 1095_all_glibc-2.9-assume-pipe2.patch ...
[ ok ]
* 1100_all_glibc-2.3.3-china.patch ...
[ ok ]
* 1103_all_glibc-new-valencian-locale.patch ...
[ ok ]
* 1120_all_glibc-2.11-longjmp-chk-fallback.patch ...
[ ok ]
* 1130_all_glibc-2.4-undefine-__i686.patch ...
[ ok ]
* 1160_all_glibc-2.8-nscd-one-fork.patch ...
[ ok ]
* 1508_all_glibc-2.11-hppa-SOCK_CLOEXEC.patch ...
[ ok ]
* 1530_all_glibc-m68k-sys-user.patch ...
[ ok ]
* 3000_all_2.3.6-dl_execstack-PaX-support.patch ...
[ ok ]
* 3010_all_2.3.3_pre20040117-pt_pax.patch ...
[ ok ]
* 3020_all_glibc-tests-sandbox-libdl-paths.patch ...
[ ok ]
* 5021_all_2.9-fnmatch.patch ...
[ ok ]
* 5063_all_glibc-dont-build-timezone.patch ...
[ ok ]
* 6001_all_alpha-glibc-2.4-xstat.patch ...
[ ok ]
* 6015_all_alpha-glibc-2.5-no-page-header.patch ...
[ ok ]
* 6017_all_alpha-glibc-2.8-creat.patch ...
[ ok ]
* 6018_all_alpha-glibc-2.8-cache-shape.patch ...
[ ok ]
* 6019_all_alpha-glibc-ptr-mangling.patch ...
[ ok ]
* 6020_all_alpha-fix-gcc-4.1-warnings.patch ...
[ ok ]
* 6020_all_alpha-floor_ceil_fix.patch ...
[ ok ]
* 6021_all_alpha-add-dl-procinfo-support.patch ...
[ ok ]
* 6023_all_alpha-fcntl-updates.patch ...
[ ok ]
* 6024_all_alpha-settime-typo.patch ...
[ ok ]
* 6026_all_alpha-fix-rtld-fPIC.patch ...
[ ok ]
* 6027_all_alpha-fix-memchr.patch ...
[ ok ]
* 6028_all_alpha-fix-SOCK_NONBLOCK.patch ...
[ ok ]
* 6120_all_ppc-glibc-2.9-atomic.patch ...
[ ok ]
* 6130_all_ppc-glibc-2.11-cell-vector.patch ...
[ ok ]
* 6220_all_glibc-2.4-arm-cirrus-ep93xx-maverick-crunch-fpu.patch ...
[ ok ]
* 6240_all_glibc-2.8-nptl-lowlevellock.patch ...
[ ok ]
* 6418_all_sh-glibc-2.9-set-fpscr-proto.patch ...
[ ok ]
* 6605_all_glibc-2.4-fpu-cw-mips.patch ...
[ ok ]
* 6610_all_glibc-r10k-workarounds.patch ...
[ ok ]
* Done with patching
* Using GNU config files from /usr/share/gnuconfig
* Updating scripts/config.sub
[ ok ]
* Updating scripts/config.guess
[ ok ]
>>> Source unpacked in /var/tmp/cross/i686-pc-linux-gnu/portage/cross-i686-pc-linux-gnu/glibc-2.11.2/work
>>> Compiling source in /var/tmp/cross/i686-pc-linux-gnu/portage/cross-i686-pc-linux-gnu/glibc-2.11.2/work/glibc-2.11.2 ...
* ABI: default
* CBUILD: x86_64-pc-linux-gnu
* CHOST: x86_64-pc-linux-gnu
* CTARGET: i686-pc-linux-gnu
* CBUILD_OPT:
* CTARGET_OPT:
* CC:
* CFLAGS: -march=i686 -pipe -O2 -fno-strict-aliasing
* Configuring GLIBC for nptl with:
* --disable-stackguard-randomization
* --enable-old-ssp-compat
* --enable-add-ons=nptl,c_stubs,libidn,ports
* --enable-kernel=2.6.9
* --without-selinux
* --without-cvs
* --enable-bind-now
* --build=x86_64-pc-linux-gnu
* --host=i686-pc-linux-gnu
* --disable-profile
* --without-gd
* --with-headers=/usr/i686-pc-linux-gnu/usr/include
* --prefix=/usr
* --libdir=/usr/lib
* --mandir=/usr/share/man
* --infodir=/usr/share/info
* --libexecdir=/usr/lib/misc/glibc
*
configure: loading site script /usr/share/config.site
configure: loading site script /usr/share/crossdev/include/site/linux
checking build system type... x86_64-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
checking for suffix of object files... configure: error: in `/var/tmp/cross/i686-pc-linux-gnu/portage/cross-i686-pc-linux-gnu/glibc-2.11.2/work/build-default-i686-pc-linux-gnu-nptl':
configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
* ERROR: cross-i686-pc-linux-gnu/glibc-2.11.2 failed:
* failed to configure glibc
*
* Call stack:
* ebuild.sh, line 54: Called src_compile
* environment, line 3855: Called eblit-run 'src_compile'
* environment, line 1244: Called eblit-glibc-src_compile
* src_compile.eblit, line 199: Called src_compile
* environment, line 3855: Called eblit-run 'src_compile'
* environment, line 1244: Called eblit-glibc-src_compile
* src_compile.eblit, line 207: Called toolchain-glibc_src_compile
* src_compile.eblit, line 121: Called glibc_do_configure 'nptl'
* src_compile.eblit, line 98: Called die
* The specific snippet of code:
* "${S}"/configure ${myconf} || die "failed to configure glibc"
*
* If you need support, post the output of 'emerge --info =cross-i686-pc-linux-gnu/glibc-2.11.2',
* the complete build log and the output of 'emerge -pqv =cross-i686-pc-linux-gnu/glibc-2.11.2'.
* This ebuild is from an overlay: '/usr/local/portage/'
* The complete build log is located at '/var/tmp/cross/i686-pc-linux-gnu/portage/cross-i686-pc-linux-gnu/glibc-2.11.2/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/cross/i686-pc-linux-gnu/portage/cross-i686-pc-linux-gnu/glibc-2.11.2/temp/environment'.
* S: '/var/tmp/cross/i686-pc-linux-gnu/portage/cross-i686-pc-linux-gnu/glibc-2.11.2/work/glibc-2.11.2'
>>> Failed to emerge cross-i686-pc-linux-gnu/glibc-2.11.2, Log file:
>>> '/var/tmp/cross/i686-pc-linux-gnu/portage/cross-i686-pc-linux-gnu/glibc-2.11.2/temp/build.log'
* Messages for package cross-i686-pc-linux-gnu/glibc-2.11.2:
* ERROR: cross-i686-pc-linux-gnu/glibc-2.11.2 failed:
* failed to configure glibc
*
* Call stack:
* ebuild.sh, line 54: Called src_compile
* environment, line 3855: Called eblit-run 'src_compile'
* environment, line 1244: Called eblit-glibc-src_compile
* src_compile.eblit, line 199: Called src_compile
* environment, line 3855: Called eblit-run 'src_compile'
* environment, line 1244: Called eblit-glibc-src_compile
* src_compile.eblit, line 207: Called toolchain-glibc_src_compile
* src_compile.eblit, line 121: Called glibc_do_configure 'nptl'
* src_compile.eblit, line 98: Called die
* The specific snippet of code:
* "${S}"/configure ${myconf} || die "failed to configure glibc"
*
* If you need support, post the output of 'emerge --info =cross-i686-pc-linux-gnu/glibc-2.11.2',
* the complete build log and the output of 'emerge -pqv =cross-i686-pc-linux-gnu/glibc-2.11.2'.
* This ebuild is from an overlay: '/usr/local/portage/'
* The complete build log is located at '/var/tmp/cross/i686-pc-linux-gnu/portage/cross-i686-pc-linux-gnu/glibc-2.11.2/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/cross/i686-pc-linux-gnu/portage/cross-i686-pc-linux-gnu/glibc-2.11.2/temp/environment'.
* S: '/var/tmp/cross/i686-pc-linux-gnu/portage/cross-i686-pc-linux-gnu/glibc-2.11.2/work/glibc-2.11.2' |
The operative part of that last log file is the error: "checking for suffix of object files... configure: error: in `/var/tmp/cross/i686-pc-linux-gnu/portage/cross-i686-pc-linux-gnu/glibc-2.11.2/work/build-default-i686-pc-linux-gnu-nptl':
configure: error: cannot compute suffix of object files: cannot compile". Anybody who knows more about crossdev know something about this error and what I can do to bypass it and build a toolchain? |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 21706
|
Posted: Sat Jun 12, 2010 5:47 pm Post subject: Re: crossdev error: "cannot compute suffix of object fi |
|
|
gcasillo wrote: | Code: | coffee ~ # cat /var/log/portage/cross-i686-pc-linux-gnu-glibc.log
configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details. |
| That log file may contain useful information.
May I ask why you want an i686 cross compiler on an amd64 machine? You can run IA32 natively on an amd64 CPU. If you want to build only custom code, with few or no dependencies, you can do so using the -m32 switch to your existing gcc. If you want to compile a full IA32 Gentoo environment, that could be done in a chroot. Cross compiling i686 like this is really only useful for the middle ground where you want less than a full environment, but more than is manageable without a package manager. |
|
Back to top |
|
|
gcasillo l33t
Joined: 23 Sep 2003 Posts: 739 Location: Cincinnati, Ohio, USA
|
Posted: Tue Jun 15, 2010 2:13 pm Post subject: |
|
|
The i686 computer I have is a low-powered netbook (Atom N280). I have three beefier amd64 computers (Core 2 Quad, Core 2 Duo, Atom N330), that I use icecream with to aid in long emerges across those computers. I'd like to utilize their power to help build and emerge the same stuff on the wimpy netbook. |
|
Back to top |
|
|
mdhsc n00b
Joined: 04 Jul 2010 Posts: 2
|
Posted: Sun Jul 04, 2010 10:30 pm Post subject: Same problem |
|
|
gcasillo,
I have been trying to get crossdev to compile glibc to use when updating my netbook and have been getting the same errors. I have tried multiple versions. Have you had any luck? Thanks. |
|
Back to top |
|
|
gcasillo l33t
Joined: 23 Sep 2003 Posts: 739 Location: Cincinnati, Ohio, USA
|
Posted: Mon Jul 05, 2010 12:49 am Post subject: |
|
|
I eventually got crossdev to build an i686 toolchain. I made sure all versions of the toolchain where the same on all machines. Then I did the following to make sure everything was built with the current version of the toolchain:
Code: | emerge -e system ; emerge -e world |
Now, I don't know if this ultimately was what fixed my issue, but after doing this on all of machines, I was able to build an i686 toolchain on my amd64 computers successfully.
On a related note, for some reason, icecream stopped working for me. Jobs weren't being distributed at all. I had to go back to distcc which works though seemingly not as efficiently as icecream. |
|
Back to top |
|
|
regomodo Guru
Joined: 25 Mar 2008 Posts: 445
|
Posted: Tue Jul 06, 2010 6:14 pm Post subject: |
|
|
I've got the same issue atm. It's one of many with crossdev. crossdev used to be reliable, now I have issues getting almost anything built with it and frankly has become completely useless now. Can't compile avr, arm, nor i686-pc-linux-gnu anymore, not even with the "-S" arg. |
|
Back to top |
|
|
regomodo Guru
Joined: 25 Mar 2008 Posts: 445
|
Posted: Sun Jul 18, 2010 1:48 am Post subject: |
|
|
gcasillo wrote: | I eventually got crossdev to build an i686 toolchain. I made sure all versions of the toolchain where the same on all machines. Then I did the following to make sure everything was built with the current version of the toolchain:
Code: | emerge -e system ; emerge -e world |
Now, I don't know if this ultimately was what fixed my issue, but after doing this on all of machines, I was able to build an i686 toolchain on my amd64 computers successfully.
|
"emerge -e system" didn't work for me. I don't really want to rebuild world though; i've got 1111 packages installed. |
|
Back to top |
|
|
mdhsc n00b
Joined: 04 Jul 2010 Posts: 2
|
Posted: Tue Jul 20, 2010 1:02 am Post subject: Still not working |
|
|
I have tried to rebuild both system and world and still have the same error. When I check /var/log/portage/cross-i686-pc-linux-gnu-glibc.log, I get the following:
checking for i686-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking for suffix of object files... configure: error: in `/var/tmp/cross/i686-pc-linux-gnu/portage/cross-i686-pc-linux-gnu/glibc-2.11-r1/work/build-default-i686-pc-linux-gnu-nptl':
configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
* ERROR: cross-i686-pc-linux-gnu/glibc-2.11-r1 failed:
* failed to configure glibc |
|
Back to top |
|
|
regomodo Guru
Joined: 25 Mar 2008 Posts: 445
|
Posted: Thu Jul 22, 2010 9:04 pm Post subject: |
|
|
Finally emerge -e world and still have the same error as above. I would post a bug at bugzilla but in my experience it's a futile effort. |
|
Back to top |
|
|
xaviermiller Bodhisattva
Joined: 23 Jul 2004 Posts: 8710 Location: ~Brussels - Belgique
|
Posted: Thu Jul 22, 2010 9:20 pm Post subject: |
|
|
You don't need crossdev to build i686 code from a x86_64 processor.
Do you have support for 32 bit code in your 64 bits kernel ?
In that case, download a 32 bits stage 3, change the architecture and chroot into it : Code: | linux32 chroot /mnt/gentoo32 bin/env -i /bin/bash --login |
_________________ Kind regards,
Xavier Miller |
|
Back to top |
|
|
regomodo Guru
Joined: 25 Mar 2008 Posts: 445
|
Posted: Fri Jul 23, 2010 6:22 pm Post subject: |
|
|
XavierMiller wrote: | You don't need crossdev to build i686 code from a x86_64 processor.
Do you have support for 32 bit code in your 64 bits kernel ?
In that case, download a 32 bits stage 3, change the architecture and chroot into it : Code: | linux32 chroot /mnt/gentoo32 bin/env -i /bin/bash --login |
|
For distcc it is recommended to cross-compile the correct toolchain AFAIR |
|
Back to top |
|
|
SlashBeast Retired Dev
Joined: 23 May 2006 Posts: 2922
|
Posted: Mon Aug 23, 2010 9:46 pm Post subject: |
|
|
Anyone found a solution? I have the same problem here. |
|
Back to top |
|
|
zoolook n00b
Joined: 05 Oct 2002 Posts: 16
|
Posted: Mon Aug 30, 2010 8:35 pm Post subject: |
|
|
Nobody a clue? |
|
Back to top |
|
|
tomatis n00b
Joined: 18 Jan 2011 Posts: 1
|
Posted: Tue Jan 18, 2011 2:54 am Post subject: is ccace active, f.e. in your preroot-path in make.conf? |
|
|
If ccache is set in the PREROOTPATH-variable in make.conf, it could produce such compile-prolbems.
comment it out temporarily (and do: env-update && souce /etc/profile) for the crossdev-build.
That could help... |
|
Back to top |
|
|
Zer0COOL n00b
Joined: 23 Jan 2011 Posts: 1
|
Posted: Sun Jan 23, 2011 8:41 pm Post subject: |
|
|
Quote: | I have tried to rebuild both system and world and still have the same error. When I check /var/log/portage/cross-i686-pc-linux-gnu-glibc.log, I get the following:
checking for i686-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking for suffix of object files... configure: error: in `/var/tmp/cross/i686-pc-linux-gnu/portage/cross-i686-pc-linux-gnu/glibc-2.11-r1/work/build-default-i686-pc-linux-gnu-nptl':
configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
* ERROR: cross-i686-pc-linux-gnu/glibc-2.11-r1 failed:
* failed to configure glibc |
Try to comment:
, if you have them in make.conf
That helped for me. |
|
Back to top |
|
|
andy753421 n00b
Joined: 10 Dec 2004 Posts: 17
|
Posted: Wed Feb 16, 2011 5:59 am Post subject: |
|
|
I was getting this same error attempting to install mingw32 using crossdev with:
Code: | crossdev -S -s1 -t mingw32 |
After messing around with it for a while I found a script I wrote a while ago
for setting up mingw32:
Code: | #!/bin/bash
export CFLAGS=""
export CXXFLAGS=""
export ACCEPT_KEYWORDS="x86"
export FEATURES="buildpkg"
crossdev \
-S \
-s3 \
--target i686-pc-mingw32 \
-P -k |
I'm not sure what the difference between the two is, but the script worked when
the command didn't. Unforntuantly 2009 is beyond the limit of my memory so I
don't remember why I wrote the script in the first place, but I may have had
simmilar problems then.
When I was trying to get it to work I tried updating the binutils-config for
mingw32 as well because I appeared to have symlinks for an older mingw32
binutils verison that I had previously uninstalled.
I also changed some things in CFLAGS in /usr/i686-pc-mingw32/etc/make.conf
after I had started the crossdev install but before it started compiling GCC.
I don't really know what of all that fixed it, and gcc takes way too long to
install for me to debug it further... so... good luck! |
|
Back to top |
|
|
regomodo Guru
Joined: 25 Mar 2008 Posts: 445
|
Posted: Sun Feb 20, 2011 11:35 am Post subject: |
|
|
I've got this wonderful error again trying to cross-compile avr-stable.
Why is this package marked stable? It is forever broken.
Looks like it's time to get my hands dirty and skip out the useless middleman that is crossdev. |
|
Back to top |
|
|
regomodo Guru
Joined: 25 Mar 2008 Posts: 445
|
|
Back to top |
|
|
Truzzone Guru
Joined: 16 Oct 2003 Posts: 492 Location: Italy
|
Posted: Fri Mar 11, 2011 5:15 pm Post subject: |
|
|
Code: | * Building multilib glibc for ABIs: x86 amd64
* ABI: x86
* CBUILD: x86_64-pc-linux-gnu
* CHOST: x86_64-pc-linux-gnu
* CTARGET: armv4tl-softfloat-linux-gnueabi
* CBUILD_OPT:
* CTARGET_OPT: i686-pc-linux-gnu
* CC:
* CFLAGS: -m32 -pipe -O2 -fno-strict-aliasing
* Manual CC: armv4tl-softfloat-linux-gnueabi-gcc
* Configuring GLIBC for nptl
/var/tmp/portage/cross-armv4tl-softfloat-linux-gnueabi/glibc-2.11.3/work/glibc-2.11.3/configure --disable-stackguard-randomization --enable-old-ssp-compat --without-fp --enable-add-ons=nptl,c_stubs,libidn,ports --enable-kernel=2.6.9 --without-selinux --without-cvs --enable-bind-now --build=x86_64-pc-linux-gnu --host=i686-pc-linux-gnu --disable-profile --without-gd --with-headers=/usr/armv4tl-softfloat-linux-gnueabi/usr/include --prefix=/usr --libdir=/usr/lib32 --mandir=/usr/share/man --infodir=/usr/share/info --libexecdir=/usr/lib32/misc/glibc --disable-multi-arch
configure: loading site script /usr/share/config.site
configure: loading site script /usr/share/crossdev/include/site/linux
checking build system type... x86_64-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for i686-pc-linux-gnu-gcc... armv4tl-softfloat-linux-gnueabi-gcc
checking for suffix of object files... configure: error: in `/var/tmp/portage/cross-armv4tl-softfloat-linux-gnueabi/glibc-2.11.3/work/build-x86-armv4tl-softfloat-linux-gnueabi-nptl':
configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
* ERROR: cross-armv4tl-softfloat-linux-gnueabi/glibc-2.11.3 failed (compile phase):
* failed to configure glibc
*
* Call stack:
* ebuild.sh, line 56: Called src_compile
* environment, line 3861: Called eblit-run 'src_compile'
* environment, line 1223: Called eblit-glibc-src_compile
* src_compile.eblit, line 202: Called src_compile
* environment, line 3861: Called eblit-run 'src_compile'
* environment, line 1223: Called eblit-glibc-src_compile
* src_compile.eblit, line 210: Called toolchain-glibc_src_compile
* src_compile.eblit, line 123: Called glibc_do_configure 'nptl'
* src_compile.eblit, line 99: Called die
* The specific snippet of code:
* "${S}"/configure ${myconf} || die "failed to configure glibc"
*
* If you need support, post the output of 'emerge --info =cross-armv4tl-softfloat-linux-gnueabi/glibc-2.11.3',
* the complete build log and the output of 'emerge -pqv =cross-armv4tl-softfloat-linux-gnueabi/glibc-2.11.3'.
* This ebuild is from an overlay: '/usr/local/portage/'
* The complete build log is located at '/var/tmp/portage/cross-armv4tl-softfloat-linux-gnueabi/glibc-2.11.3/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/cross-armv4tl-softfloat-linux-gnueabi/glibc-2.11.3/temp/environment'.
* S: '/var/tmp/portage/cross-armv4tl-softfloat-linux-gnueabi/glibc-2.11.3/work/glibc-2.11.3'
|
Any solution?
Truzzone |
|
Back to top |
|
|
yokem55 Guru
Joined: 18 Apr 2002 Posts: 360 Location: Oregon
|
|
Back to top |
|
|
newtrack4 n00b
Joined: 04 Feb 2006 Posts: 7 Location: Illinois, USA
|
Posted: Thu Jan 05, 2012 7:31 pm Post subject: |
|
|
Now I have this bug emerging cross-avr/avr-libc-1.8.0, this seems to have been fixed for a while, only to reemerge again! |
|
Back to top |
|
|
roarinelk Guru
Joined: 04 Mar 2004 Posts: 520
|
Posted: Thu Jan 05, 2012 8:01 pm Post subject: |
|
|
newtrack4 wrote: | Now I have this bug emerging cross-avr/avr-libc-1.8.0, this seems to have been fixed for a while, only to reemerge again! :( |
cross-avr builds fine for me; try and rebuild perl as well as all autoconf/automake/m4/make packages
(i.e. everything you have in /var/db/pkg/sys-devel/ except gcc, binutils, glibc) I found this often helps. |
|
Back to top |
|
|
newtrack4 n00b
Joined: 04 Feb 2006 Posts: 7 Location: Illinois, USA
|
Posted: Thu Feb 16, 2012 9:16 pm Post subject: |
|
|
Just in case someone lands here instead of at the later threads that solved this (https://forums.gentoo.org/viewtopic-t-909964-highlight-avrlibc.html), this seems to be just an amd64 architecture bug, brought out by a change in portage.
The quick solution for me, until amd64 ebuilds are fixed was:
Code: |
ABI="avr" emerge cross-avr/avr-libc
|
|
|
Back to top |
|
|
Wallance n00b
Joined: 06 Aug 2015 Posts: 5
|
Posted: Sun Oct 11, 2015 11:27 am Post subject: |
|
|
I have the same issue when I building for arm. |
|
Back to top |
|
|
|