Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 415717 - sci-calculators/galculator-1.3.4: undefined reference to sinh@@GLIBC_2.0
Summary: sci-calculators/galculator-1.3.4: undefined reference to sinh@@GLIBC_2.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-13 09:14 UTC by ncahill_alt
Modified: 2012-05-13 15:44 UTC (History)
0 users

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 ncahill_alt 2012-05-13 09:14:34 UTC
I think this is because --as-needed is now used.  The fix was to add -lm to LIBS in src/Makefile.in.

This is on X86, CFLAGS, etc are normal and not a factor.

Thank you.
Neil.

Reproducible: Always
Comment 1 Pacho Ramos gentoo-dev 2012-05-13 10:05:46 UTC
Please attach full build.log and emerge --info output
Comment 2 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-05-13 15:00:29 UTC
I can confirm the problem when ld.gold is used as the linker.
Comment 3 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-05-13 15:44:00 UTC
Thanks for reporting, fixed in cvs. Patch submitted upstream at https://sourceforge.net/tracker/?func=detail&aid=3526340&group_id=80471&atid=559874

>  13 May 2012; Alexandre Rostovtsev <tetromino@gentoo.org>
>  galculator-1.3.4.ebuild, +files/galculator-1.3.4-libm.patch:
>  Add patch to explicitly link with -lm (bug #415717, thanks to ncahill_alt).
>  Add missing dependencies. Update to EAPI4.