Displaying 20 results from an estimated 80000 matches similar to: "[LLVMdev] compiler-rt 'make install' only installs the BlocksRuntime files"
2011 Jan 07
1
[LLVMdev] [PATCH] compiler-rt patch for clean build on Solaris 10 / x86
Hi,
Attached is small patch (based of r122998 of compiler-rt), required for clean builds on Solaris 10 / x86 using clang 2.8.
Please consider it for inclusion.
Cheers,
Joakim
-------------- next part --------------
A non-text attachment was scrubbed...
Name: solaris_stdint.patch
Type: application/octet-stream
Size: 457 bytes
Desc: not available
URL:
2009 Sep 18
1
[LLVMdev] [PATCH] BlocksRuntime updates for Linux
The attached diff cleans up the BlocksRuntime/ directory of compiler-
rt for better portability, eliminates compiler warnings, and adds
support to the cmake build to install the results.
More specifically, the changes:
1) Remove cmake-specific #define usage from the exported Block.h/
Block_private.h headers, since clients won't know what to set. These
are moved into runtime.c as
2009 Sep 23
0
[LLVMdev] [llvm-commits] [PATCH] BlocksRuntime updates for Linux
Sounds like your system compiler doesn't support gcc-style builtin
atomics. Please use a different compiler?
Shantonu
Sent from my MacBook
On Sep 22, 2009, at 7:54 PM, Edward O'Callaghan wrote:
> Breaks Builds on Solaris and AuroraUX with:
>
> bash-3.2$ make
> Scanning dependencies of target BlocksRuntime
> [ 1%] Building C object
2009 Sep 23
2
[LLVMdev] [llvm-commits] [PATCH] BlocksRuntime updates for Linux
Breaks Builds on Solaris and AuroraUX with:
bash-3.2$ make
Scanning dependencies of target BlocksRuntime
[ 1%] Building C object BlocksRuntime/CMakeFiles/BlocksRuntime.dir/runtime.c.o
/export/home/edward/lab/llvm/build/compiler-rt/BlocksRuntime/runtime.c:77:2:
error: #error unknown atomic compare-and-swap primitive
/export/home/edward/lab/llvm/build/compiler-rt/BlocksRuntime/runtime.c:
In
2009 Sep 23
0
[LLVMdev] [llvm-commits] [PATCH] BlocksRuntime updates for Linux
There's an Apple internal bug for that. I've cloned it to Bugzilla as:
<http://llvm.org/bugs/show_bug.cgi?id=5034> Implement
__builtin_eh_return_data_regno()
I can probably make the cmake configure stage fail up front if none of
the supported mechanisms are found. I'll look at that. Thanks for the
feedback!
Shantonu
Sent from my MacBook
On Sep 22, 2009, at 9:01 PM,
2009 Sep 23
0
[LLVMdev] [llvm-commits] [PATCH] BlocksRuntime updates for Linux
Seems pretty clear cut to me.
#if defined(HAVE_OSATOMIC_COMPARE_AND_SWAP_INT) && defined
(HAVE_OSATOMIC_COMPARE_AND_SWAP_LONG)
...
#elif defined(__WIN32__)
...
#elif defined(HAVE_SYNC_BOOL_COMPARE_AND_SWAP_INT) && defined
(HAVE_SYNC_BOOL_COMPARE_AND_SWAP_LONG)
...
#else
#error unknown atomic compare-and-swap primitive
#endif
The problem isn't mismatched #if/#endif. The
2009 Sep 23
2
[LLVMdev] [llvm-commits] [PATCH] BlocksRuntime updates for Linux
No, As it worked fine before.
I can't see the #if that goes with +#elif defined(__WIN32__) as you
removed -#if TARGET_OS_MAC.
Please go over your #if / #endif blocks and trail the #endif with a
comment. I am willing to bet there is a problem there.
Thanks for your time,
Edward.
2009/9/23 Shantonu Sen <ssen at apple.com>:
> Sounds like your system compiler doesn't support
2009 Sep 23
2
[LLVMdev] [llvm-commits] [PATCH] BlocksRuntime updates for Linux
Clang does indeed built it with one warning.
[ 55%] Building C object
lib/CMakeFiles/CompilerRT-Common.dir/gcc_personality_v0.c.o
/export/home/edward/lab/llvm/build/compiler-rt/lib/gcc_personality_v0.c:232:36:
warning: implicit declaration of function
'__builtin_eh_return_data_regno' is invalid in C99
[-Wimplicit-function-declaration]
_Unwind_SetGR(context,
2009 Sep 12
0
[LLVMdev] [PATCH] Linux support for compiler-rt's BlocksRuntime
I've reattached the patch to runtime.c, this time as output from svn
instead of git. As the original git commit noted, it does the
following:
define OSAtomicCompareAndSwap(Long|Int) for non-Mac/Win32 systems
if neither TARGET_OS_MAC or TARGET_OS_WINDOWS are defined, check to
see if GCC atomic built-ins are available (and use them if they are).
yours,
Bobby
On Sat, Sep 12, 2009 at 3:24 AM,
2009 Sep 12
2
[LLVMdev] [PATCH] Linux support for compiler-rt's BlocksRuntime
Hi Folks,
The attached patches gets the Blocks runtime built and installed on my
Linux system. Let me know if the patches are okay as is, or what I
need to do to get them merged into compiler-rt. Thanks!
yours,
Bobby Powers
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-define-OSAtomicCompareAndSwap-Long-Int-for-non-Mac-W.patch
Type: text/x-patch
Size:
2014 Jul 10
3
[LLVMdev] [compiler-rt] CMake bug in building ARM builtins library
On Tue, Jul 8, 2014 at 2:44 PM, sgundapa <sgundapa at codeaurora.org> wrote:
> No. CMake has different way of treating the .S files
> Refer to http://www.cmake.org/Wiki/CMake/Assembler
>
> I have a patch which will make CMake treat the .S files as source files.
>
Let me guess, you should just call set_source_file_properties(<arm .S
files> PROPERTIES LANGUAGE C)?
>
2014 Feb 11
7
[LLVMdev] Heads-up: changing the structure of compiler-rt source tree
Hi all,
compiler-rt is now not only a libgcc replacement for different platforms,
there are sanitizer and profile runtimes as well. I plan to move the files
as follows during this week:
1. libraries:
a) all libgcc replacement stuff moves from "/lib" to "/lib/core" (the name
sucks, please suggest alternatives). Same for platform-specific code:
2014 Jul 08
2
[LLVMdev] [compiler-rt] CMake bug in building ARM builtins library
On 8 July 2014 19:47, Alexey Samsonov <vonosmas at gmail.com> wrote:
> compiler-rt/lib/builtins/arm/*.S files are listed in arm_SOURCES variable,
> and therefore should make it into the builtins static library on ARM. Don't
> they?
I assume so... But I'm not an expert in CMake.
2014 Feb 12
2
[LLVMdev] Heads-up: changing the structure of compiler-rt source tree
On Wed, Feb 12, 2014 at 4:56 PM, David Chisnall <David.Chisnall at cl.cam.ac.uk
> wrote:
> Are you going to move the unwind library there as part of the
> reorganisation?
>
No.
>
> David
>
> On 11 Feb 2014, at 09:59, Alexey Samsonov <samsonov at google.com> wrote:
>
> > Hi all,
> >
> > compiler-rt is now not only a libgcc replacement for
2014 Feb 12
2
[LLVMdev] Heads-up: changing the structure of compiler-rt source tree
I would still urge folks to consider keeping distinct functionality in separate places.
Agreed, it makes more sense for the [language agnostic] unwinder to be in compiler-rt than libcxxabi -- but IMO it makes even more sense for it to be distinct.
The bundling of the unwinder with libgcc_s gave us (i.e. 3rd party folks, outside the vendor's organisation) nothing but headaches. Much
2009 Sep 23
2
[LLVMdev] Status of blocks runtime in compiler-rt?
On Sep 21, 2009, at 6:21 PM, Shantonu Sen wrote:
> I've committed my changes to hook up the BlocksRuntime/ subdirectory
> of compiler-rt, using CMake.
>
> The cmake build process is documented at <http://llvm.org/docs/CMake.html
> >
Whoops, looks like the presence of a CMakeFiles directory in the
SRCROOT was screwing things up, even when I was in a build
2009 Oct 19
1
[LLVMdev] compiler-rt install target
I've added a compiler-rt port to the FreeBSD ports collection and one
thing I noticed is that the install target installs the blocks runtime,
but doesn't install libCompilerRT-Common.a or any non-blocks header
files. Is this intentional?
-- Brooks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187
2009 Sep 22
0
[LLVMdev] Status of blocks runtime in compiler-rt?
Hi Jordan,
I've committed my changes to hook up the BlocksRuntime/ subdirectory
of compiler-rt, using CMake.
The cmake build process is documented at <http://llvm.org/docs/CMake.html
>
More specifically, to use this support on FreeBSD, for example, you
would do:
1) Install cmake (<http://www.cmake.org/>), add it to your PATH
2) Check out the source code for llvm and clang
2014 Mar 06
1
[LLVMdev] [cfe-dev] Install Problem of Compiler-rt with Visual Studio Express 2013 for Windows Desktop
Hi,
The actual location is in
C:/llvm/build/Release/lib/clang/3.5.0/lib/windows/Release/clang_rt.asan-i386.lib
which just replaces $(Configuration) as Release.
Thanks
On Wed, Mar 5, 2014 at 11:56 PM, Alexey Samsonov <samsonov at google.com>wrote:
> +Brad
> Brad, do you think we should fix add_compiler_rt_static_runtime for
> multi-configuration generators
> in the same way
2009 Sep 16
3
[LLVMdev] Status of blocks runtime in compiler-rt?
The Blocks language and implementation specifications are checked into
clang/docs.
More generally, on Mac OS X, the blocks runtime is linked into the C
library ("libSystem"), and available to the entire OS. Clients that
create blocks may implicitly get compiler-generated calls to some of
the runtime functions, and the developer may also make explicit calls
to, e.g.,