Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 312357 - sci-libs/cbflib: libs are underlinked
Summary: sci-libs/cbflib: libs are underlinked
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Justin Lecher (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-31 11:08 UTC by Rafał Mużyło
Modified: 2010-03-31 20:25 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rafał Mużyło 2010-03-31 11:08:07 UTC
Both libimg.so and libcbf.so use symbols from libm,
but don't link with it. It may cause problems with '--as-needed'.

Fix is trivial - adding '-lm' at the end of those two lines
in the current patch (0.8.1-Makefile.patch).
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2010-03-31 12:05:52 UTC
I don't think that is true, because I am using as-needed by default.
But I will look into it.
Comment 2 Rafał Mużyło 2010-03-31 13:32:41 UTC
Well, I'm not 100% sure, it's a problem,
but 'ldd -r' will confirm, they are underlinked.
Perhaps with recent binutils the effect is not as noticeable,
as it was before.
Comment 3 Justin Lecher (RETIRED) gentoo-dev 2010-03-31 13:46:05 UTC
Right that doesn't look good. I will fix that.
Comment 4 Justin Lecher (RETIRED) gentoo-dev 2010-03-31 20:25:22 UTC
Fixed. Thanks for reporting.