<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=""><br class=""><div><blockquote type="cite" class=""><div class="">On Oct 23, 2016, at 4:13 PM, Michael Gottesman via swift-dev <<a href="mailto:swift-dev@swift.org" class="">swift-dev@swift.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class=""><br class=""><blockquote type="cite" class="">On Oct 23, 2016, at 3:30 PM, Alexis Beingessner via swift-dev <<a href="mailto:swift-dev@swift.org" class="">swift-dev@swift.org</a>> wrote:<br class=""><br class="">Dave pointed out to me this week that the build crashes if the stdlib tries to use private/fileprivate. I tried it myself and lo and behold the linker can't find the private symbols. He couldn't recall what about the build caused that, though.<br class=""><br class="">Can anyone recall why this is? How hard is it to fix?<br class=""></blockquote><br class="">I am not 100% sure, but if it happens only with the stdlib and has to do with access control, I wouldn't be surprised if it has to do with -sil-serialize-all and friends. But I may be correct. I think Jordan is the right person to answer this question.<br class=""><br class="">What do you think Jordan?<br class="">Michael<br class=""></div></div></blockquote><div><br class=""></div><div>Hi Alexis,</div><div><br class=""></div>You can build the stdlib without sil-serialize-all now by passing a flag to build-script:</div><div><br class=""></div><div>./utils/build-script — <span style="color: rgb(76, 47, 45); font-family: Menlo; background-color: rgb(223, 219, 196);" class="">--swift-stdlib-enable-resilience</span></div><div><font color="#4c2f2d" face="Menlo" class=""><span style="background-color: rgb(223, 219, 196);" class=""><br class=""></span></font></div><div><font color="#4c2f2d" face="Menlo" class=""><span style="background-color: rgb(223, 219, 196);" class="">Give that a shot and see if it fixes the issues you’re having with ‘private’.</span></font></div><div><font color="#4c2f2d" face="Menlo" class=""><span style="background-color: rgb(223, 219, 196);" class=""><br class=""></span></font><blockquote type="cite" class=""><div class=""><div class=""><br class=""><blockquote type="cite" class="">_______________________________________________<br class="">swift-dev mailing list<br class=""><a href="mailto:swift-dev@swift.org" class="">swift-dev@swift.org</a><br class="">https://lists.swift.org/mailman/listinfo/swift-dev<br class=""></blockquote><br class="">_______________________________________________<br class="">swift-dev mailing list<br class=""><a href="mailto:swift-dev@swift.org" class="">swift-dev@swift.org</a><br class="">https://lists.swift.org/mailman/listinfo/swift-dev<br class=""></div></div></blockquote></div><br class=""></body></html>