[swift-dev] Adding Ubuntu 32-bit support

William Dillon wdillon at deluge.housedillon.com
Mon Nov 27 06:36:52 CST 2017


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.

Cheers,
- Will

> On Nov 27, 2017, at 1:08 AM, Ionel Lescai via swift-dev <swift-dev at swift.org> wrote:
> 
> 
> Hello!
> 
> I'm trying to build Swift from source on a 32-bit Ubuntu virtual machine.
> I've done minor modifications, mostly to the build script (see https://pastebin.com/rmWecTu7 <https://pastebin.com/rmWecTu7>)
> 
> I'm getting the following error, related to converting Float80 (see https://pastebin.com/ue8MRquU <https://pastebin.com/ue8MRquU> for full output)
> 
> 1.	While running pass #147 SILFunctionTransform "SIL alloc_stack Hoisting" on SILFunction "@_T0s7Float80V15_representationAB01_A14RepresentationVvg".
>  for getter for _representation at /home/gigi/local/Source/apple/swift/stdlib/public/core/FloatingPointTypes.swift.gyb:342:16
> 2.	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 {
> 
> Using ~/local/Source/apple/swift/utils/build-script --release to build.
> 
> Please advise.
> 
> _______________________________________________
> swift-dev mailing list
> swift-dev at swift.org
> https://lists.swift.org/mailman/listinfo/swift-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-dev/attachments/20171127/0d4b5bef/attachment.html>


More information about the swift-dev mailing list