<html><body><p>On the branch that the pthread wq pull request comes from, libdispatch builds on Ubuntu 14 and tests run. <br><br>So, no more problems lurking behind that one.<br><br>--dave<br><br><img width="16" height="16" src="cid:1__=0ABBF5AADFEEAF4A8f9e8a93df938690918c0AB@" border="0" alt="Inactive hide details for Pierre Habouzit ---01/13/2016 02:53:53 PM---it needs pthread wq changes that are still in review (the"><font color="#424282">Pierre Habouzit ---01/13/2016 02:53:53 PM---it needs pthread wq changes that are still in review (the pull request is tagged as such). -Pierre</font><br><br><font size="2" color="#5F5F5F">From:        </font><font size="2">Pierre Habouzit &lt;phabouzit@apple.com&gt;</font><br><font size="2" color="#5F5F5F">To:        </font><font size="2">Philippe Hausler &lt;phausler@apple.com&gt;</font><br><font size="2" color="#5F5F5F">Cc:        </font><font size="2">David P Grove/Watson/IBM@IBMUS, Swift Core Libs &lt;swift-corelibs-dev@swift.org&gt;</font><br><font size="2" color="#5F5F5F">Date:        </font><font size="2">01/13/2016 02:53 PM</font><br><font size="2" color="#5F5F5F">Subject:        </font><font size="2">Re: [swift-corelibs-dev] libdispatch prep for integration to the rest of swift-corelibs</font><br><font size="2" color="#5F5F5F">Sent by:        </font><font size="2">phabouzit@apple.com</font><br><hr width="100%" size="2" align="left" noshade style="color:#8091A5; "><br><br><br><font size="4">it needs pthread wq changes that are still in review (the pull request is tagged as such).</font><br><br><font size="4">-Pierre </font><br>
<ul><ul><font size="4">On Jan 13, 2016, at 11:11 AM, Philippe Hausler via swift-corelibs-dev &lt;</font><a href="mailto:swift-corelibs-dev@swift.org"><u><font size="4" color="#0000FF">swift-corelibs-dev@swift.org</font></u></a><font size="4">&gt; wrote:</font><br><br><font size="4">Splitting this off to it’s own thread since this is not per-se networking related</font><br>
<ul><ul><font size="4">On Jan 13, 2016, at 11:07 AM, David P Grove &lt;</font><a href="mailto:groved@us.ibm.com"><u><font size="4" color="#0000FF">groved@us.ibm.com</font></u></a><font size="4">&gt; wrote:</font><br>
<p><a href="mailto:phausler@apple.com"><tt><u><font size="4" color="#0000FF">phausler@apple.com</font></u></tt></a><tt><font size="4">&nbsp;wrote on 01/13/2016 01:43:17 PM:<br>&gt; <br>&gt; Getting GCD up and rolling is definitely a bottleneck for a few <br>&gt; things (not just NSURLSession). </font></tt><font size="4"><br></font><tt><font size="4"><br>Thanks Philippe! &nbsp;I was looking for things to do :)<br> <br>&gt; <br>&gt; There are a few things that we need as checkpoints:<br>&gt; A set of build instructions tailored for the swift project<br>&gt; GCD needs to be able to build on Ubuntu 14 as well as Ubuntu 15</font></tt><font size="4"><br></font><tt><font size="4"><br>I can take a look at Ubuntu 14. &nbsp;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). &nbsp;I'll see if there is anything else standing in the way for Ubuntu 14. </font></tt></ul></ul><br><font size="4">I am getting a build failure on 14:</font><br><br><font size="4">/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</font><br><font size="4">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</font><br><font size="4">queue.c:216:22: error: use of undeclared identifier 'WORKQ_BG_PRIOQUEUE'</font><br><font size="4">                .dgq_wq_priority = WORKQ_BG_PRIOQUEUE,</font><br><font size="4">                                   ^</font><br><font size="4">queue.c:227:22: error: use of undeclared identifier 'WORKQ_BG_PRIOQUEUE'</font><br><font size="4">                .dgq_wq_priority = WORKQ_BG_PRIOQUEUE,</font><br><font size="4">                                   ^</font><br><font size="4">queue.c:928:18: error: invalid application of 'sizeof' to an incomplete type 'struct dispatch_root_queue_context_s []'</font><br>
<ul><ul><tt><font size="4"><br>&gt; We need to move Availability.h and friends down underneath both GCD <br>&gt; and Foundation since they both use them<br>&gt; We need to move the blocks runtime out of Foundation and underneath <br>&gt; or inside of GCD.<br>&gt; The master build script in swift/utils/build-script needs to be able<br>&gt; to build GCD<br>&gt; The master build script in swift/utils/build-script to ensure GCD <br>&gt; and all required components are built before Foundation and the <br>&gt; appropriate linker paths are passed to Foundation (see how XCTest is handled)<br>&gt; </font></tt><font size="4"><br></font><tt><font size="4"><br>--dave</font></tt><font size="4"><br></font></ul></ul><font size="4"><br></font><br><font size="4">_______________________________________________<br>swift-corelibs-dev mailing list</font><u><font size="4" color="#0000FF"><br></font></u><a href="mailto:swift-corelibs-dev@swift.org"><u><font size="4" color="#0000FF">swift-corelibs-dev@swift.org</font></u></a><font size="4"><br></font><font size="4"><a href="https://lists.swift.org/mailman/listinfo/swift-corelibs-dev">https://lists.swift.org/mailman/listinfo/swift-corelibs-dev</a></font></ul></ul><br><br><BR>
</body></html>