Displaying 9 results from an estimated 9 matches for "trycompile".
Did you mean:
try_compile
2013 Aug 22
2
[LLVMdev] [RFC PATCH] X32 ABI support for Clang/compiler-rt (compiler-rt patch)
...013-08-21
11:16:55.891621025 +0000
@@ -41,7 +41,18 @@
SupportedArches += x86_64
endif
else
- SupportedArches := x86_64
+ # x86-64 arch has two ABIs 64 bit x86-64 and 32 bit x32
+ ifeq ($(lastword $(subst -gnu, ,$(CompilerTargetTriple))),x32)
+ SupportedArches := x32
+ ifeq ($(call TryCompile,$(CC),$(test_source),-m64),0)
+ SupportedArches += x86_64
+ endif
+ else
+ SupportedArches := x86_64
+ ifeq ($(call TryCompile,$(CC),$(test_source),-mx32),0)
+ SupportedArches += x32
+ endif
+ endif
ifeq ($(call TryCompile,$(CC),$(test_source),-m32),0)
SupportedArche...
2013 Aug 22
0
[LLVMdev] [RFC PATCH] X32 ABI support for Clang/compiler-rt (compiler-rt patch)
...1,7 +41,18 @@
> SupportedArches += x86_64
> endif
> else
> - SupportedArches := x86_64
> + # x86-64 arch has two ABIs 64 bit x86-64 and 32 bit x32
> + ifeq ($(lastword $(subst -gnu, ,$(CompilerTargetTriple))),x32)
> + SupportedArches := x32
> + ifeq ($(call TryCompile,$(CC),$(test_source),-m64),0)
> + SupportedArches += x86_64
> + endif
> + else
> + SupportedArches := x86_64
> + ifeq ($(call TryCompile,$(CC),$(test_source),-mx32),0)
> + SupportedArches += x32
> + endif
> + endif
> ifeq ($(call TryCompile,$(CC...
2013 Aug 22
0
[LLVMdev] [RFC PATCH] X32 ABI support for Clang/compiler-rt (Clang patch)
Clang patch for X32 support. Applies against current trunk.
--- ./tools/clang/include/clang/Driver/Options.td.orig 2013-05-16
21:51:51.286129820 +0000
+++ ./tools/clang/include/clang/Driver/Options.td 2013-05-16
21:53:24.875004239 +0000
@@ -841,6 +841,7 @@
HelpText<"Enable hexagon-qdsp6 backward compatibility">;
def m3dnowa : Flag<["-"], "m3dnowa">,
2013 Aug 22
7
[LLVMdev] [RFC PATCH] X32 ABI support for Clang/compiler-rt
Hi,
I'm working on bringing up complete coverage for a Gentoo x32 "desktop"
system. I've been cooking up quite a few patches for various packages
to push upstream, but right now, the biggest blocker is the lack of
support for building with/codegen targeting x32 in llvm/clang. Since
the x32 patches were sent last year, I see support code has landed in
LLVM, and basic handling of
2015 Feb 20
3
[LLVMdev] Building Compiler-RT on Windows
[+Saleem]
On Fri Feb 20 2015 at 10:31:04 PM Daniel Dilts <diltsman at gmail.com> wrote:
> I am using CMake 3.1.2.
>
> On Fri, Feb 20, 2015 at 10:00 AM, Alexey Samsonov <vonosmas at gmail.com>
> wrote:
>
>> It looks like your command fails early in CMake TryCompile tests. Does
>> (your version of) CMake supports using Clang on Windows at all?
>>
>> On Fri, Feb 20, 2015 at 7:02 AM, Daniel Dilts <diltsman at gmail.com> wrote:
>>
>>> Has anyone built Compiler-RT on Windows? I am attempting to compile it
>>> for AR...
2015 Feb 26
0
[LLVMdev] Building Compiler-RT on Windows
...Feb 20 2015 at 10:31:04 PM Daniel Dilts <diltsman at gmail.com> wrote:
>
>> I am using CMake 3.1.2.
>>
>> On Fri, Feb 20, 2015 at 10:00 AM, Alexey Samsonov <vonosmas at gmail.com>
>> wrote:
>>
>>> It looks like your command fails early in CMake TryCompile tests. Does
>>> (your version of) CMake supports using Clang on Windows at all?
>>>
>>> On Fri, Feb 20, 2015 at 7:02 AM, Daniel Dilts <diltsman at gmail.com>
>>> wrote:
>>>
>>>> Has anyone built Compiler-RT on Windows? I am attempting...
2015 Feb 26
1
[LLVMdev] Building Compiler-RT on Windows
...lts <diltsman at gmail.com>
>> wrote:
>>
>>> I am using CMake 3.1.2.
>>>
>>> On Fri, Feb 20, 2015 at 10:00 AM, Alexey Samsonov <vonosmas at gmail.com>
>>> wrote:
>>>
>>>> It looks like your command fails early in CMake TryCompile tests. Does
>>>> (your version of) CMake supports using Clang on Windows at all?
>>>>
>>>> On Fri, Feb 20, 2015 at 7:02 AM, Daniel Dilts <diltsman at gmail.com>
>>>> wrote:
>>>>
>>>>> Has anyone built Compiler-RT on Wi...
2015 Feb 20
2
[LLVMdev] Building Compiler-RT on Windows
...61 (message):
The C compiler "d:/llvm/build/Release/bin/clang.exe" is not able to
compile
a simple test program.
It fails with the following output:
Change Dir: D:/llvm/arm_test/compiler-rt-build/CMakeFiles/CMakeTmp
Run Build Command:"d:/llvm/ninja/ninja.exe" "cmTryCompileExec2171879632"
[1/2] Building C object
CMakeFiles\cmTryCompileExec2171879632.dir\testCCompiler.c.obj
FAILED: d:\llvm\build\Release\bin\clang.exe /nologo /D_DEBUG /MDd /Zi /Ob0
/Od /RTC1 /showIncludes
/FoCMakeFiles\cmTryCompileExec2171879632.dir\testCCompiler.c.obj
/FdCMakeFiles\cmT...
2014 Nov 03
8
[LLVMdev] [PATCH] Protection against stack-based memory corruption errors using SafeStack
...7 +83,7 @@ RuntimeLibrary.darwin.Configs := \
eprintf.a 10.4.a osx.a ios.a cc_kext.a cc_kext_ios5.a \
asan_osx_dynamic.dylib \
profile_osx.a profile_ios.a \
- ubsan_osx.a
+ ubsan_osx.a safestack_osx.a
RuntimeLibrary.macho_embedded.Configs := \
hard_static.a hard_pic.a
@@ -127,7 +127,7 @@ TryCompile = \
# We try to build 32-bit runtimes both on 32-bit hosts and 64-bit hosts.
Runtime32BitConfigs = \
builtins-i386.a profile-i386.a san-i386.a asan-i386.a asan_cxx-i386.a \
- ubsan-i386.a ubsan_cxx-i386.a
+ ubsan-i386.a ubsan_cxx-i386.a safestack-i386.a
# We currently only try to generate ru...