Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 497156 - dev-util/oprofile-0.9.9 with sys-devel/binutils-2.24 - configure: ld.bfd: cannot find -liberty
Summary: dev-util/oprofile-0.9.9 with sys-devel/binutils-2.24 - configure: ld.bfd: can...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Tom Wijsman (TomWij) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-05 16:57 UTC by Alex Turbov
Modified: 2014-01-08 05:02 UTC (History)
1 user (show)

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


Attachments
output of `cave info` (cave.info.log,21.58 KB, text/plain)
2014-01-05 16:58 UTC, Alex Turbov
Details
failed config.log (config.log,53.90 KB, text/plain)
2014-01-05 17:03 UTC, Alex Turbov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Turbov 2014-01-05 16:57:56 UTC
failure on building oprofile.
as far as I can see I have no that library at all -- binutils-2.24 won't install it even w/ USE=static-libs and EXTRA_ECONF="--enable-install-libiberty" added when `binutils` builds


Reproducible: Always

Steps to Reproduce:
1.emerge oprofile
2.
3.
Comment 1 Alex Turbov 2014-01-05 16:58:31 UTC
Created attachment 367098 [details]
output of `cave info`
Comment 2 Alex Turbov 2014-01-05 17:03:42 UTC
Created attachment 367102 [details]
failed config.log
Comment 3 Juergen Rose 2014-01-06 12:28:21 UTC
I have the same issue. It seems that libiberty is not included in binutils-2.24:

root@condor:/root(9)# qlist -Iv binutils 
cross-avr/binutils-2.20.1-r1
sys-devel/binutils-2.24
sys-devel/binutils-config-3-r3

root@condor:/root(10)# qlist -Iv binutils | grep libiberty
root@condor:/root(11)#
Comment 4 Juergen Rose 2014-01-06 12:31:14 UTC
Sorry for the typo:

root@condor:/root(11)# qlist -v binutils | grep libiberty
/usr/lib/binutils/avr/2.20.1/libiberty.a
/usr/lib/binutils/avr/2.20.1/include/libiberty.h
/usr/lib64/binutils/x86_64-pc-linux-gnu/2.24/include/libiberty.h
/usr/share/doc/binutils-2.24/libiberty/ChangeLog.bz2
/usr/share/doc/binutils-2.24/libiberty/README.bz2
Comment 5 Alex Turbov 2014-01-08 05:02:10 UTC
fixed in binutils-2.24-r1