<html><body><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000"><div><span id="zwchr" data-marker="__DIVIDER__">----- On Jun 14, 2016, at 12:31 PM, Luke K D'Alessandro <ldalessa@indiana.edu> wrote:<br></span></div><div data-marker="__QUOTED_TEXT__"><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><span class="">I tried following the Darwin instructions on the website (basically `</span><span class="">./configure --build=x86_64-apple-darwin11` but the `clock_gettime` and `-lrt` dependencies don’t exist on Darwin).</span><div class=""><span class=""><br class=""></span></div><div class=""><span class="">Just for fun I removed this dependency and added a custom version of `clock_gettime` (</span><a href="https://github.com/lorrden/darwin-posix-rt/blob/master/clock_gettime.c" class="" target="_blank">https://github.com/lorrden/darwin-posix-rt/blob/master/clock_gettime.c</a>) but the build still fails in `systcall-compat.h`.</div><span class=""><div class=""><span class=""><br class=""></span></div>```<br class=""></span><span class="">$ make V=1<br class="">/Applications/Xcode.app/Contents/Developer/usr/bin/make all-recursive<br class="">Making all in .<br class="">/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I./urcu -I./urcu -Wall -g -O2 -D_THREAD_SAFE -pthread -MT wfqueue.lo -MD -MP -MF .deps/wfqueue.Tpo -c -o wfqueue.lo wfqueue.c<br class="">libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./urcu -I./urcu -Wall -g -O2 -D_THREAD_SAFE -pthread -MT wfqueue.lo -MD -MP -MF .deps/wfqueue.Tpo -c wfqueue.c -fno-common -DPIC -o .libs/wfqueue.o<br class="">In file included from wfqueue.c:28:<br class="">In file included from ./urcu/static/wfqueue.h:33:<br class="">In file included from ./urcu/uatomic.h:24:<br class="">In file included from ./urcu/system.h:23:<br class="">In file included from ./urcu/arch.h:27:<br class="">./urcu/syscall-compat.h:39:2: error: "Add platform support to urcu/syscall-compat.h"<br class="">#error "Add platform support to urcu/syscall-compat.h"<br class=""> ^<br class="">1 error generated.<br class="">make[2]: *** [wfqueue.lo] Error 1<br class="">make[1]: *** [all-recursive] Error 1<br class="">make: *** [all] Error 2<br class=""></span><span class="">```</span><div class=""><span class=""><br class=""></span></div><div class=""><span class="">Is Darwin still a supported platform for the library?</span></div></blockquote><div><br></div><div>It should, yes, but we don't test it in our CI yet.<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>I just took care of the syscall-compat.h error (pushed into master</div><div>and stable-0.9). For clock_gettime, we would need to implement</div><div>a LGPLv2.1 wrapper within liburcu for MacOSX.<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>Is this something you could look into ?<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>Thanks,<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>Mathieu<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><div class=""><span class=""><br class=""></span></div><div class=""><span class="">Thanks,</span></div><div class=""><span class="">Luke</span></div><br>_______________________________________________<br>lttng-dev mailing list<br>lttng-dev@lists.lttng.org<br>https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev<br></blockquote></div><div><br></div><div data-marker="__SIG_POST__">-- <br></div><div>Mathieu Desnoyers<br>EfficiOS Inc.<br>http://www.efficios.com</div></div></body></html>