Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 483528 - sys-block/mbuffer-20130220 port for gentoo prefix, OS X
Summary: sys-block/mbuffer-20130220 port for gentoo prefix, OS X
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All OS X
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-03 21:16 UTC by iloveosxzfs
Modified: 2021-09-07 05:06 UTC (History)
2 users (show)

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 iloveosxzfs 2013-09-03 21:16:01 UTC
mbuffer does not successfully configure or build on gentoo prefix, OS X.

Two known issues:
1. clock_gettime:
clock_gettime is not implemented on OS X.
Some implementations are suggested here: http://stackoverflow.com/questions/5167269/clock-gettime-alternative-in-mac-os-x

2. unnamed semaphores:
Once the clock_gettime issue is resolved, the next problem is that OS X does not support unnamed semaphores. A description of the issue is here:

http://heldercorreia.com/blog/semaphores-in-mac-os-x

An example of a full-blown substitute implementation for sem_getvalue, etc. is here: http://www.libsdl.org/tmp/SDL/src/thread/generic/SDL_syssem.c

I am unaware of what additional issues might show up once #1. and #2. are resolved.
Comment 1 Richard Yao (RETIRED) gentoo-dev 2013-09-03 21:20:05 UTC
This was filed as part of cross platform collaboration that I am doing on ZFS. If no one minds, I am reassigning this to myself.

Time permitting, I will write a patch and solicit permission from base-system to merge it.
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-03-01 11:07:03 UTC
(In reply to Richard Yao from comment #1)
> This was filed as part of cross platform collaboration that I am doing on
> ZFS. If no one minds, I am reassigning this to myself.
> 
> Time permitting, I will write a patch and solicit permission from
> base-system to merge it.

ping? ;)
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-09-07 05:06:47 UTC
This feels like a bug for upstream and there's been no progress.