<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">Splitting this off to it’s own thread since this is not per-se networking related</div><br class=""><div><blockquote type="cite" class=""><div class="">On Jan 13, 2016, at 11:07 AM, David P Grove <<a href="mailto:groved@us.ibm.com" class="">groved@us.ibm.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class=""><p class=""><tt class=""><a href="mailto:phausler@apple.com" class="">phausler@apple.com</a> wrote on 01/13/2016 01:43:17 PM:</tt><br class=""><tt class="">> <br class="">> Getting GCD up and rolling is definitely a bottleneck for a few <br class="">> things (not just NSURLSession). </tt><br class=""><br class=""><tt class="">Thanks Philippe! I was looking for things to do :)</tt><br class=""><tt class=""> </tt><br class=""><tt class="">> <br class="">> There are a few things that we need as checkpoints:</tt><br class=""><tt class="">> A set of build instructions tailored for the swift project</tt><br class=""><tt class="">> GCD needs to be able to build on Ubuntu 14 as well as Ubuntu 15</tt><br class=""><br class=""><tt class="">I can take a look at Ubuntu 14. I know that one of the issues was the old version of libpthread_workqueue (under discussion for other reasons; we need fixes that aren't in the Ubuntu 15 version). I'll see if there is anything else standing in the way for Ubuntu 14. </tt><br class=""></p></div></div></blockquote><div><br class=""></div><div>I am getting a build failure on 14:</div><div><br class=""></div><div><div>/bin/bash ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I../config -I.. -I.. -I../private -I../os -DDISPATCH_USE_DTRACE=0 -Wall -fvisibility=hidden -momit-leaf-frame-pointer -I/usr/include/kqueue -isystem /usr/include/bsd -DLIBBSD_OVERLAY -fblocks -g -O2 -c -o queue.lo queue.c</div><div>libtool: compile: clang -DHAVE_CONFIG_H -I. -I../config -I.. -I.. -I../private -I../os -DDISPATCH_USE_DTRACE=0 -Wall -fvisibility=hidden -momit-leaf-frame-pointer -I/usr/include/kqueue -isystem /usr/include/bsd -DLIBBSD_OVERLAY -fblocks -g -O2 -c queue.c -fPIC -DPIC -o .libs/queue.o</div><div>queue.c:216:22: error: use of undeclared identifier 'WORKQ_BG_PRIOQUEUE'</div><div> .dgq_wq_priority = WORKQ_BG_PRIOQUEUE,</div><div> ^</div><div>queue.c:227:22: error: use of undeclared identifier 'WORKQ_BG_PRIOQUEUE'</div><div> .dgq_wq_priority = WORKQ_BG_PRIOQUEUE,</div><div> ^</div><div>queue.c:928:18: error: invalid application of 'sizeof' to an incomplete type 'struct dispatch_root_queue_context_s []'</div></div><br class=""><blockquote type="cite" class=""><div class=""><div class=""><p class=""><br class=""><tt class="">> We need to move Availability.h and friends down underneath both GCD <br class="">> and Foundation since they both use them</tt><br class=""><tt class="">> We need to move the blocks runtime out of Foundation and underneath <br class="">> or inside of GCD.</tt><br class=""><tt class="">> The master build script in swift/utils/build-script needs to be able<br class="">> to build GCD</tt><br class=""><tt class="">> The master build script in swift/utils/build-script to ensure GCD <br class="">> and all required components are built before Foundation and the <br class="">> appropriate linker paths are passed to Foundation (see how XCTest is handled)</tt><br class=""><tt class="">> <br class=""></tt><br class=""><tt class="">--dave</tt><br class=""><br class="">
</p></div>
</div></blockquote></div><br class=""></body></html>