Re: PG vs LLVM 12 on seawasp, next round

Поиск
Список
Период
Сортировка
От Thomas Munro
Тема Re: PG vs LLVM 12 on seawasp, next round
Дата
Msg-id CA+hUKGKR9r1xcp27Jyn7WSORnZptzAaQViow0eHhz6iEHAa+PA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: PG vs LLVM 12 on seawasp, next round  (Fabien COELHO <coelho@cri.ensmp.fr>)
Ответы Re: PG vs LLVM 12 on seawasp, next round
Список 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 по дате отправления:

Предыдущее
От: Thomas Munro
Дата:
Сообщение: Re: GCC warning in back branches
Следующее
От: Fujii Masao
Дата:
Сообщение: Re: adding wait_start column to pg_locks