Re: PostgreSQL 11 beta1 : regressions failed on OpenBSD with JIT - Mailing list pgsql-hackers

From Pierre-Emmanuel André
Subject Re: PostgreSQL 11 beta1 : regressions failed on OpenBSD with JIT
Date
Msg-id 20180525123751.zkow75jqtii2xxk4@digipea.digitick.local
Whole thread Raw
In response to Re: PostgreSQL 11 beta1 : regressions failed on OpenBSD with JIT  (Andres Freund <andres@anarazel.de>)
Responses Re: PostgreSQL 11 beta1 : regressions failed on OpenBSD with JIT  (Pierre-Emmanuel André <postgresql@raveland.org>)
List pgsql-hackers
On Thu, May 24, 2018 at 01:03:00PM -0700, Andres Freund wrote:
> Hi,
> 
> On 2018-05-24 21:47:27 +0200, Pierre-Emmanuel André wrote:
> > Hello,
> > 
> > I'm the maintainer of PostgreSQL on OpenBSD.
> > Today I tried the beta1 of PostgreSQL 11 on OpenBSD -current @amd64.
> > 
> > Without JIT, everything works fine.
> > 
> > When i enable JIT, regress tests fail with this error :
> 
> Thanks for the report.
> 
> 
> > indexing                     ... FAILED (test process exited with exit code 2)
> > 
> > 
> > llvm-config --version gives me : 6.0.0
> > You will find in attachment the complete log of the failure (regressions.diff).
> > At the end, there is these 2 lines :
> >
> 
> > ! WARNING:  failed to resolve name __guard_local
> > ! FATAL:  fatal llvm error: Program used external function '__guard_local' which could not be resolved!
> 
> __guard_local is part of stack protector logic. I'm not clear whether
> the issue is that the different parts of the build used different flags,
> or whether the symbol is hidden at runtime.  Could you share your
> configure invocation and config.log output?
> 

Yes sure. The configure invocation :

$ ./configure --disable-rpath --with-openssl=/usr --with-bsd-auth --with-perl --with-python --with-pam=no
--with-uuid=bsd--enable-integer-datetimes --includedir=/usr/local/include/postgresql
--datadir=/usr/local/share/postgresql--docdir=/usr/local/share/doc/postgresql --with-includes=
--with-libraries=/usr/local/lib--with-system-tzdata=/usr/share/zoneinfo --with-openssl --with-libxml --with-llvm
--disable-thread-safety--prefix=/usr/local --sysconfdir=/etc --mandir=/usr/local/man --infodir=/usr/local/info
--localstatedir=/var--disable-silent-rules --disable-gtk-doc
 

The config.log is in attachment.

Regards,

Attachment

pgsql-hackers by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: pg_replication_slot_advance to return NULL instead of 0/0 if slotnot advanced
Next
From: Simon Riggs
Date:
Subject: Re: pg_replication_slot_advance to return NULL instead of 0/0 if slotnot advanced