Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 830890 - dev-util/oprofile-1.4.0 liberty library not found
Summary: dev-util/oprofile-1.4.0 liberty library not found
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-10 08:21 UTC by Kuba Marek
Modified: 2022-01-10 13:48 UTC (History)
0 users

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


Attachments
build.log of the failing emerge (dev-util_oprofile-1.4.0_build.log,12.34 KB, text/x-log)
2022-01-10 08:21 UTC, Kuba Marek
Details
emerge --info dev-util/oprofile (dev-util_oprofile-1.4.0_emerge_info.txt,21.35 KB, text/plain)
2022-01-10 08:22 UTC, Kuba Marek
Details
config.log (dev-util_oprofile-1.4.0_config.log,56.77 KB, text/x-log)
2022-01-10 12:46 UTC, Kuba Marek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kuba Marek 2022-01-10 08:21:48 UTC
Created attachment 761732 [details]
build.log of the failing emerge

When rebuilding dev-util/oprofile-1.4.0 I'm getting a configuration error saying `configure: error: liberty library not found`

I'm using LTO overlay, but I think this problem is not affected by it.
Comment 1 Kuba Marek 2022-01-10 08:22:29 UTC
Created attachment 761733 [details]
emerge --info dev-util/oprofile
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-01-10 09:34:38 UTC
ecking for cplus_demangle in -liberty... no
configure: error: liberty library not found

!!! Please attach the following file when seeking support:
!!! /tmp/portage/dev-util/oprofile-1.4.0/work/oprofile-1.4.0/config.log
Comment 3 Kuba Marek 2022-01-10 12:46:42 UTC
Created attachment 761780 [details]
config.log

Ok, so after looking at this file (thanks for the hint :) ) I've noticed that the problem actually is caused by LTO (different GCC version between dev-util/oprofile and sys-libs/binutils-libs). I fixed it by rebuilding binutils-libs.
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-01-10 13:48:21 UTC
Thanks for the follow up!