Closed xanderdunn closed 3 years ago
This is not specific to Swift for Tensorflow. This reproduces on Swift dev trunk Sept 28:
$ which swift
/home/xander/swift-DEVELOPMENT-SNAPSHOT-2020-09-28-a-ubuntu18.04/usr/bin/swift
$ swift --version
Swift version 5.3-dev (LLVM 8d6dfcd39f3bc7d, Swift 35d765f87cd2a30)
Target: x86_64-unknown-linux-gnu
This is caused by the BigInt dependency. See attaswift/BigInt#75. Filed a Swift bug report here
Although the compiler crash has not yet been fixed in Swift, google-auth-library-swift now builds on latest Swift trunk and S4TF as a result of attaswift/BigInt#77 and the newly released BigInt 5.2.1.
Thanks for tracking this here!
I haven't received any responses to tensorflow/swift#522, so I will see if this is relevant here. I don't know if this is a compiler bug or a library bug.
On Ubuntu 18.04, google-auth-library-swift successfully compiles with the Swift for Tensorflow v0.10 Toolchain, but it causes a build crash on the recently released v0.11 toolchain:
I am not seeing this in a handful of other libraries I am successfully building.