Re: PG vs LLVM 12 on seawasp, next round - Mailing list pgsql-hackers

From Thomas Munro
Subject Re: PG vs LLVM 12 on seawasp, next round
Date
Msg-id CA+hUKGKR9r1xcp27Jyn7WSORnZptzAaQViow0eHhz6iEHAa+PA@mail.gmail.com
Whole thread Raw
In response to Re: PG vs LLVM 12 on seawasp, next round  (Fabien COELHO <coelho@cri.ensmp.fr>)
Responses Re: PG vs LLVM 12 on seawasp, next round
List pgsql-hackers
On Sat, Dec 12, 2020 at 8:45 AM Fabien COELHO <coelho@cri.ensmp.fr> wrote:
> > +ERROR:  could not load library
"/home/fabien/pg/build-farm-11/buildroot/HEAD/pgsql.build/tmp_install/home/fabien/pg/build-farm-11/buildroot/HEAD/inst/lib/postgresql/llvmjit.so":
libLLVMOrcJIT.so.12git:cannot open shared object file: No such file or directory 

Bonjour Fabien,

Here is the creation of llvmjit.so:

g++ ... -o llvmjit.so ... -L/home/fabien/clgtk/lib ... -lLLVMOrcJIT ...

That'd be from llvm-config --ldflags or similar, from this binary:

checking for llvm-config... (cached) /home/fabien/clgtk/bin/llvm-config

So what does ls -slap /home/fabien/clgtk/lib show?  What does ldd

/home/fabien/pg/build-farm-11/buildroot/HEAD/pgsql.build/tmp_install/home/fabien/pg/build-farm-11/buildroot/HEAD/inst/lib/postgresql/llvmjit.so
show?  What do you have in seawap's LD_LIBRARY_PATH, and is the
problem that you need to add /home/fabien/clgtk/lib to it (or is it
supposed to be making it into the rpath, or is it in your ld.so.conf)?

PS Could you try blowing away the accache directory so we can rule out
bad cached configure stuff?



pgsql-hackers by date:

Previous
From: Thomas Munro
Date:
Subject: Re: GCC warning in back branches
Next
From: Fujii Masao
Date:
Subject: Re: adding wait_start column to pg_locks