Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Cross Compiling for raspberry pi binutils failed
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures
View previous topic :: View next topic  
Author Message
ashokb
n00b
n00b


Joined: 03 Nov 2014
Posts: 2
Location: Pune India

PostPosted: Mon Nov 03, 2014 4:02 pm    Post subject: Cross Compiling for raspberry pi binutils failed Reply with quote

I am cross compiling gentoo for raspberry pi.
I have just compiled and successfully build and installed gentoo on my i686 desktop using livecd, from which i am trying to cross compile now.

1. First i installed crossdev.
2. Then i tried
Code:
crossdev -S -P -v -t arm6j-hardfloat-linux-gnueabi


it fails with following massage

Code:

* binutils failed :(
* If you file a bug, please attach the following logfiles:
* /var/log/portage/cross-arm6j-hardfloat-linux-gnueabi-info.log
* /var/log/portage/cross-arm6j-hardfloat-linux-gnueabi-binutils.log.xz
* /var/log/portage/cross-arm6j-hardfloat-linux-gnueabi/binutils*/temp/binutils-config.logs.tar.xz


The /var/log/portage/cross-arm6j-hardfloat-linux-gnueabi-info.log file contains the following
Code:

--------------------------------------------------------------------------------------------------------------------------------
 * crossdev version:      20140917
 * Host Portage ARCH:     x86
 * Target Portage ARCH:   arm
 * Target System:         arm6j-hardfloat-linux-gnueabi
 * Stage:                 4 (C/C++ compiler)
 * ABIs:                  default

 * binutils:              binutils-[stable]
 * gcc:                   gcc-[stable]
 * headers:               linux-headers-[stable]
 * libc:                  glibc-[stable]

 * CROSSDEV_OVERLAY:      /usr/local/portage
 * PORT_LOGDIR:           /var/log/portage
 * PORTAGE_CONFIGROOT:   
 * Portage flags:          -v
  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  - 
Portage 2.2.8-r2 (default/linux/x86/13.0, gcc-4.7.3, glibc-2.19-r1, 3.16.5-gentoo i686)
=================================================================
System uname: Linux-3.16.5-gentoo-i686-Pentium-R-_Dual-Core_CPU_E5700_@_3.00GHz-with-gentoo-2.2
KiB Mem:     2038428 total,    392552 free
KiB Swap:     524284 total,    524284 free
Timestamp of tree: Mon, 03 Nov 2014 13:00:01 +0000
ld GNU ld (Gentoo 2.23.2 p1.0) 2.23.2
app-shells/bash:          4.2_p53
dev-lang/perl:            5.18.2-r2
dev-lang/python:          2.7.7, 3.3.5-r1, 3.4.1
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.69
sys-devel/automake:       1.13.4
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2-r1
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.13 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

crossdev
    location: /usr/local/portage
    masters: gentoo
    priority: 0

ABI="x86"
ABI_X86="32"
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
ACCEPT_PROPERTIES="*"
ACCEPT_RESTRICT="*"
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"
APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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"
ARCH="x86"
AUTOCLEAN="yes"
BOOTSTRAP_USE="cxx unicode internal-glib python_targets_python3_3 python_targets_python2_7"
CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author"
CAMERAS="ptp2"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CHOST_x86="i686-pc-linux-gnu"
CLEAN_DELAY="5"
COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog"
COLLISION_IGNORE="/lib/modules/* *.py[co] *$py.class */dropin.cache"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -pipe"
DEFAULT_ABI="x86"
DISTDIR="/usr/portage/distfiles"
EDITOR="/bin/nano"
ELIBC="glibc"
EMERGE_WARNING_DELAY="10"
EPREFIX=""
EROOT="/"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FETCHCOMMAND="wget -t 3 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}""
FETCHCOMMAND_RSYNC="rsync -avP "${URI}" "${DISTDIR}/${FILE}""
FETCHCOMMAND_SFTP="bash -c "x=\${2#sftp://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port=22 ; eval \"declare -a ssh_opts=(\${3})\" ; exec sftp -P \${port} \"\${ssh_opts[@]}\" \"\${host}:/\${x#*/}\" \"\$1\"" sftp "${DISTDIR}/${FILE}" "${URI}" "${PORTAGE_SSH_OPTS}""
FETCHCOMMAND_SSH="bash -c "x=\${2#ssh://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port=22 ; exec rsync --rsh=\"ssh -p\${port} \${3}\" -avP \"\${host}:/\${x#*/}\" \"\$1\"" rsync "${DISTDIR}/${FILE}" "${URI}" "${PORTAGE_SSH_OPTS}""
FFLAGS="-O2 -march=i686 -pipe"
GCC_SPECS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
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 ublox ubx"
GRUB_PLATFORMS=""
HOME="/root"
HUSHLOGIN="FALSE"
INFOPATH="/usr/share/info:/usr/share/gcc-data/i686-pc-linux-gnu/4.7.3/info:/usr/share/binutils-data/i686-pc-linux-gnu/2.23.2/info"
INPUT_DEVICES="keyboard mouse evdev"
IUSE_IMPLICIT="abi_x86_32 prefix"
KERNEL="linux"
LANG="en_US.utf8"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text"
LC_COLLATE="C"
LC_MESSAGES="C"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LESS="-R -M --shift 5"
LESSOPEN="|lesspipe %s"
LIBDIR_x86="lib"
LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer"
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:*.war=01;31:*.ear=01;31:*.sar=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:*.webm=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="-j2"
MANPATH="/usr/local/share/man:/usr/share/man:/usr/share/gcc-data/i686-pc-linux-gnu/4.7.3/man:/usr/share/binutils-data/i686-pc-linux-gnu/2.23.2/man"
MULTILIB_ABIS="x86"
MULTIOSDIRS="../lib"
NETBEANS="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml"
NOCOLOR="true"
OFFICE_IMPLEMENTATION="libreoffice"
OLDPWD="/root"
PAGER="/usr/bin/less"
PATH="/lib/rc/bin:/bin:/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.7.3"
PHP_TARGETS="php5-5"
PKGDIR="/usr/portage/packages"
PORTAGE_ARCHLIST="arm x86-fbsd sh hppa-hpux amd64 amd64-fbsd sparc-fbsd mips x86-interix ppc-aix sparc-solaris x86-netbsd sparc x64-solaris ppc-openbsd hppa x64-freebsd ppc s390 ppc-macos x86-cygwin arm64 x86-linux x86-macos alpha ia64-hpux x86 x64-openbsd x86-freebsd x86-winnt ia64-linux x86-openbsd ppc64 sparc64-solaris amd64-linux x64-macos ia64 x86-solaris m68k-mint arm-linux sparc64-freebsd m68k ppc64-linux"
PORTAGE_BIN_PATH="/usr/lib/portage/bin"
PORTAGE_COMPRESS_EXCLUDE_SUFFIXES="css gif htm[l]? jp[e]?g js pdf png"
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:log,warn,error,qa echo"
PORTAGE_FETCH_CHECKSUM_TRY_MIRRORS="5"
PORTAGE_FETCH_RESUME_MIN_SIZE="350K"
PORTAGE_GID="250"
PORTAGE_GPG_SIGNING_COMMAND="gpg --sign --digest-algo SHA256 --clearsign --yes --default-key "${PORTAGE_GPG_KEY}" --homedir "${PORTAGE_GPG_DIR}" "${FILE}""
PORTAGE_INST_GID="0"
PORTAGE_INST_UID="0"
PORTAGE_INTERNAL_CALLER="1"
PORTAGE_OVERRIDE_EPREFIX=""
PORTAGE_PYM_PATH="/usr/lib/portage/pym"
PORTAGE_PYTHONPATH="/usr/lib/portage/pym"
PORTAGE_REPOSITORIES="[DEFAULT]
main-repo = gentoo

[crossdev]
location = /usr/local/portage
masters = gentoo
priority = 0

[gentoo]
location = /usr/portage
masters =
priority = -1000
sync-type = rsync
sync-uri = rsync://rsync.gentoo.org/gentoo-portage
"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_RSYNC_RETRIES="-1"
PORTAGE_SYNC_STALE="30"
PORTAGE_TMPDIR="/var/tmp"
PORTAGE_VERBOSE="1"
PORTAGE_WORKDIR_MODE="0700"
PORTAGE_XATTR_EXCLUDE="security.* system.nfs4_acl"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
PORT_LOGDIR_CLEAN="find "${PORT_LOGDIR}" -type f ! -name "summary.log*" -mtime +7 -delete"
PROFILE_ONLY_VARIABLES="ARCH ELIBC IUSE_IMPLICIT KERNEL USERLAND USE_EXPAND_IMPLICIT USE_EXPAND_UNPREFIXED USE_EXPAND_VALUES_ARCH USE_EXPAND_VALUES_ELIBC USE_EXPAND_VALUES_KERNEL USE_EXPAND_VALUES_USERLAND"
PWD="/"
PYTHONDONTWRITEBYTECODE="1"
PYTHON_SINGLE_TARGET="python2_7"
PYTHON_TARGETS="python2_7 python3_3"
RESUMECOMMAND="wget -c -t 3 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}""
RESUMECOMMAND_RSYNC="rsync -avP "${URI}" "${DISTDIR}/${FILE}""
RESUMECOMMAND_SSH="bash -c "x=\${2#ssh://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port=22 ; exec rsync --rsh=\"ssh -p\${port} \${3}\" -avP \"\${host}:/\${x#*/}\" \"\$1\"" rsync "${DISTDIR}/${FILE}" "${URI}" "${PORTAGE_SSH_OPTS}""
ROOT="/"
ROOTPATH="/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.7.3"
RPMDIR="/usr/portage/rpm"
RUBY_TARGETS="ruby19 ruby20"
SHELL="/bin/bash"
SHLVL="2"
TERM="linux"
UNINSTALL_IGNORE="/lib/modules/*"
USE="acl berkdb bindist bzip2 cli cracklib crypt cxx dri fortran gdbm iconv ipv6 modules ncurses nls nptl openmp pam pcre readline session ssl tcpd unicode x86 zlib" ABI_X86="32" 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" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" 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 ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" 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="ABI_MIPS ABI_PPC ABI_S390 ABI_X86 ALSA_CARDS APACHE2_MODULES APACHE2_MPMS CALLIGRA_FEATURES CAMERAS COLLECTD_PLUGINS CROSSCOMPILE_OPTS CURL_SSL DRACUT_MODULES DVB_CARDS ELIBC ENLIGHTENMENT_MODULES FCDSL_CARDS FFTOOLS FOO2ZJS_DEVICES FRITZCAPI_CARDS GPSD_PROTOCOLS GRUB_PLATFORMS INPUT_DEVICES KERNEL LCD_DEVICES LIBREOFFICE_EXTENSIONS LINGUAS LIRC_DEVICES MONKEYD_PLUGINS NETBEANS_MODULES NGINX_MODULES_HTTP NGINX_MODULES_MAIL OFED_DRIVERS OFFICE_IMPLEMENTATION OPENMPI_FABRICS OPENMPI_OFED_FEATURES OPENMPI_RM PHP_TARGETS PYTHON_SINGLE_TARGET PYTHON_TARGETS QEMU_SOFTMMU_TARGETS QEMU_USER_TARGETS RUBY_TARGETS SANE_BACKENDS USERLAND UWSGI_PLUGINS VIDEO_CARDS VOICEMAIL_STORAGE XFCE_PLUGINS XTABLES_ADDONS"
USE_EXPAND_HIDDEN="ABI_MIPS ABI_PPC ABI_S390 ABI_X86 CROSSCOMPILE_OPTS ELIBC KERNEL USERLAND"
USE_EXPAND_IMPLICIT="ARCH ELIBC KERNEL USERLAND"
USE_EXPAND_UNPREFIXED="ARCH"
USE_EXPAND_VALUES_ARCH="alpha amd64 amd64-fbsd amd64-linux arm arm-linux arm64 hppa hppa-hpux ia64 ia64-hpux ia64-linux m68k m68k-mint mips ppc ppc64 ppc64-linux ppc-aix ppc-macos ppc-openbsd s390 sh sparc sparc64-freebsd sparc64-solaris sparc-fbsd sparc-solaris x64-freebsd x64-macos x64-openbsd x64-solaris x86 x86-cygwin x86-fbsd x86-freebsd x86-interix x86-linux x86-macos x86-netbsd x86-openbsd x86-solaris x86-winnt"
USE_EXPAND_VALUES_ELIBC="AIX Cygwin Darwin DragonFly FreeBSD glibc HPUX Interix mintlib musl NetBSD OpenBSD SunOS uclibc Winnt"
USE_EXPAND_VALUES_KERNEL="AIX Cygwin Darwin FreeBSD freemint HPUX Interix linux NetBSD OpenBSD SunOS Winnt"
USE_EXPAND_VALUES_USERLAND="BSD GNU"
USE_ORDER="env:pkg:conf:defaults:pkginternal:repo:env.d"
VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l"
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"
_="/usr/bin/emerge"


and /var/log/portage/cross-arm6j-hardfloat-linux-gnueabi-binutils.log.xz file contains
Code:


These are the packages that would be merged, in order:

Calculating dependencies  ... done!
[ebuild  N     ] cross-arm6j-hardfloat-linux-gnueabi/binutils-2.24-r3::crossdev  USE="cxx nls zlib -multislot -multitarget -static-libs {-test} -vanilla" 0 kB

Total: 1 package (1 new), Size of downloads: 0 kB

>>> Verifying ebuild manifests


>>> Emerging (1 of 1) cross-arm6j-hardfloat-linux-gnueabi/binutils-2.24-r3 from crossdev
 * binutils-2.24.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ...            [ ok ]
 * binutils-2.24-patches-1.4.tar.xz SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking binutils-2.24.tar.bz2 to /var/tmp/portage/cross-arm6j-hardfloat-linux-gnueabi/binutils-2.24-r3/work
>>> Unpacking binutils-2.24-patches-1.4.tar.xz to /var/tmp/portage/cross-arm6j-hardfloat-linux-gnueabi/binutils-2.24-r3/work
 * Applying various patches (bugfixes/updates) ...
 *   12_all_sh-targets.patch ...
 [ ok ]
 *   20_all_libiberty-install.patch ...
 [ ok ]
 *   24_all_as-needed.patch ...
 [ ok ]
 *   25_all_plugins-dl-search.patch ...
 [ ok ]
 *   30_all_binutils-2.22.52.0.2-flexible-tests.patch ...
 [ ok ]
 *   52_all_binutils-alpha-relax.patch ...
 [ ok ]
 *   53_all_hppa-as-needed.patch ...
 [ ok ]
 *   62_all_binutils-2.23.52.0.1-hardened-crtbegin.patch ...
 [ ok ]
 *   63_all_binutils-2.24-pt-pax-flags-20131231.patch ...
 [ ok ]
 *   66_all_binutils-2.22.52.0.1-warn-textrel.patch ...
 [ ok ]
 *   75_all_binutils-default-test-flags.patch ...
 [ ok ]
 *   76_all_use-new-ld-dtags.patch ...
 [ ok ]
 *   77_all_generate-gnu-hash.patch ...
 [ ok ]
 *   78_all_use-relro.patch ...
 [ ok ]
 *   91_all_libiberty-pic.patch ...
 [ ok ]
 * Done with patching
 * Fixing misc issues in configure files
 * Using GNU config files from /usr/share/gnuconfig
 *   Updating config.sub
 [ ok ]
 *   Updating config.guess
 [ ok ]
 * Running elibtoolize in: binutils-2.24/
 *   Applying portage/2.2 patch ...
 *   Applying sed/1.5.6 patch ...
 *   Applying as-needed/2.2.6 patch ...
 * Running elibtoolize in: binutils-2.24/bfd/
 *   Applying target-nm/2.4.2 patch ...
 * Running elibtoolize in: binutils-2.24/binutils/
 *   Applying target-nm/2.4.2 patch ...
 * Running elibtoolize in: binutils-2.24/etc/
 * Running elibtoolize in: binutils-2.24/gas/
 *   Applying target-nm/2.4.2 patch ...
 * Running elibtoolize in: binutils-2.24/gold/
 * Running elibtoolize in: binutils-2.24/gprof/
 *   Applying target-nm/2.4.2 patch ...
 * Running elibtoolize in: binutils-2.24/intl/
 * Running elibtoolize in: binutils-2.24/ld/
 *   Applying target-nm/2.4.2 patch ...
 * Running elibtoolize in: binutils-2.24/libiberty/
 * Running elibtoolize in: binutils-2.24/opcodes/
 *   Applying target-nm/2.4.2 patch ...
>>> Source unpacked in /var/tmp/portage/cross-arm6j-hardfloat-linux-gnueabi/binutils-2.24-r3/work
>>> Compiling source in /var/tmp/portage/cross-arm6j-hardfloat-linux-gnueabi/binutils-2.24-r3/work/binutils-2.24 ...

 *  CATEGORY: cross-arm6j-hardfloat-linux-gnueabi
 *    CBUILD: i686-pc-linux-gnu
 *     CHOST: i686-pc-linux-gnu
 *   CTARGET: arm6j-hardfloat-linux-gnueabi
 *    CFLAGS: -O2 -march=i686 -pipe
 *   LDFLAGS: -Wl,-O1 -Wl,--as-needed

./configure --enable-gold --enable-plugins --without-included-gettext --with-zlib --build=i686-pc-linux-gnu --with-sysroot=/usr/arm6j-hardfloat-linux-gnueabi --enable-secureplt --prefix=/usr --host=i686-pc-linux-gnu --target=arm6j-hardfloat-linux-gnueabi --datadir=/usr/share/binutils-data/arm6j-hardfloat-linux-gnueabi/2.24 --infodir=/usr/share/binutils-data/arm6j-hardfloat-linux-gnueabi/2.24/info --mandir=/usr/share/binutils-data/arm6j-hardfloat-linux-gnueabi/2.24/man --bindir=/usr/i686-pc-linux-gnu/arm6j-hardfloat-linux-gnueabi/binutils-bin/2.24 --libdir=/usr/lib/binutils/arm6j-hardfloat-linux-gnueabi/2.24 --libexecdir=/usr/lib/binutils/arm6j-hardfloat-linux-gnueabi/2.24 --includedir=/usr/lib/binutils/arm6j-hardfloat-linux-gnueabi/2.24/include --enable-obsolete --enable-shared --enable-threads --enable-install-libiberty --disable-werror --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion=Gentoo 2.24 p1.4 --disable-static --disable-gdb --disable-libdecnumber --disable-readline --disable-sim --without-stage1-ldflags
configure: loading site script /usr/share/config.site
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... Invalid configuration `arm6j-hardfloat-linux-gnueabi': machine `arm6j-hardfloat' not recognized
configure: error: /bin/sh /var/tmp/portage/cross-arm6j-hardfloat-linux-gnueabi/binutils-2.24-r3/work/binutils-2.24/config.sub arm6j-hardfloat-linux-gnueabi failed
 * ERROR: cross-arm6j-hardfloat-linux-gnueabi/binutils-2.24-r3::crossdev failed (compile phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line   93:  Called src_compile
 *   environment, line 2874:  Called toolchain-binutils_src_compile
 *   environment, line 3567:  Called toolchain-binutils_src_configure
 *   environment, line 3641:  Called die
 * The specific snippet of code:
 *       "${S}"/configure "${myconf[@]}" || die;
 *
 * If you need support, post the output of `emerge --info '=cross-arm6j-hardfloat-linux-gnueabi/binutils-2.24-r3::crossdev'`,
 * the complete build log and the output of `emerge -pqv '=cross-arm6j-hardfloat-linux-gnueabi/binutils-2.24-r3::crossdev'`.
 * The complete build log is located at '/var/tmp/portage/cross-arm6j-hardfloat-linux-gnueabi/binutils-2.24-r3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/cross-arm6j-hardfloat-linux-gnueabi/binutils-2.24-r3/temp/environment'.
 * Working directory: '/var/tmp/portage/cross-arm6j-hardfloat-linux-gnueabi/binutils-2.24-r3/work/build'
 * S: '/var/tmp/portage/cross-arm6j-hardfloat-linux-gnueabi/binutils-2.24-r3/work/binutils-2.24'

>>> Failed to emerge cross-arm6j-hardfloat-linux-gnueabi/binutils-2.24-r3, Log file:

>>>  '/var/tmp/portage/cross-arm6j-hardfloat-linux-gnueabi/binutils-2.24-r3/temp/build.log'
 * Messages for package cross-arm6j-hardfloat-linux-gnueabi/binutils-2.24-r3:
 * ERROR: cross-arm6j-hardfloat-linux-gnueabi/binutils-2.24-r3::crossdev failed (compile phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line   93:  Called src_compile
 *   environment, line 2874:  Called toolchain-binutils_src_compile
 *   environment, line 3567:  Called toolchain-binutils_src_configure
 *   environment, line 3641:  Called die
 * The specific snippet of code:
 *       "${S}"/configure "${myconf[@]}" || die;
 *
 * If you need support, post the output of `emerge --info '=cross-arm6j-hardfloat-linux-gnueabi/binutils-2.24-r3::crossdev'`,
 * the complete build log and the output of `emerge -pqv '=cross-arm6j-hardfloat-linux-gnueabi/binutils-2.24-r3::crossdev'`.
 * The complete build log is located at '/var/tmp/portage/cross-arm6j-hardfloat-linux-gnueabi/binutils-2.24-r3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/cross-arm6j-hardfloat-linux-gnueabi/binutils-2.24-r3/temp/environment'.
 * Working directory: '/var/tmp/portage/cross-arm6j-hardfloat-linux-gnueabi/binutils-2.24-r3/work/build'
 * S: '/var/tmp/portage/cross-arm6j-hardfloat-linux-gnueabi/binutils-2.24-r3/work/binutils-2.24'



I followed this post to solve this with no luck
[url] https://forums.gentoo.org/viewtopic-p-6936236.html [/url]

Someone must have solved this, please tell me how to solve this?
Back to top
View user's profile Send private message
heiwa
n00b
n00b


Joined: 24 Oct 2012
Posts: 70

PostPosted: Mon Nov 03, 2014 5:57 pm    Post subject: Reply with quote

You've missed the 'v' in armv6j-hardfloat-linux-gnueabi.
Back to top
View user's profile Send private message
ashokb
n00b
n00b


Joined: 03 Nov 2014
Posts: 2
Location: Pune India

PostPosted: Tue Nov 04, 2014 5:31 am    Post subject: Reply with quote

ohhh... thats horrible...
i spend my almost half day in that...
finally its compiling something.
After success, i will let u know.
Thanks u so much...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum