Displaying 6 results from an estimated 6 matches for "rtld_default".
2002 Sep 13
1
[LLVMdev] Linux-x86 Compatability
ISSUE: ExternalFunctions.cpp::lookupFunction() calls dlsym(RTLD_DEFAULT,
...). In glibc, dlfcn.h does not make RTLD_DEFAULT visible unless
_GNU_SOURCE is #defined. Unlike the evil money-grubbing non-free
software pigs at sun, the FSF is trying not to pollute the C namespace. ;)
ACTION: Hack the Makefile to #define _GNU_SOURCE while compiling in
tools/lli. Yes,...
2003 Oct 25
3
[LLVMdev] version 1.0, compiling under cygwin
Hello llvmdev,
(just for fun) I've tried to compile LLVM under cygwin.
With "make -k" I got only:
-----------------
DynamicLinker.cpp: In function `void* GetAddressOfSymbol(const char*)':
DynamicLinker.cpp:40: error: `RTLD_DEFAULT' undeclared (first use this
function)
DynamicLinker.cpp:40: error: (Each undeclared identifier is reported only once
for each function it appears in.)
-----------------
well, the only value supported in cygwin's dlfcn.h are RTLD_LAZY,
RTLD_NOW and RTLD_GLOBAL.
So, just for check...
2003 Oct 25
0
[LLVMdev] version 1.0, compiling under cygwin
...untinely use this configuration, so there may be a bit
of leg work you'll have to do... :) But that said, we would love to get
LLVM working cleanly on it!
> -----------------
> DynamicLinker.cpp: In function `void* GetAddressOfSymbol(const char*)':
> DynamicLinker.cpp:40: error: `RTLD_DEFAULT' undeclared (first use this
> function)
> DynamicLinker.cpp:40: error: (Each undeclared identifier is reported only once
> for each function it appears in.)
> -----------------
>
> well, the only value supported in cygwin's dlfcn.h are RTLD_LAZY,
> RTLD_NOW and RT...
2018 Jun 28
3
Since MCJIT I can't get libm functions to work
I am upgrading our JIT application to use LLVM 6.0.0, and with this
transition I am making the move to use the new MCJIT facility.
A problem I am encountering is that the math functions from libm are not
resolved/found. I am using the lambda resolver from the KaleidoscopeJIT
class which first searches the present modules and, if that is
unsuccessful, continues the search in the whole process
2016 Jul 13
2
[LLVM/Clang v3.8.1] Missing Git branches/tags and source-tarballs?
On Wed, Jul 13, 2016 at 04:48:51PM +0200, Sedat Dilek via llvm-dev wrote:
> [ CCed all people who were involved in this thread ]
>
> Hi Tom,
>
> personally, I am interested to test the prebuilt-toolchains for
> Ubuntu/xenial alias 16.04 LTS and Debian/Jessie v8.5.0 AMD64.
> The available toolchains are incomplete and thus useless.
>
> Just as a fact: There is still no
2014 Nov 03
8
[LLVMdev] [PATCH] Protection against stack-based memory corruption errors using SafeStack
...d = 4096;
+ void *addr = unsafe_stack_alloc(size, guard);
+ unsafe_stack_setup(addr, size, guard);
+
+ // Initialize pthread interceptors for thread allocation
+ INTERCEPT_FUNCTION(pthread_create);
+
+ #define __FIND_FUNCTION(fn) \
+ __d_ ## fn = __extension__ (__typeof__(__d_ ## fn)) dlsym(RTLD_DEFAULT, #fn);
+
+ // Find pthread functions that we need
+ __FIND_FUNCTION(pthread_attr_init)
+ __FIND_FUNCTION(pthread_attr_destroy)
+ __FIND_FUNCTION(pthread_attr_getstacksize)
+ __FIND_FUNCTION(pthread_attr_getguardsize)
+ __FIND_FUNCTION(pthread_key_create)
+ __FIND_FUNCTION(pthread_setspecific...