<div dir="ltr">Thanks for the quick responses!<div><br></div><div>I had tried the experimental/foundation branch as well, with no luck. Here&#39;s the full output from a clean build I just attempted: <a href="https://gist.github.com/modocache/fcf0c78908b39834448c73ac3f50c110">https://gist.github.com/modocache/fcf0c78908b39834448c73ac3f50c110</a><br><br>Prior to the build I removed my entire build directory (which included both libdispatch-linux-x86_64 and swift-linux-x86_64) and removed all build artifacts from my libdispatch directory (I used `git clean -fxd` -- Make tells me there&#39;s no target `distclean`).</div><div><br></div><div>Looking at the build failure, it appears to be the same one that was reported in <a href="https://bugs.swift.org/browse/SR-1242">https://bugs.swift.org/browse/SR-1242</a>. The author of that report indicates that <a href="https://github.com/apple/swift-corelibs-libdispatch/pull/64">https://github.com/apple/swift-corelibs-libdispatch/pull/64</a> fixes the problem. My checkout includes the commits from that pull request, but the problem remains.</div><div><br>In any case, thanks for all your help! I&#39;ll keep trying. Any and all advice would be much appreciated!</div><div><br></div><div>- Brian Gesiak</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, May 30, 2016 at 10:22 AM, Chris Bailey <span dir="ltr">&lt;<a href="mailto:BAILEYC@uk.ibm.com" target="_blank">BAILEYC@uk.ibm.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><font size="2" face="sans-serif">I&#39;d certainly recommend picking up the
experimental/foundation branch as Rob recommends. Its where we&#39;ve been
doing some additional work to get properly built into the Swift toolchain
and to open up some internal APIs needed by Foundation.</font>
<br>
<br><font size="2" face="sans-serif">Whilst I&#39;ve been building Dispatch either
independently or as part of a full toolchain using the buildbot_linux preset
(with dispatch and install-dispatch added), I&#39;ve just checked your build
line and its working fine for me. It might be worth cleaning out any partial
build you might have of libdispatch in your build directory, and running
&#39;make distclean&#39; from your libdispatch source directory.</font>
<br>
<br><font size="2" face="sans-serif">FYI, we&#39;ve got some further changes
to the experimental/foundation branch of libdispatch with should land in
the next couple of days. This fixes some issues with the Swift overlay,
and resolves a crash that we&#39;ve found in the underlying libkqueue implementation.</font>
<br>
<br><font size="2" face="sans-serif">Chris<br>
</font>
<br>
<br>
<br>
<br><font size="1" color="#5f5f5f" face="sans-serif">From:      
 </font><font size="1" face="sans-serif">Rob Allen via swift-corelibs-dev
&lt;<a href="mailto:swift-corelibs-dev@swift.org" target="_blank">swift-corelibs-dev@swift.org</a>&gt;</font>
<br><font size="1" color="#5f5f5f" face="sans-serif">To:      
 </font><font size="1" face="sans-serif">Brian Gesiak &lt;<a href="mailto:modocache@gmail.com" target="_blank">modocache@gmail.com</a>&gt;</font>
<br><font size="1" color="#5f5f5f" face="sans-serif">Cc:      
 </font><font size="1" face="sans-serif">Swift Core Libs &lt;<a href="mailto:swift-corelibs-dev@swift.org" target="_blank">swift-corelibs-dev@swift.org</a>&gt;</font>
<br><font size="1" color="#5f5f5f" face="sans-serif">Date:      
 </font><font size="1" face="sans-serif">30/05/2016 08:08</font>
<br><font size="1" color="#5f5f5f" face="sans-serif">Subject:    
   </font><font size="1" face="sans-serif">Re: [swift-corelibs-dev]
libdispatch on Linux, or C++ std::async?</font>
<br><font size="1" color="#5f5f5f" face="sans-serif">Sent by:    
   </font><font size="1" face="sans-serif"><a href="mailto:swift-corelibs-dev-bounces@swift.org" target="_blank">swift-corelibs-dev-bounces@swift.org</a></font>
