Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 276295 - sys-devel/binutils-2.18-r3 fails with forced as-needed/no-undefined
Summary: sys-devel/binutils-2.18-r3 fails with forced as-needed/no-undefined
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: as-needed
  Show dependency tree
 
Reported: 2009-07-02 20:34 UTC by Christian Ruppert (idl0r)
Modified: 2010-06-30 08:00 UTC (History)
3 users (show)

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


Attachments
build.log (build.log,160.25 KB, text/plain)
2009-07-02 20:35 UTC, Christian Ruppert (idl0r)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Ruppert (idl0r) gentoo-dev 2009-07-02 20:34:47 UTC
libopcodes needs bfd, see build.log.

libtool: link: x86_64-pc-linux-gnu-gcc -shared  .libs/dis-buf.o .libs/disassemble.o .libs/dis-init.o .libs/i386-dis.o .libs/i386-opc.o   -Wl,--as-needed  -march=nocona -Wl,-O1 -Wl,--no-undefined -Wl,-z -Wl,now -Wl,--sort-common -Wl,-soname -Wl,libopcodes-2.18.so -o .libs/libopcodes-2.18.so
.libs/disassemble.o: In function `disassembler':
disassemble.c:(.text+0x13): undefined reference to `bfd_get_arch'
collect2: ld returned 1 exit status
make[4]: *** [libopcodes.la] Error 1
make[4]: Leaving directory `/var/tmp/portage/sys-devel/binutils-2.18-r3/work/build/opcodes'

Portage 2.1.6.13 (hardened/amd64/multilib, gcc-3.4.6-asneeded, glibc-2.9_p20081201-r2, 2.6.28-hardened-r9 x86_64)
=================================================================
System uname: Linux-2.6.28-hardened-r9-x86_64-Intel-R-_Core-TM-_i7_CPU_920_@_2.67GHz-with-glibc2.3.2
Timestamp of tree: Thu, 02 Jul 2009 16:45:02 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-lang/python:     2.5.4-r2
dev-python/pycrypto: 2.0.1-r8
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r3
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.63
sys-devel/automake:  1.7.9-r1, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="autoconfig ccache collision-protect distlocks fakeroot fixpackages parallel-fetch protect-owned sandbox sfperms strict suidctl unmerge-orphans userfetch userpriv usersandbox usersync"
GENTOO_MIRRORS="http://gentoo.mneisen.org/ http://mirror.jamit.de/gentoo/ http://mirror.netcologne.de/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--no-undefined -Wl,-z,now -Wl,--sort-common"
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="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X509 acl amd64 audit bash-completion bcmath berkdb bzip2 caps cgi checkpath clamdtop cli cracklib crypt cscope ctype curl curlwrappers cxx dnsdb exif exiscan-acl filter ftp gcrypt gd gdbm gmp gnutls gpgme hardened hash hpn iconv idn imap iproute2 jpeg justify kpoll libgcrypt libssh2 lzma lzo maildir mhash mktemp mmx mode-paranoid multilib mysql mysqli ncurses nptl nptlonly openmp opensslcrypt pam pcntl pcre perl pic plugins png posix pth python readline reflection sasl session sha512 sieve simplexml smime smp sockets spl sqlite sqlite3 sse sse2 ssh ssl suexec syslog sysvipc threads threadsafe tokenizer truetype unicode urandom vim-syntax webdav-serf xattr xml xmlreader xmlrpc xmlwriter xsl zip zlib" APACHE2_MODULES="asis actions alias auth_basic auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif so speling status unique_id userdir usertrack vhost_alias substitute proxy proxy_connect proxy_http" APACHE2_MPMS="worker" ELIBC="glibc" KERNEL="linux" USERLAND="GNU"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Christian Ruppert (idl0r) gentoo-dev 2009-07-02 20:35:12 UTC
Created attachment 196444 [details]
build.log
Comment 2 Christian Ruppert (idl0r) gentoo-dev 2009-07-04 10:44:25 UTC
I hope that is not another false-positive during my tests...
If so, sorry.. I'll check my results much more next time.
Comment 3 Markos Chandras (RETIRED) gentoo-dev 2010-06-28 12:11:31 UTC
I cannot reproduce it with 4.5.0-asneeded compiler
Comment 4 Markos Chandras (RETIRED) gentoo-dev 2010-06-28 12:23:41 UTC
Sorry wrong bug :/
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2010-06-30 08:00:51 UTC
Fixed in binutils-2.20.1-r1 (See bug 298571 for stabilization process)