Displaying 2 results from an estimated 2 matches for "cmtrycompileexec4274316732".
2014 Dec 10
2
[LLVMdev] [Compiler-rt] -march=aarch64 flag in gcc/clang
...39;m sure it
> should work (modulo regressions).
>
Removing compiler-rt from projects sources enables cmake step to succeed.
The error message is:
[...]
CMake Error at projects/compiler-rt/cmake/config-ix.cmake:87 (message):
Cannot compile for aarch64:
[...]
Building CXX object CMakeFiles/cmTryCompileExec4274316732.dir/simple.cc.o
/usr/bin/c++ -fPIC -fvisibility-inlines-hidden -Wall -W
-Wno-unused-parameter -Wwrite-strings -Wcast-qual
-Wno-missing-field-initializers -pedantic -Wno-long-long
-Wno-maybe-uninitialized -Wno-comment -std=c++11 -ffunction-sections
-fdata-sections -march=aarch64 -o
CMak...
2014 Dec 01
3
[LLVMdev] [Compiler-rt] -march=aarch64 flag in gcc/clang
Hi,
I wonder if this is a valid flag in either clang/gcc.
The flag in question is "-march=aarch64". I verified with latest tip and neither clang nor gcc fail to recognize this flag.
This piece of code is in cmake/config-ix.cmake in compiler-rt repo.
+ elseif("${COMPILER_RT_TEST_TARGET_ARCH}" MATCHES "aarch64")
+ test_target_arch(aarch64