<br>
<hr noshade><div><div class="h5">
<br>
<br>
<br><font size="3">Hi,</font>
<br>
<br><font size="3">For what it&#39;s worth, I can&#39;t get the master branch to
build either, but I can get the experimental/foundation branch to build.</font>
<br>
<br><font size="3">Regards,</font>
<br>
<br><font size="3">Rob....</font>
<br>
<br>
<br><font size="3">On 30 May 2016, at 05:28, Brian Gesiak via swift-corelibs-dev
&lt;</font><a href="mailto:swift-corelibs-dev@swift.org" target="_blank"><font size="3" color="blue"><u>swift-corelibs-dev@swift.org</u></font></a><font size="3">&gt;
wrote:</font>
<br>
<br><font size="3">Hello all!</font>
<br>
<br><font size="3">I&#39;m working on </font><a href="https://bugs.swift.org/browse/SR-710" target="_blank"><font size="3" color="blue"><u>https://bugs.swift.org/browse/SR-710</u></font></a><font size="3">,
which involves porting SourceKit to Linux. SourceKit contains a handful
of references to libdispatch symbols.<br>
<br>
I have two questions:<br>
<br>
1. Could someone share a set of instructions to build swift-corelibs-libdispatch
on Linux? I&#39;m using Ubuntu 15.10 and have installed [the dependencies listed
here](</font><a href="https://lists.swift.org/pipermail/swift-corelibs-dev/Week-of-Mon-20151207/000122.html" target="_blank"><font size="3" color="blue"><u>https://lists.swift.org/pipermail/swift-corelibs-dev/Week-of-Mon-20151207/000122.html</u></font></a><font size="3">).
I have tried using both `swift/utils/build-script --libdispatch` as well
as the instructions in the swift-corelibs-libdispatch `INSTALL` file. Both
fail with the [same errors](</font><a href="https://gist.github.com/modocache/8389d5d64e39ca5a4281500f84e9ce11" target="_blank"><font size="3" color="blue"><u>https://gist.github.com/modocache/8389d5d64e39ca5a4281500f84e9ce11</u></font></a><font size="3">).
Any tips?</font>
<br>
<br><font size="3">2. I don&#39;t know much about C++, but from what I understand
the C++ stdlib provides tools for asynchronous programming. I list SourceKit&#39;s
uses of libdispatch in a comment on </font><a href="https://bugs.swift.org/browse/SR-1639" target="_blank"><font size="3" color="blue"><u>https://bugs.swift.org/browse/SR-1639</u></font></a><font size="3">.
For those familiar with both C++ and libdispatch: do you think it&#39;s a good
idea to migrate to C++, at least for now?</font>
<br>
<br><font size="3">Any advice would be appreciated. Thanks!!</font>
<br>
<br><font size="3">- Brian Gesiak</font>
<br>
<br>
<br><font size="3">-- <br>
Development thoughts at </font><a href="http://akrabat.com/" target="_blank"><font size="3" color="blue"><u>http://akrabat.com</u></font></a><font size="3"><br>
Daily Jotter for Mac OS X at </font><a href="http://dailyjotter.com/" target="_blank"><font size="3" color="blue"><u>http://dailyjotter.com</u></font></a>
<br></div></div><tt><font size="2">_______________________________________________<br>
swift-corelibs-dev mailing list<br>
<a href="mailto:swift-corelibs-dev@swift.org" target="_blank">swift-corelibs-dev@swift.org</a><br>
</font></tt><a href="https://lists.swift.org/mailman/listinfo/swift-corelibs-dev" target="_blank"><tt><font size="2">https://lists.swift.org/mailman/listinfo/swift-corelibs-dev</font></tt></a><tt><font size="2"><br>
</font></tt>
<br>
<br></blockquote></div><br></div>