Displaying 20 results from an estimated 26 matches for "getpermanentlibrary".
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 shared libraries ... d...
2012 Oct 23
1
[LLVMdev] dyld: lazy symbol binding failed: fast lazy bind offset out of range
...012, 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 shared...
2012 Oct 22
2
[LLVMdev] dyld: lazy symbol binding failed: fast lazy bind offset out of range
...RKNS_11LinkContextERNS_21InitializerTimingListE ()
> > #9 0x00007fff5fc031b9 in __dyld__ZN4dyld15runInitializersEP11ImageLoader ()
> > #10 0x00007fff5fc09657 in __dyld_dlopen ()
> > #11 0x00007fff90af795b in dlopen ()
> > #12 0x0000000142f3888e in llvm::sys::DynamicLibrary::getPermanentLibrary ()
> > #13 0x0000000142f256bd in llvm::PluginLoader::operator= ()
> > #14 0x000000014280fbda in llvm::cl::opt<llvm::PluginLoader, false, llvm::cl::parser<std::string> >::handleOccurrence ()
> > #15 0x0000000142f1730c in CommaSeparateAndAddOccurence ()
> > #16 0x0...
2012 Oct 22
0
[LLVMdev] dyld: lazy symbol binding failed: fast lazy bind offset out of range
...gt; Thanks in advance.
> Jack
>
Nick,
I have attached a gdb walk log (LLVMPolly_load_walk.log) to http://llvm.org/bugs/show_bug.cgi?id=14140 which
steps from llvm-3.2/lib/Support/CommandLine.cpp, line 259. The tail end of the log is as follows...
(gdb)
llvm::sys::DynamicLibrary::getPermanentLibrary (filename=0x144002188 "/sw/opt/llvm-3.2/lib/LLVMPolly.so", errMsg=0x7fff5fbfe700) 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 shared libraries ... done
dyld: lazy...
2012 Oct 23
0
[LLVMdev] dyld: lazy symbol binding failed: fast lazy bind offset out of range
...k 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 fo...
2012 Oct 10
0
[LLVMdev] DynamicLibrary::UnloadLibrary()
...er function, a non-permanent one,
and only allow unloading of those. Use checking could then happen only
for the non-permanent ones (later); e.g. by tracking
SearchForAddressOfSymbol() and requiring a symmetrical ReleaseSymbol().
* The doc for LoadLibraryPermanently() says "Use this instead of
getPermanentLibrary() when..." but then just calls getPermanentLibrary()
nonetheless. That's a doc bug, right?
Cheers, Axel.
2012 Oct 21
2
[LLVMdev] dyld: lazy symbol binding failed: fast lazy bind offset out of range
..._dyld__ZN11ImageLoader15runInitializersERKNS_11LinkContextERNS_21InitializerTimingListE ()
#9 0x00007fff5fc031b9 in __dyld__ZN4dyld15runInitializersEP11ImageLoader ()
#10 0x00007fff5fc09657 in __dyld_dlopen ()
#11 0x00007fff90af795b in dlopen ()
#12 0x0000000142f3888e in llvm::sys::DynamicLibrary::getPermanentLibrary ()
#13 0x0000000142f256bd in llvm::PluginLoader::operator= ()
#14 0x000000014280fbda in llvm::cl::opt<llvm::PluginLoader, false, llvm::cl::parser<std::string> >::handleOccurrence ()
#15 0x0000000142f1730c in CommaSeparateAndAddOccurence ()
#16 0x0000000142f1395f in ProvideOption ()
#17...
2012 Oct 22
0
[LLVMdev] dyld: lazy symbol binding failed: fast lazy bind offset out of range
...runtime. Was LLVMPolly.so build with -flat_namespace or -undefined dynamic_lookup?
>
> -Nick
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 shared libraries ... done
dyld: calli...
2012 Oct 13
2
[LLVMdev] Dynamically loading native code generated from LLVM IR
...nt JIT) and immediately load it to execute. So far, I've the following:
>
> 1) I can emit the IR to native assembly/object file doing the same thing llc does (using TargetMachine::addPassesToEmitFile).
> 2) I can dynamically load a precompiled .so file (using llvm::sys::DynamicLibrary::getPermanentLibrary), get a function pointer from that file, and execute.
>
> I can't dynamically load the .o file I produce in step 1 because it's a static library. If I could produce a .so file in step 1, my problem would be solved. llc has a "-relocation-model=pic" option, but the file produ...
2012 Oct 12
5
[LLVMdev] Dynamically loading native code generated from LLVM IR
...I don't want JIT) and immediately load it to execute. So far, I've the following:
1) I can emit the IR to native assembly/object file doing the same thing llc does (using TargetMachine::addPassesToEmitFile).
2) I can dynamically load a precompiled .so file (using llvm::sys::DynamicLibrary::getPermanentLibrary), get a function pointer from that file, and execute.
I can't dynamically load the .o file I produce in step 1 because it's a static library. If I could produce a .so file in step 1, my problem would be solved. llc has a "-relocation-model=pic" option, but the file produced with...
2012 Oct 13
0
[LLVMdev] Dynamically loading native code generated from LLVM IR
...I don't want JIT) and immediately load it to execute. So far, I've the following:
1) I can emit the IR to native assembly/object file doing the same thing llc does (using TargetMachine::addPassesToEmitFile).
2) I can dynamically load a precompiled .so file (using llvm::sys::DynamicLibrary::getPermanentLibrary), get a function pointer from that file, and execute.
I can't dynamically load the .o file I produce in step 1 because it's a static library. If I could produce a .so file in step 1, my problem would be solved. llc has a "-relocation-model=pic" option, but the file produced with...
2012 Oct 13
2
[LLVMdev] Dynamically loading native code generated from LLVM IR
...load it to execute. So far, I've the following:
>>>
>>> 1) I can emit the IR to native assembly/object file doing the same thing llc does (using TargetMachine::addPassesToEmitFile).
>>> 2) I can dynamically load a precompiled .so file (using llvm::sys::DynamicLibrary::getPermanentLibrary), get a function pointer from that file, and execute.
>>>
>>> I can't dynamically load the .o file I produce in step 1 because it's a static library. If I could produce a .so file in step 1, my problem would be solved. llc has a "-relocation-model=pic" option, bu...
2012 Oct 22
0
[LLVMdev] dyld: lazy symbol binding failed: fast lazy bind offset out of range
...er15runInitializersERKNS_11LinkContextERNS_21InitializerTimingListE ()
> #9 0x00007fff5fc031b9 in __dyld__ZN4dyld15runInitializersEP11ImageLoader ()
> #10 0x00007fff5fc09657 in __dyld_dlopen ()
> #11 0x00007fff90af795b in dlopen ()
> #12 0x0000000142f3888e in llvm::sys::DynamicLibrary::getPermanentLibrary ()
> #13 0x0000000142f256bd in llvm::PluginLoader::operator= ()
> #14 0x000000014280fbda in llvm::cl::opt<llvm::PluginLoader, false, llvm::cl::parser<std::string> >::handleOccurrence ()
> #15 0x0000000142f1730c in CommaSeparateAndAddOccurence ()
> #16 0x0000000142f1395f in P...
2012 Oct 13
0
[LLVMdev] Dynamically loading native code generated from LLVM IR
...mmediately load it to execute. So far, I've the following:
>>
>> 1) I can emit the IR to native assembly/object file doing the same thing llc does (using TargetMachine::addPassesToEmitFile).
>> 2) I can dynamically load a precompiled .so file (using llvm::sys::DynamicLibrary::getPermanentLibrary), get a function pointer from that file, and execute.
>>
>> I can't dynamically load the .o file I produce in step 1 because it's a static library. If I could produce a .so file in step 1, my problem would be solved. llc has a "-relocation-model=pic" option, but the f...
2012 Oct 23
0
[LLVMdev] dyld: lazy symbol binding failed: fast lazy bind offset out of range
...gt; Nick,
>> I have attached a gdb walk log (LLVMPolly_load_walk.log) to http://llvm.org/bugs/show_bug.cgi?id=14140 which
>> steps from llvm-3.2/lib/Support/CommandLine.cpp, line 259. The tail end of the log is as follows...
>>
>> (gdb)
>> llvm::sys::DynamicLibrary::getPermanentLibrary (filename=0x144002188 "/sw/opt/llvm-3.2/lib/LLVMPolly.so", errMsg=0x7fff5fbfe700) 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 shared lib...
2012 Oct 23
2
[LLVMdev] dyld: lazy symbol binding failed: fast lazy bind offset out of range
...; >>> 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)
> >>> Rea...
2012 Oct 22
5
[LLVMdev] dyld: lazy symbol binding failed: fast lazy bind offset out of range
...k
>>
>
> Nick,
> I have attached a gdb walk log (LLVMPolly_load_walk.log) to http://llvm.org/bugs/show_bug.cgi?id=14140 which
> steps from llvm-3.2/lib/Support/CommandLine.cpp, line 259. The tail end of the log is as follows...
>
> (gdb)
> llvm::sys::DynamicLibrary::getPermanentLibrary (filename=0x144002188 "/sw/opt/llvm-3.2/lib/LLVMPolly.so", errMsg=0x7fff5fbfe700) 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 shared libraries ......
2012 Oct 13
0
[LLVMdev] Dynamically loading native code generated from LLVM IR
...wing:
>>>>
>>>> 1) I can emit the IR to native assembly/object file doing the same thing
>>>> llc does (using TargetMachine::addPassesToEmitFile).
>>>> 2) I can dynamically load a precompiled .so file (using
>>>> llvm::sys::DynamicLibrary::getPermanentLibrary), get a function pointer from
>>>> that file, and execute.
>>>>
>>>> I can't dynamically load the .o file I produce in step 1 because it's a
>>>> static library. If I could produce a .so file in step 1, my problem would be
>>>> sol...
2012 Aug 30
1
[LLVMdev] Problems building llvm on AIX
...de 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.cpp:79:35: error: 'dlerror' was not declared in this scope
llvm-3.1/llvm/lib/Support/DynamicLibrary.cpp:96:19:...
2012 Oct 12
1
[LLVMdev] Dynamically loading native code generated from LLVM IR
Tim Northover wrote:
> Hi Baris,
>
>> If I could produce a .so file in step 1, my problem would be solved. llc has a "-relocation-model=pic" option, but the file produced with that did not dynamically load.
> That relocation-model=pic option usually necessary for a linker to be
> able to produce a .so file (it changes how variables are addressed so
> that more things