Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
sys-devel/binutils-2.21.1-r1 emerge fail
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
kula85
n00b
n00b


Joined: 18 May 2012
Posts: 2

PostPosted: Tue May 29, 2012 12:40 am    Post subject: sys-devel/binutils-2.21.1-r1 emerge fail Reply with quote

Hi all,

Originally, my binutils is 2.21.1-r1. To compile some program that requires binutils-2.18, I downgrade binutils to 2.18-r3. However, when I am trying to upgrade to 2.21.1-r1 back again, this error happens. I tried to change -march to various targets: core2, native, etc. None of them compiles successfully. Could you help me? Thank you.

yuanfang

Code:

Calculating dependencies... done!
[ebuild     U  ] sys-devel/binutils-2.21.1-r1 [2.18-r3] USE="cxx nls zlib%* -multislot -multitarget -static-libs -test -vanilla" 0 kB

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

Would you like to merge these packages? [Yes/No] y

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) sys-devel/binutils-2.21.1-r1
 * binutils-2.21.1.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                [ ok ]
 * binutils-2.21.1-patches-1.4.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                    [ ok ]
>>> Unpacking source...
>>> Unpacking binutils-2.21.1.tar.bz2 to /var/tmp/portage/sys-devel/binutils-2.21.1-r1/work
>>> Unpacking binutils-2.21.1-patches-1.4.tar.bz2 to /var/tmp/portage/sys-devel/binutils-2.21.1-r1/work
 * Applying various patches (bugfixes/updates) ...
 *   03_all_binutils-2.15.92.0.2-ppc64-pie.patch ...                                                                      [ ok ]
 *   08_all_binutils-RPATH_ENVVAR-smack.patch ...                                                                         [ ok ]
 *   12_all_sh-targets.patch ...                                                                                          [ ok ]
 *   15_all_alpha-relax-pr12608.patch ...                                                                                 [ ok ]
 *   16_all_mips-link-segv-pr12845.patch ...                                                                              [ ok ]
 *   20_all_ld-sysroot.patch ...                                                                                          [ ok ]
 *   30_all_binutils-2.20-flexible-tests.patch ...                                                                        [ ok ]
 *   40_all_binutils-2.21.1-s390x-PIC.patch ...                                                                           [ ok ]
 *   40_all_binutils-ld-gcc-4.6-tests.patch ...                                                                           [ ok ]
 *   63_all_binutils-2.21.1-pt-pax-flags-20110918.patch ...                                                               [ ok ]
 *   65_all_binutils-2.20-amd64-32bit-path.patch ...                                                                      [ ok ]
 *   66_all_binutils-2.18.50.0.2-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.21.1/
 *   Applying portage/2.2 patch ...
 *   Applying sed/1.5.6 patch ...
 *   Applying as-needed/2.2.6 patch ...
>>> Source unpacked in /var/tmp/portage/sys-devel/binutils-2.21.1-r1/work
>>> Compiling source in /var/tmp/portage/sys-devel/binutils-2.21.1-r1/work/binutils-2.21.1 ...

 *  CATEGORY: sys-devel
 *    CBUILD: x86_64-pc-linux-gnu
 *     CHOST: x86_64-pc-linux-gnu
 *   CTARGET: x86_64-pc-linux-gnu
 *    CFLAGS: -march=generic -O2 -pipe -O2
 *   LDFLAGS: -Wl,-O1 -Wl,--as-needed

