search for: dynamiclibrary

Displaying 20 results from an estimated 270 matches for "dynamiclibrary".

2004 Dec 29
2
[LLVMdev] Errors when compiling DynamicLibrary.cpp for Debug build
Reid, I'm just curious to know if these errors are on your new year list :) ---------------- make[1]: Entering directory `/C/projects/build/MinGW/llvm-1-1/lib/System' llvm[1]: Compiling DynamicLibrary.cpp for Debug build In file included from c:/projects/src/llvm-1/llvm/lib/System/DynamicLibrary.cpp:25: c:/projects/src/llvm-1/llvm/lib/System/win32/DynamicLibrary.cpp:22: warning: ignoring #pragma comment c:/projects/src/llvm-1/llvm/lib/System/win32/DynamicLibrary.cpp: In static member function...
2017 Jun 04
2
LLVM compilation problem with musl
...all -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -ffunction-sections -fdata-sections -O3 -DNDEBUG -fno-exceptions -fno-rtti -MD -MT lib/Support/CMakeFiles/LLVMSupport.dir/DynamicLibrary.cpp.o -MF lib/Support/CMakeFiles/LLVMSupport.dir/DynamicLibrary.cpp.o.d -o lib/Support/CMakeFiles/LLVMSupport.dir/DynamicLibrary.cpp.o -c ../lib/Support/DynamicLibrary.cpp In file included from ../lib/Support/DynamicLibrary.cpp:111:0: ../lib/Support/Unix/DynamicLibrary.inc: In function ‘voi...
2004 Dec 29
0
[LLVMdev] Errors when compiling DynamicLibrary.cpp for Debug build
...cate the problem. Reid. On Wed, 2004-12-29 at 12:46, Henrik Bach wrote: > Reid, > > I'm just curious to know if these errors are on your new year list :) > ---------------- > make[1]: Entering directory `/C/projects/build/MinGW/llvm-1-1/lib/System' > llvm[1]: Compiling DynamicLibrary.cpp for Debug build > In file included from > c:/projects/src/llvm-1/llvm/lib/System/DynamicLibrary.cpp:25: > c:/projects/src/llvm-1/llvm/lib/System/win32/DynamicLibrary.cpp:22: warning: > ignoring #pragma comment > c:/projects/src/llvm-1/llvm/lib/System/win32/DynamicLibrary.cpp: I...
2004 Dec 30
1
[LLVMdev] Errors when compiling DynamicLibrary.cpp for Debug build
...Wed, 2004-12-29 at 12:46, Henrik Bach wrote: > > >>Reid, >> >>I'm just curious to know if these errors are on your new year list :) >>---------------- >>make[1]: Entering directory `/C/projects/build/MinGW/llvm-1-1/lib/System' >>llvm[1]: Compiling DynamicLibrary.cpp for Debug build >>In file included from >>c:/projects/src/llvm-1/llvm/lib/System/DynamicLibrary.cpp:25: >>c:/projects/src/llvm-1/llvm/lib/System/win32/DynamicLibrary.cpp:22: warning: >>ignoring #pragma comment >>c:/projects/src/llvm-1/llvm/lib/System/win32/Dynami...
2012 Aug 30
1
[LLVMdev] Problems building llvm on AIX
...unknown type name' and 'dereferencing pointer to incomplete type' errors came up. After that, I made a new build directory and followed the 'Getting Started with LLVM' instructions. That is, using configure. Running make returned the following errors: llvm-3.1/llvm/lib/Support/DynamicLibrary.cpp: In static member function 'static llvm::sys::DynamicLibrary llvm::sys::DynamicLibrary::getPermanentLibrary(const char*, std::string*)': llvm-3.1/llvm/lib/Support/DynamicLibrary.cpp:77:56: error: 'dlopen' was not declared in this scope llvm-3.1/llvm/lib/Support/DynamicLibrary.cp...
2004 Dec 24
0
[LLVMdev] A first!
The interpreter still resolves printf using a hack. It does try to use DynamicLibrary to find it, but fails. DynamicLibrary on Windows only searches the main program executable for symbols, lli.exe in this case. As the C/C++ runtime is in a DLL, it won't find printf in lli.exe. It ought to then search the runtime DLL, the name of which depends on how the binaries are buil...
2004 Dec 23
4
[LLVMdev] A first!
Misha, The "equivalent of dlsym" should be working just fine. Its called ltdl (libtool dynamic library) and is part of lib/System. Its interface is the DynamicLibrary class. The interpreter has already been modified to use this facility. So, if this is broken on windows, I'd like to know how, or why. Jeff, can you provide a test case that we can use to reproduce this problem? Looks like I'm finally going to force myself into a windows build (i.e. co...
2015 Aug 30
3
Compilation error with MinGW
...it on my side by the patch in the bottom of this email, but I >> don't know if it's the right approach in general. >> >> [1] http://comments.gmane.org/gmane.comp.compilers.clang.user/709 >> >> -- Sly. >> >> >> diff --git a/lib/Support/Windows/DynamicLibrary.inc >> b/lib/Support/Windows/DynamicLibrary.inc >> index d38f197..b4c8f1b 100644 >> --- a/lib/Support/Windows/DynamicLibrary.inc >> +++ b/lib/Support/Windows/DynamicLibrary.inc >> @@ -31,7 +31,16 @@ using namespace sys; >> //=== and must not be UNIX cod...
2015 Aug 29
2
Compilation error with MinGW
...lp.h doesn't define PENUMLOADED_MODULES_CALLBACK64 type. I fixed it on my side by the patch in the bottom of this email, but I don't know if it's the right approach in general. [1] http://comments.gmane.org/gmane.comp.compilers.clang.user/709 -- Sly. diff --git a/lib/Support/Windows/DynamicLibrary.inc b/lib/Support/Windows/DynamicLibrary.inc index d38f197..b4c8f1b 100644 --- a/lib/Support/Windows/DynamicLibrary.inc +++ b/lib/Support/Windows/DynamicLibrary.inc @@ -31,7 +31,16 @@ using namespace sys; //=== and must not be UNIX code. //===---------------------------------------------...
2011 Nov 02
3
[LLVMdev] [PATCH] LLVM 3.0 broken in lib/Support/Windows/DynamicLibrary.inc
...quot;reply-to-all", only subscribed to cfe-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20111102/5e2fe363/attachment.html> -------------- next part -------------- diff --git a/lib/Support/Windows/DynamicLibrary.inc b/lib/Support/Windows/DynamicLibrary.inc index 83da82a..dba81b4 100644 --- a/lib/Support/Windows/DynamicLibrary.inc +++ b/lib/Support/Windows/DynamicLibrary.inc @@ -43,10 +43,34 @@ static DenseSet<HMODULE> *OpenedHandles; extern "C" { - static BOOL CALLBACK ELM_Callback(WI...
2004 Dec 24
2
[LLVMdev] A first!
...use for the rest of that program. The problem is, when built with Visual Studio, libtool is not used. Therefore the LGPL exception does not apply, thereby infecting all of LLVM with the LGPL. Jeff Cohen wrote: > The interpreter still resolves printf using a hack. It does try to > use DynamicLibrary to find it, but fails. DynamicLibrary on Windows > only searches the main program executable for symbols, lli.exe in this > case. As the C/C++ runtime is in a DLL, it won't find printf in > lli.exe. It ought to then search the runtime DLL, the name of which > depends on how t...
2010 Jul 21
0
[LLVMdev] What is the scope of the DynamicLibrary?
I'm using llvm::sys::DynamicLibrary to export Symbols from my host-application to a JIT instance. Now I was wondering what the scope of this DynamicLibrary is, because I think I never attached it to the JIT or the module. Would it be possible to use the exported symbols even from a separate process (e.g. a forked off JIT), as long as...
2008 Apr 14
2
[LLVMdev] Build failure: on Linux /x86
Hi, I tried building LLVM with the downloaded sources. I am building it with gcc4.3. After getting configured successfully, and running 'make', build fails with the following message: make[1]: Entering directory `/home/guest/SRC/llvm-2.1/lib/System' llvm[1]: Compiling DynamicLibrary.cpp for Release build DynamicLibrary.cpp: In static member function âstatic void* llvm::sys::DynamicLibrary::SearchForAddressOfSymbol(const char*)â: DynamicLibrary.cpp:178: error: âstrcmpâ was not declared in this scope DynamicLibrary.cpp:179: error: âstrcmpâ was not declared in this scope DynamicL...
2009 Jan 29
2
[LLVMdev] [PATCH] Build fails on windows with VC2009
Hi everybody, I just updated to the latest svn trunk version, but now the code does not compile anymore. It trows an error in "f:\dev\llvm\lib\system\Win32/DynamicLibrary.inc(159) : error C2228: left of '.find' must have class/struct/union". Below you can find the small patch which makes the compiler happy again :-) Sincerely yours Marius Wachtler ---------------------------------------- Index: lib/System/Win32/DynamicLibrary.inc ===================...
2007 Aug 06
1
[LLVMdev] Problem compiling LLVM under Cygwin/Mingw
Hello, Alain. > I'm starting to play with LLVM today and I've trouble compiling it. > I'm > working under Windows Vista, with the gcc from Cygwin: Oh, this seems to be killer mix :) GCC (at least native mingw32 port) has known problems being running on Vista. > Is LLVM supposed to work with this version of GCC (probably using the > -mno-cygwin option to get a
2012 Oct 22
5
[LLVMdev] dyld: lazy symbol binding failed: fast lazy bind offset out of range
On Oct 22, 2012, at 11:34 AM, Jack Howarth wrote: > Nick, > I have uploaded the full walk with 'set env DYLD_PRINT_INITIALIZERS'. It didn't seem very informative > as the dyld error occurs right after... > > (gdb) > llvm::sys::DynamicLibrary::getPermanentLibrary (filename=0x142903da8 "/sw/opt/llvm-3.2/lib/LLVMPolly.so", errMsg=0x7fff5fbfe6e0) at /sw/src/fink.build/llvm32-3.2-0/llvm-3.2/lib/Support/DynamicLibrary.cpp:77 > 77 void *handle = dlopen(filename, RTLD_LAZY|RTLD_GLOBAL); > (gdb) > Reading symbols for s...
2009 Apr 08
0
[LLVMdev] DynamicLibrary.inc compile error /w vc++2005 and windows sdk 6.1
...ith vc++2008) uses PCSTR. The _MSC_VER macro guard for ELM_Callback(...) kinda kills the possibility of using VC++2005 with SDK 6.1 and without the macro guard, one will require to have SDK6.0A+ setup with vc++2005. Is there any known workaround to this issue? 1>d:\dev\llvm\lib\system\Win32/DynamicLibrary.inc(116) : error C2664: 'EnumerateLoadedModules' : cannot convert parameter 2 from 'BOOL (__stdcall *)(PSTR,llvm::ModuleBaseType,ULONG,PVOID)' to 'PENUMLOADED_MODULES_CALLBACK' I saw one old post from 2007 titled "LLVM 2.1 with VC++" in this list stating the s...
2012 Oct 10
0
[LLVMdev] DynamicLibrary::UnloadLibrary()
Hi, We need to support unloading of shared libraries. I'd like to continue using sys::DynamicLibrary. Few questions: * Is there a fundamental reason not to implement UnloadLibrary? * Would it be necessary to implement some fancy symbol use-check for unloading, or would it be fine to make this a "use at your own risk" operation? At least as a first implementation? * I would also implemen...
2012 Nov 14
0
[LLVMdev] [Patch] Clean up DynamicLibrary
...t the actual checkin will remove SearchForAddressOfSpecialSymbol.cpp; svn diff is not very helpful here...) We need the ability to determine all shared libraries loaded into a process; currently that's only available for Windows and not very explicitly. Is there interest to have this in llvm::DynamicLibrary, or shall I keep this to ourselves? Cheers, Axel. -------------- next part -------------- A non-text attachment was scrubbed... Name: llvm-dylib-reshuffle.diff Type: text/x-patch Size: 20360 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20121114/b7e70fa8/a...
2004 Dec 02
1
[LLVMdev] VC++ patches
I tried to build the latest using Visual Studio and ran into a few problems. Patches attached to fix most of them. However, there's one I can't easily fix. DynamicLibrary.cpp is messed up. lib/System/DynamicLibrary.cpp does NOT include platform/DynamicLibrary.cpp like it's supposed to, so the Windows-specific implementation is not compiled. What's there now is very Unix-centric and gives me lots of link errors. All the Unix-platform-specific implementatio...