<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">If I remember correctly, Float80 is also unimplemented in 32-bit arm. I would suggest adding a conditional compilation block to disable this code for 32-bit. I'm not that familiar with gyb, however, so I don't know what that looks like.<div class=""><br class=""></div><div class="">Cheers,</div><div class="">- Will<br class=""><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Nov 27, 2017, at 1:08 AM, Ionel Lescai 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=""><img style="border: none; background:none; width: 0; height: 0;" src="https://share.polymail.io/v2/z/a/NWExYmQ0ZDFjOWI2/FMomDyjb2lnBjmteO0wqABRnuZpcACT_bMcOF6oEiu5PMGcCRK3cIsfXrAWDqIv79q1K4kqo7GKWF4J4qZuQbNzYJp6XOOA_6HrboitgfuTSjGg0M52qe9lPvlUOi7znfT9lwO_bFJxIX890F1o=.png" alt="" width="0px" height="0px" border="0" class=""><div class=""></div>
<div class=""></div>
<div class="">
Hello!<br class=""></div><div class=""><br class=""></div><div class="">I'm trying to build Swift from source on a 32-bit Ubuntu virtual machine.</div><div class="">I've done minor modifications, mostly to the build script (see <a href="https://pastebin.com/rmWecTu7" class="">https://pastebin.com/rmWecTu7</a>)</div><div class=""><br class=""></div><div id="psignature" class="">I'm getting the following error, related to converting Float80 (see <a href="https://pastebin.com/ue8MRquU" class="">https://pastebin.com/ue8MRquU</a> for full output)</div><div id="psignature" class=""><br class=""></div><div id="psignature" class=""><div id="psignature" class="">1.<span class="Apple-tab-span" style="white-space:pre">        </span>While running pass #147 SILFunctionTransform "SIL alloc_stack Hoisting" on SILFunction "@_T0s7Float80V15_representationAB01_A14RepresentationVvg".</div><div id="psignature" class=""> for getter for _representation at /home/gigi/local/Source/apple/swift/stdlib/public/core/FloatingPointTypes.swift.gyb:342:16</div><div id="psignature" class="">2.<span class="Apple-tab-span" style="white-space:pre">        </span>While converting type 'Float80' (declared at [/home/gigi/local/Source/apple/swift/stdlib/public/core/FloatingPointTypes.swift.gyb:74:8 - line:3662:1] RangeText="struct Float80 {</div><div class=""><br class=""></div><div class="">Using ~/local/Source/apple/swift/utils/build-script --release to build.</div><div class=""><br class=""></div><div class="">Please advise.</div></div><div id="psignature" class=""><br class=""></div><div class=""></div>_______________________________________________<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></blockquote></div><br class=""></div></div></body></html>