You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Zoltán Borók-Nagy (Jira)" <ji...@apache.org> on 2024/06/28 14:59:00 UTC

[jira] [Created] (IMPALA-13190) Backport Clang compiler fix to Toolchain Clang 5.0.1

Zoltán Borók-Nagy created IMPALA-13190:
------------------------------------------

             Summary: Backport Clang compiler fix to Toolchain Clang 5.0.1
                 Key: IMPALA-13190
                 URL: https://issues.apache.org/jira/browse/IMPALA-13190
             Project: IMPALA
          Issue Type: Sub-task
          Components: Toolchain
            Reporter: Zoltán Borók-Nagy


Toolchain Clang 5.0.1 fails to compile the CRoaring library.

There was an overlook in the C11 standard that didn't allow const argument for atomic_load operations. It was later revised, see [https://www.open-std.org/jtc1/sc22/wg14/www/docs/n1807.htm]

Since then GCC/Clang allow passing const _Atomic(T)* in all versions of C.
 * LLVM discussion thread: [https://lists.llvm.org/pipermail/cfe-dev/2018-May/058129.html]
 * Clang fix: [https://github.com/llvm/llvm-project/commit/b4b1f59869b1045258787f5a138f9710859cfe95]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org