./configure --enable-gold --enable-plugins --without-included-gettext --with-zlib --build=x86_64-pc-linux-gnu --enable-secureplt --prefix=/usr --host=x86_64-pc-linux-gnu --target=x86_64-pc-linux-gnu --datadir=/usr/share/binutils-data/x86_64-pc-linux-gnu/2.21.1 --infodir=/usr/share/binutils-data/x86_64-pc-linux-gnu/2.21.1/info --mandir=/usr/share/binutils-data/x86_64-pc-linux-gnu/2.21.1/man --bindir=/usr/x86_64-pc-linux-gnu/binutils-bin/2.21.1 --libdir=/usr/lib64/binutils/x86_64-pc-linux-gnu/2.21.1 --libexecdir=/usr/lib64/binutils/x86_64-pc-linux-gnu/2.21.1 --includedir=/usr/lib64/binutils/x86_64-pc-linux-gnu/2.21.1/include --enable-64-bit-bfd --enable-shared --enable-threads --disable-werror --with-bugurl=http://bugs.gentoo.org/ --disable-static
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for a sed that does not truncate output... /bin/sed
checking for gawk... gawk
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking for C compiler default output file name...
configure: error: in `/var/tmp/portage/sys-devel/binutils-2.21.1-r1/work/build':
configure: error: C compiler cannot create executables
See `config.log' for more details.
 * ERROR: sys-devel/binutils-2.21.1-r1 failed (compile phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line   85:  Called src_compile
 *   environment, line 2857:  Called toolchain-binutils_src_compile
 *   environment, line 3518:  Called die
 * The specific snippet of code:
 *       "${S}"/configure "$@" || die;
 *
 * If you need support, post the output of 'emerge --info =sys-devel/binutils-2.21.1-r1',
 * the complete build log and the output of 'emerge -pqv =sys-devel/binutils-2.21.1-r1'.
 * The complete build log is located at '/var/tmp/portage/sys-devel/binutils-2.21.1-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-devel/binutils-2.21.1-r1/temp/environment'.
 * S: '/var/tmp/portage/sys-devel/binutils-2.21.1-r1/work/binutils-2.21.1'

>>> Failed to emerge sys-devel/binutils-2.21.1-r1, Log file:

>>>  '/var/tmp/portage/sys-devel/binutils-2.21.1-r1/temp/build.log'

 * Messages for package sys-devel/binutils-2.21.1-r1:

 * ERROR: sys-devel/binutils-2.21.1-r1 failed (compile phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line   85:  Called src_compile
 *   environment, line 2857:  Called toolchain-binutils_src_compile
 *   environment, line 3518:  Called die
 * The specific snippet of code:
 *       "${S}"/configure "$@" || die;
 *
 * If you need support, post the output of 'emerge --info =sys-devel/binutils-2.21.1-r1',
 * the complete build log and the output of 'emerge -pqv =sys-devel/binutils-2.21.1-r1'.
 * The complete build log is located at '/var/tmp/portage/sys-devel/binutils-2.21.1-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-devel/binutils-2.21.1-r1/temp/environment'.
 * S: '/var/tmp/portage/sys-devel/binutils-2.21.1-r1/work/binutils-2.21.1'




Code:


Portage 2.1.10.49 (default/linux/amd64/10.0/desktop/gnome, gcc-4.5.3, glibc-2.14.1-r3, 3.2.12-gentoo x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.2.12-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E31225_@_3.10GHz-with-gentoo-2.0.3
Timestamp of tree: Mon, 28 May 2012 23:45:01 +0000
app-shells/bash:          4.2_p20
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.2.2
dev-util/cmake:           2.8.6-r4
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.10.3, 1.11.1
sys-devel/binutils:       2.18-r3
sys-devel/gcc:            4.5.3-r2
sys-devel/gcc-config:     1.5-r2
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r3
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=generic -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=generic -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://mirror.lug.udel.edu/pub/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync2.us.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 bash-completion berkdb branding bzip2 cairo cdda cdr cli colord consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr eds emboss encode evo exif fam firefox flac fortran gdbm gif gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk iconv ipv6 jpeg lcms ldap libnotify mad mmx mng modules mp3 mp4 mpeg mudflap multilib nautilus ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit posix ppds pppd pulseaudio python qt3support qt4 quicktime readline samba sdl session socialweb spell sse sse2 sse3 ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vim-syntax vorbis wxwidgets x264 xcb xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 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" 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" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" 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"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21633

PostPosted: Tue May 29, 2012 1:01 am    Post subject: Re: sys-devel/binutils-2.21.1-r1 emerge fail Reply with quote

kula85 wrote:
Code:
configure: error: C compiler cannot create executables
See `config.log' for more details.
What does config.log say about the failure?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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