Hopefully this is the correct category to post this.
Currently on Ubuntu Linux, the Swift toolchain uses the system provided
libicu which presents 2 problems:
The version of ICU is quite old on 14.04 and 16.04, which is the source of some bugs in scl-foundation. Currently some tests are disabled to prevent CI failures.
The way that libicu is built requires the use of
dlopen(), thus making it unusable in a statically linked executable.
I propose building
libicu by default as part of the Linux build. This will allow using the latest version and also it can be built without the use of
Ideally I want to build with the version used by Darwin https://opensource.apple.com/tarballs/ICU/ICU-59152.0.1.tar.gz which I have had working before, however if there are reasons that version cant be used the offical version at https://github.com/unicode-org/icu could be used instead.
Does this sound reasonable?
ICU versions for Linux/Darwin (from https://github.com/apple/swift-corelibs-foundation/pull/1586)
macOS 10.12 ships with ICU 57.1
macOS 10.13 ships with ICU 59.1
Ubuntu 14.04 ships with ICU 52.1
Ubuntu 16.04 ships with ICU 55.1
Ubuntu 18.04 ships with ICU 60.2