-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/127513/
-----------------------------------------------------------

(Updated March 29, 2016, 6:14 p.m.)


Status
------

This change has been marked as submitted.


Review request for Build System, Extra Cmake Modules and Mathieu Tarral.


Changes
-------

Submitted with commit c6495e75fc6114314512427bce5e202c1ad648c6 by Albert Astals 
Cid on behalf of Peter Wu to branch master.


Repository: extra-cmake-modules


Description
-------

Clang automatically adds its runtime library (librt) when given the
-fsanitize options. Do not force the GCC runtime libraries (asan, tsan,
lsan), this results in "Your application is linked against incompatible
ASan runtimes." errors when using the library in an executable built
using Clang.


Diffs
-----

  modules/ECMEnableSanitizers.cmake e64599b 

Diff: https://git.reviewboard.kde.org/r/127513/diff/


Testing
-------

Applied this patch on top of 5.20.0-1 and built Solid 5.20.0-1 with 
`-DCMAKE_CXX_COMPILER=clang++ -DECM_ENABLE_SANITIZERS=address`. Finally be able 
to start ASAN-instrumented Wireshark (which was built using Clang).


Thanks,

Peter Wu

_______________________________________________
Kde-buildsystem mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kde-buildsystem

Reply via email to