Displaying 5 results from an estimated 5 matches for "explicit_symbol".
2008 Jun 05
1
[LLVMdev] lli/JIT missing libgcc symbols on Mingw32/x86
...xt part --------------
Index: lib/System/Win32/DynamicLibrary.inc
===================================================================
--- lib/System/Win32/DynamicLibrary.inc (revision 51993)
+++ lib/System/Win32/DynamicLibrary.inc (working copy)
@@ -134,6 +134,21 @@
#if defined(__MINGW32__)
EXPLICIT_SYMBOL_DEF(_alloca);
EXPLICIT_SYMBOL_DEF(__main);
+ EXPLICIT_SYMBOL_DEF(__ashldi3);
+ EXPLICIT_SYMBOL_DEF(__ashrdi3);
+ EXPLICIT_SYMBOL_DEF(__cmpdi2);
+ EXPLICIT_SYMBOL_DEF(__divdi3);
+ EXPLICIT_SYMBOL_DEF(__eprintf);
+ EXPLICIT_SYMBOL_DEF(__fixdfdi);
+ EXPLICIT_SYMBOL_DEF(__fixs...
2017 Jun 04
2
LLVM compilation problem with musl
...../lib/Support/Unix/DynamicLibrary.inc:102:42: error: invalid conversion from ‘const void*’ to ‘void*’ [-fpermissive]
if (!strcmp(SymbolName, #SYM)) return &SYM
^
../lib/Support/Unix/DynamicLibrary.inc:109:5: note: in expansion of macro ‘EXPLICIT_SYMBOL’
EXPLICIT_SYMBOL(stderr);
^~~~~~~~~~~~~~~
../lib/Support/Unix/DynamicLibrary.inc:102:42: error: invalid conversion from ‘const void*’ to ‘void*’ [-fpermissive]
if (!strcmp(SymbolName, #SYM)) return &SYM
^
../lib/Sup...
2011 May 13
0
[LLVMdev] Difficulty compiling LLVM-based tools with clang
...trying to build
rust with clang after having built llvm with gcc.
The problem comes from SearchForAddressOfSpecialSymbol.cpp:
// FIXME: Currently disabled when using Clang, as we don't always
have our
// runtime support libraries available.
#ifndef __clang__
#ifdef __i386__
EXPLICIT_SYMBOL(__eprintf);
#endif
#endif
Now, exactly what runtime library is not available is something that
someone more familiar with OS X will have to answer :-)
> --
> -- Talin
Cheers,
Rafael
2011 May 13
1
[LLVMdev] Difficulty compiling LLVM-based tools with clang
...el Ávila de Espíndola wrote:
> The problem comes from SearchForAddressOfSpecialSymbol.cpp:
>
> // FIXME: Currently disabled when using Clang, as we don't always
> have our
> // runtime support libraries available.
> #ifndef __clang__
> #ifdef __i386__
> EXPLICIT_SYMBOL(__eprintf);
> #endif
> #endif
>
> Now, exactly what runtime library is not available is something that
> someone more familiar with OS X will have to answer :-)
The runtime support library the comment talks about is none other than
compiler-rt. (Specifically, libclang_rt.eprintf.a....
2011 May 13
2
[LLVMdev] Difficulty compiling LLVM-based tools with clang
I recently modified my compiler's build files to use clang if it detects its
available, however I'm running into a number of problems with this. I'm
having one set of problems on OS X, and a different set of problems under
Ubuntu.
In both cases I'm attempting to link my frontend - compiled with clang -
against the LLVM libraries - compiled with gcc. (I thought about compiling
LLVM