Bug 62264 - build: Link to libm for fpclassify()
Summary: build: Link to libm for fpclassify()
Status: RESOLVED FIXED
Alias: None
Product: colord
Classification: Unclassified
Component: daemon (show other bugs)
Version: unspecified
Hardware: All All
: medium normal
Assignee: Richard Hughes
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-12 21:42 UTC by Emanuele Aina
Modified: 2013-03-13 06:52 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
build: Link to libm for fpclassify() (1.02 KB, patch)
2013-03-12 21:46 UTC, Emanuele Aina
Details | Splinter Review

Description Emanuele Aina 2013-03-12 21:42:07 UTC
Linking with the gold linker failed with an undefined reference to
__fpclassify since it uses '--no-copy-dt-needed-entries' by default.

make[4]: Entering directory `/home/em/dev/gnome-world-3.8/real-src/colord/src'
CCLD   colord
../lib/colord/.libs/libcolordprivate.so: error: undefined reference to '__fpclassify'
collect2: error: ld returned 1 exit status
make[4]: *** [colord] Error 1
Comment 1 Emanuele Aina 2013-03-12 21:46:55 UTC
Created attachment 76446 [details] [review]
build: Link to libm for fpclassify()
Comment 2 Richard Hughes 2013-03-13 06:52:15 UTC
Awesome, thanks. I've pushed this to master with a tiny additional fix.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.