[LLVMdev] Another Ubuntu problem:

Basile STARYNKEVITCH basile at starynkevitch.net
Sat Mar 14 00:24:33 PDT 2009


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} ***




More information about the llvm-dev mailing list