Bug 62264

Summary: build: Link to libm for fpclassify()
Product: colord Reporter: Emanuele Aina <emanuele.aina>
Component: daemonAssignee: Richard Hughes <richard>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium CC: emanuele.aina
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: build: Link to libm for fpclassify()

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.