Displaying 20 results from an estimated 20000 matches similar to: "[LLVMdev] RFC: How should Clang/LLVM runtime libraries be installed and found during link steps?"
2011 Nov 28
0
[LLVMdev] RFC: How should Clang/LLVM runtime libraries be installed and found during link steps?
Hey Chandler,
We already have a certain precedent for how we do this on Darwin. The
current library set is:
--
$ find lib/clang/3.1/lib
lib/clang/3.1/lib
lib/clang/3.1/lib/darwin
lib/clang/3.1/lib/darwin/libclang_rt.10.4.a
lib/clang/3.1/lib/darwin/libclang_rt.cc_kext.a
lib/clang/3.1/lib/darwin/libclang_rt.eprintf.a
lib/clang/3.1/lib/darwin/libclang_rt.ios.a
2011 Nov 29
1
[LLVMdev] RFC: How should Clang/LLVM runtime libraries be installed and found during link steps?
So, is there an agreement now?
In particular, is it fine to have the asan run-time for linux x86/x86_64 at
lib/clang/linux/TC.getArchName())/libclang_rt.asan.a ?
Thanks,
--kcc
On Mon, Nov 28, 2011 at 12:53 PM, Daniel Dunbar <daniel at zuster.org> wrote:
> Hey Chandler,
>
> We already have a certain precedent for how we do this on Darwin. The
> current library set is:
> --
2011 Nov 23
2
[LLVMdev] [cfe-dev] RFC: How should Clang/LLVM runtime libraries be installed and found during link steps?
2011/11/23 Chandler Carruth <chandlerc at google.com>
> It has come up when reviewing Kostya's patch to add the necessary support
> fort linking in the Address Sanitizer runtime library that we need a proper
> scheme and plan for deploying runtime libraries along with Clang.
>
> I've CC'ed llvmdev on this for compiler-rt developers' input.
>
> The key
2013 Jul 24
6
[LLVMdev] Transitioning build to cmake
I recently took a stab at changing the MacPorts llvm-3.4 port from the configure-based build system to the cmake-based build system.
There are a couple of issues that I still haven't been able to work out yet and would like to know if these are just configuration issues on my side or bugs I should file at bugs.llvm.org:
1) libclang_rt
It looks like the cmake build is missing some runtime
2013 Jul 24
0
[LLVMdev] Transitioning build to cmake
On Jul 24, 2013, at 11:11 AM, Jeremy Huddleston Sequoia wrote:
> I recently took a stab at changing the MacPorts llvm-3.4 port from the configure-based build system to the cmake-based build system.
>
> There are a couple of issues that I still haven't been able to work out yet and would like to know if these are just configuration issues on my side or bugs I should file at
2017 Dec 19
2
RFC: Default path for cross-compiled runtimes
On Tue, Dec 19, 2017 at 8:33 AM Jonathan Roelofs <jonathan at codesourcery.com>
wrote:
> On 12/19/17 9:15 AM, Petr Hosek via llvm-dev wrote:
> > Today, there're two different locations for runtimes files within
> > Clang's installation:
> >
> > compiler-rt:
> > headers: $prefix/lib/clang/$version/include(/sanitizer)
> > libraries:
>
2018 Dec 07
2
using emulated-tls on Darwin 8, 9, 10
Please excuse hobbiest-level question.
Darwin 11+ enables thread_local variables using system-level supports.
I have an interest in enabling TLS on darwin < 11 using emulated-tls. This can be enabled with a few modest patches:
==========================
--- a/include/llvm/ADT/Triple.h.orig 2018-10-02 17:38:10.000000000 -0700
+++ b/include/llvm/ADT/Triple.h 2018-10-02 17:38:58.000000000
2017 Dec 19
3
RFC: Default path for cross-compiled runtimes
Today, there're two different locations for runtimes files within Clang's
installation:
compiler-rt:
headers: $prefix/lib/clang/$version/include(/sanitizer)
libraries: $prefix/lib/clang/$version/lib/$os/libclang_rt.$name-$arch.$ext
libc++, libc++abi, libunwind:
headers: $prefix/include/c++/v1
libraries: $prefix/lib/$name.$ext
The scheme used by libc++, libc++abi, libunwind
2018 Dec 08
2
using emulated-tls on Darwin 8, 9, 10
On 2018-12-08 19:10, Ken Cunningham via llvm-dev wrote:
> So putting it into libc++abi.dylib might indeed be the only workable method, assuming each executable would get it's own copy in memory and they wouldn't all collide together.
Can ibc++abi link with libclang_rt to resolve the symbol?
--
/Jacob Carlborg
2013 Nov 20
2
[LLVMdev] Can't compile compiler-rt, asan error
Compiler-rt is broken for me. I'm compiling with top of trunk llvm, clang and compiler-rt using automake on Darwin.
Is anyone else seeing this error?
llvm[4]: Copying runtime library darwin/asan_iossim_dynamic to build dir
llvm[4]: Copying runtime library darwin/ubsan_osx to build dir
cp:
2013 Dec 11
1
[LLVMdev] [PATCH] Select correct embedded libclang_rt on Darwin
> When you decide to work on MachO/Darwin, I want to discuss the problems with ELF vs. EABI (http://llvm.org/PR18187).
Well, I'm doing it now to some extent (working on disentangling the
ARM backend's various uses of isTargetIOS, isTargetDarwin, isMoonFull
as a starting-point).
The thing is, the main advantage of Triples is that they're largely
GCC-compatible. Without that
2019 Mar 25
3
Trying to create a pure LLVM toolchain on musl based distribution
Hello,
I'm trying to create a pure LLVM toolchain (that will not depend on GNU
and produce GNU-free code too) on a musl based distribution.
For now, I use gcc to bootstrap and build all LLVM components. I do it
individually because I was running out of space and memory trying to
build all using LLVM_ENABLE_PROJECTS. Also, I don't want to create a
all-in-one package. Then, once
2018 Dec 08
2
using emulated-tls on Darwin 8, 9, 10
> On 2018-12-07 22:30, Ken Cunningham via llvm-dev wrote:
>> Please excuse hobbiest-level question.
>> Darwin 11+ enables thread_local variables using system-level supports.
>> I have an interest in enabling TLS on darwin < 11 using emulated-tls.
>
> Is anyone still running macOS 10.6 or older?
>
> --
> /Jacob Carlborg
>
[off topic, apologies]
Yes,
2013 Nov 20
2
[LLVMdev] Can't compile compiler-rt, asan error
"If the answer is no", of course.
On Nov 20, 2013 8:02 AM, "Alexander Potapenko" <glider at google.com> wrote:
> Do you have the iossim sdk installed on your machine (check by 'xcrun
> --show-sdk-path --sdk iphonesimulator')?
> If the answer is yes and you're testing on ToT, that's a bug. I'll take a
> look.
> On Nov 20, 2013 5:05 AM,
2017 Jan 05
2
LLVM not building this morning (for me) on Mac OS X
Here's the error:
[ 58%] Building CXX object
projects/compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.iossim.dir/sanitizer_procmaps_mac.cc.o
[ 58%] Building CXX object
projects/compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.ios.dir/sanitizer_libc.cc.o
[ 58%] Linking CXX shared library
2013 Nov 20
0
[LLVMdev] Can't compile compiler-rt, asan error
Do you have the iossim sdk installed on your machine (check by 'xcrun
--show-sdk-path --sdk iphonesimulator')?
If the answer is yes and you're testing on ToT, that's a bug. I'll take a
look.
On Nov 20, 2013 5:05 AM, "Yuchen Wu" <yuchenericwu at hotmail.com> wrote:
> Compiler-rt is broken for me. I'm compiling with top of trunk llvm, clang
> and
2012 Sep 06
1
[LLVMdev] Cross-compiling llvm/clang osx -> win32
Hi,
I'm trying to compile llvm/clang so that: it is compiled on osx 10.6, it runs on osx, but it outputs win32 objects.
More exactly, I'm building an app which generates a .c file that doesn't include or link with anything, and I'd like to be able to make a win32 .dll of it on osx.
Below is what I'm getting. Full log is here:
http://pastebin.com/KsPGvAfW
It fails while
2012 Aug 17
3
[LLVMdev] RFC: MCJIT enhancements
On Aug 17, 2012, at 2:50 AM, Paweł Bylica <pawel.bylica at ibs.org.pl> wrote:
> On Fri, Aug 17, 2012 at 12:16 AM, Kaylor, Andrew <andrew.kaylor at intel.com> wrote:
> Hi Paweł,
>
>
>
> Thanks for continuing this discussion.
>
>
>
> I like the simplicity of your suggestion. My only concern involves the ambiguity of what is meant by “environment”.
2014 Jun 24
4
[LLVMdev] [cfe-dev] [PATCH] triples for baremetal
On 6/23/14, 8:31 AM, David Chisnall wrote:
> On 23 Jun 2014, at 15:13, Renato Golin <renato.golin at linaro.org> wrote:
>
>> The main issue with your patch is that it can change user expected
>> behaviour, and I can't tell you what is the expected behaviour in
>> Darwin or BSD. If people usually use "unknown" in triples, this will
>> break their
2013 Nov 20
0
[LLVMdev] Can't compile compiler-rt, asan error
It looks like it:
[/Volumes/Files/yuchen_wu/dev/llvm/build]$ xcrun --show-sdk-path --sdk iphonesimulator
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0.sdk
________________________________
> Date: Wed, 20 Nov 2013 08:03:21 +0400
> Subject: Re: [LLVMdev] Can't compile compiler-rt, asan error
> From: glider at