Thanks for the help with stack smashing. Now my Ubuntu-user has another problem that I cannot reproduce from Debian: my HLVM JIT compiler links to C code and calls it both from the compiler and from the run-time generated code. That works perfectly here but on his Ubuntu box it compiles fine and the compiler calls the C code fine but the LLVM-generated code barfs with: *ERROR: Program used external function 'hlvm_alloc' which could not be resolved! I do not understand how that is possible. Any ideas!? -- Dr Jon Harrop, Flying Frog Consultancy Ltd. http://www.ffconsultancy.com/?e
Jon Harrop wrote:> Thanks for the help with stack smashing. > > Now my Ubuntu-user has another problem that I cannot reproduce from Debian: my > HLVM JIT compiler links to C code and calls it both from the compiler and > from the run-time generated code. That works perfectly here but on his Ubuntu > box it compiles fine and the compiler calls the C code fine but the > LLVM-generated code barfs with: > > *ERROR: Program used external function 'hlvm_alloc' which could not be > resolved!Maybe having your user run ldconfig as superuser and then ldd your-program-executable could help to identify the problem -- Basile STARYNKEVITCH http://starynkevitch.net/Basile/ email: basile<at>starynkevitch<dot>net mobile: +33 6 8501 2359 8, rue de la Faiencerie, 92340 Bourg La Reine, France *** opinions {are only mines, sont seulement les miennes} ***
Reasonably Related Threads
- [LLVMdev] open source multithreaded garbage collector suitable for LLVM applications?
- [LLVMdev] Q: missing -fPIC in llvmc?
- [LLVMdev] generating a shared object from a single *.ll (LLVM) source?
- [LLVMdev] Q: missing -fPIC in llvmc?
- [LLVMdev] open source multithreaded garbage collector suitable for LLVM applications?