search for: cmake_c_flags_init

Displaying 1 result from an estimated 1 matches for "cmake_c_flags_init".

2016 May 03
4
Linux/ARM: Segfault issue when we build clang sources including __thread variable using -O2 flag
...ain () from /lib/arm-linux-gnueabihf/libc.so.6 #17 0x00009590 in _start () Backtrace stopped: previous frame identical to this frame (corrupt stack?) (gdb) (gdb) (gdb) (gdb) At that time, I defined the "global-dynamic" TLS model by default with Clang/LLVM compiler as following: SET (CMAKE_C_FLAGS_INIT "-Wall -std=c11 -ftls-model=global-dynamic") We can build and run hello!!! console application with clang/LLVM with -O1 optimization level for Ubuntu/ARM 14.04 32bit as following. src/pal/tools/clang-compiler-override.txt | 13 +++++++++++-- 1 file changed, 11 insertions(...