diff options
author | nkaretnikov2 <40859722+nkaretnikov2@users.noreply.github.com> | 2018-07-06 15:54:28 +0300 |
---|---|---|
committer | Jan Kotas <jkotas@microsoft.com> | 2018-07-06 14:54:28 +0200 |
commit | 777618952db7e68e6b8e867f087f62d24b1b6fe1 (patch) | |
tree | 582684790ee9a77560bdeaee907f5def60141bd1 /Documentation/building | |
parent | 5922cd345fe5de97efaccf426381db4ac74bc53c (diff) | |
download | coreclr-777618952db7e68e6b8e867f087f62d24b1b6fe1.tar.gz coreclr-777618952db7e68e6b8e867f087f62d24b1b6fe1.tar.bz2 coreclr-777618952db7e68e6b8e867f087f62d24b1b6fe1.zip |
[ARM] Mention a clang-5.0 issue in the documentation (#18803)
Diffstat (limited to 'Documentation/building')
-rw-r--r-- | Documentation/building/linux-instructions.md | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/Documentation/building/linux-instructions.md b/Documentation/building/linux-instructions.md index 7e1c0f9011..86713c198f 100644 --- a/Documentation/building/linux-instructions.md +++ b/Documentation/building/linux-instructions.md @@ -38,7 +38,18 @@ In order to get clang-3.9, llvm-3.9 and lldb-3.9 on Ubuntu 14.04, we need to add ~$ wget -O - http://llvm.org/apt/llvm-snapshot.gpg.key | sudo apt-key add - ~$ sudo apt-get update -Note: ARM clang has a known issue with CompareExchange ([#15074](https://github.com/dotnet/coreclr/issues/15074)), so for ARM you must use clang-4.0 or higher. The official build uses clang-5.0. +Note: ARM clang has a known issue with CompareExchange +([#15074](https://github.com/dotnet/coreclr/issues/15074)), so for ARM you must +use clang-4.0 or higher. Moreover, when building with clang-5.0, the +following errors occur: + +``` +coreclr/src/debug/inc/arm/primitives.h:66:1: error: __declspec attribute 'selectany' is + not supported [-Werror,-Wignored-attributes] +``` + +This is fixed in clang-5.0.2, which can be installed from the apt +repository listed below. For other version of Debian/Ubuntu, please visit http://apt.llvm.org/. |