[cfe-users] Stack protection with clang

2018-09-20 Thread Alex Chen via cfe-users
I am using clang compiler 4.0.1 on CentOS 7.4 with gcc 4.8.5. I get the ready-made compiler from CentOS development repository and the resulting binaries use libstdc++ runtime library from GNU not libc++, which is not present in clang RPM I get anyway. I want to turn on stack projection but do

[cfe-users] Using -fsanitize=safe-stack compiler/linker flag

2017-06-26 Thread Alex Chen via cfe-users
I am using clang 3.8.0 and gcc 6.2.1 on CentOS 7.3.  Everything works fine until I add ‘-fsanitize=safe-stack’ to the compiler and linker flags. The shared libraries are built fine but executables linking with these libraries cannot be generated due to a unresolved symbol __safestack_unsaft_sta

[cfe-users] Clang prebuilt binary for CentOS 7

2017-03-23 Thread Alex Chen via cfe-users
Hi,    The latest clang prebuilt binary for CentOS is 3.8.0 for CentOS 6.  Is there any plan to provide clang 4.0.0 for CentOS 7? Thanks Alex Chen ___ cfe-users mailing list cfe-users@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/list

[cfe-users] Clang support of C++14 on Centos

2016-02-08 Thread Alex Chen via cfe-users
Hi, I have been using Clang 3.4.2 on CentOS for a while and everything is working fine. When I try to turn on c++14 support by setting the ­std=c++11y flag, I get compilation errors like: .. In file included from /usr/bin/../lib/gcc/x86_64-redhat-linux/4.8.2/../../../../include/c++/4.