[cfe-dev] Build Clang with CMake and Intel Compiler
Hal Finkel
hfinkel at anl.gov
Wed Mar 19 08:51:19 PDT 2014
----- Original Message -----
> From: "Marvin Damschen" <marvin.damschen at gullz.de>
> To: "Kostya Serebryany" <kcc at google.com>
> Cc: "Clang Developer's Mailing List" <cfe-dev at cs.uiuc.edu>
> Sent: Wednesday, March 19, 2014 9:47:14 AM
> Subject: Re: [cfe-dev] Build Clang with CMake and Intel Compiler
>
>
> > This error reports comes from building tsan (ThreadSanitizer)
> > run-time.
> > First: do you need it?
>
> I do not need it, but I am not too familiar with the clang build
> process. How do I disable it? Would commenting out the
> 'add_compiler_rt_static_runtime' and 'add_compiler_rt_static_runtime'
> in
> the CMakeLists be sufficient?
>
> > Second: try to hack
> > compiler-rt/lib/sanitizer_common/sanitizer_asm.h
> > to disable CFI directives.
>
> Apparently, sanitizer_asm.h was added in trunk after 3.4 to solve
> exactly the problem I am having right now. However, I am bound to 3.4
> because I want to use Intel's OpenMP extensions eventually.
This is not true. With Intel's assistance, I maintain a trunk-rebased version of the patchset: https://github.com/clang-omp/clang_trunk -- it sometimes lags the "release" branch in terms of features, but if you need something specific, please let me know and I'll get it done. This branch is what I use to make our internal release candidates.
-Hal
> I think
> disabling the problematic sanitizers is the way to go for me now.
>
> Thank you
> Marvin
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
--
Hal Finkel
Assistant Computational Scientist
Leadership Computing Facility
Argonne National Laboratory
More information about the cfe-dev
mailing list