Bug 95037 - Weston clock_gettime() zuctest build failure
Summary: Weston clock_gettime() zuctest build failure
Status: RESOLVED FIXED
Alias: None
Product: Wayland
Classification: Unclassified
Component: weston (show other bugs)
Version: unspecified
Hardware: Other Linux (All)
: medium normal
Assignee: Wayland bug list
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-20 18:37 UTC by Gustavo Zacarias
Modified: 2016-04-25 12:37 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
build: add check for clock_gettime() in librt (3.55 KB, text/plain)
2016-04-20 18:37 UTC, Gustavo Zacarias
Details

Description Gustavo Zacarias 2016-04-20 18:37:29 UTC
Created attachment 123094 [details]
build: add check for clock_gettime() in librt

zuctest is another clock_gettime() user that fails to link against librt when necessary.

Instead of adding another -lrt LDADD entry i've opted for the saner way and converted the check to a configure test that will set CLOCK_GETTIME_LIBS appropiately and replaced all instances of -lrt with it.
Built-tested against old and new glibc.
Comment 1 Pekka Paalanen 2016-04-21 07:59:33 UTC
Hi,

thank you for writing a patch. Could you send it to the wayland-devel@ mailing list so we can track it in https://patchwork.freedesktop.org/project/wayland/patches/ and review it, please?

Would also be nice to add this to the commit message above your S-o-b:
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=95037

Thanks.
Comment 3 Pekka Paalanen 2016-04-25 12:37:17 UTC
Oh yeah, I landed those, so marking as fixed. I forgot about this bug as neither patch carried a link. ;-)


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.