Bug 129973

Summary: Dont check for shm_open in librt, doesnt exist on OpenBSD
Product: WebKit Reporter: Landry Breuil <landry>
Component: WebKit2Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: ajacoutot, commit-queue, kling, mrobinson
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description Landry Breuil 2014-03-08 11:24:11 PST
OpenBSD has shm_open directly in libc, and we dont have librt, so build fails at some point when a test binary tries to link with SHM_LIBS.
Comment 1 Landry Breuil 2014-03-08 11:26:32 PST
Created attachment 226221 [details]
Patch
Comment 2 Andreas Kling 2014-03-08 13:33:29 PST
I got the impression that the autotools build system might be on its way out. You might want to do the same fix in CMake land. (CC'ing mrobinson who will know.)
Comment 3 Martin Robinson 2014-03-08 13:48:57 PST
Comment on attachment 226221 [details]
Patch

It looks like the CMake port doesn't explicitly link against librt. It may have to once it is tested on more systems, but I don't think this fix needs to be extended to CMake yet.
Comment 4 WebKit Commit Bot 2014-03-08 14:04:07 PST
Comment on attachment 226221 [details]
Patch

Clearing flags on attachment: 226221

Committed r165337: <http://trac.webkit.org/changeset/165337>
Comment 5 WebKit Commit Bot 2014-03-08 14:04:10 PST
All reviewed patches have been landed.  Closing bug.