Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d6LwV-0001ha-Nb for pgsql-bugs@arkaria.postgresql.org; Thu, 04 May 2017 18:57:35 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1d6LwU-0003dT-PC for pgsql-bugs@arkaria.postgresql.org; Thu, 04 May 2017 18:57:34 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1d6LwU-0003dK-CQ for pgsql-bugs@postgresql.org; Thu, 04 May 2017 18:57:34 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1d6LwR-0006S8-Nw for pgsql-bugs@postgresql.org; Thu, 04 May 2017 18:57:33 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id v44IvNDx024356; Thu, 4 May 2017 14:57:23 -0400 From: Tom Lane To: pawel@freebsd.org cc: pgsql-bugs@postgresql.org Subject: Re: BUG #14643: Fails to compile with LibreSSL >= 2.5.3 In-reply-to: <20170504183440.24361.52117@wrigleys.postgresql.org> References: <20170504183440.24361.52117@wrigleys.postgresql.org> Comments: In-reply-to pawel@freebsd.org message dated "Thu, 04 May 2017 18:34:40 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <24354.1493924243.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Thu, 04 May 2017 14:57:23 -0400 Message-ID: <24355.1493924243@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org pawel@freebsd.org writes: > FreeBSD bug report (with patches): > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D218736 > Build error: > cc -O2 -pipe -march=3Dnative -fstack-protector -fno-strict-aliasing -Wall > -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement > -Wendif-labels -Wmissing-format-attribute -Wformat-security > -fno-strict-aliasing -fwrapv -I../../../src/include -I/usr/local/include > -I/usr/local/include/libxml2 -I/usr/include -I/usr/local/include > -I/usr/local/include -c -o be-secure.o be-secure.c > be-secure.c:341:19: error: no member named 'state' in 'struct ssl_st' > if (port->ssl->state !=3D SSL_ST_OK) > ~~~~~~~~~ ^ > be-secure.c:345:15: error: no member named 'state' in 'struct ssl_st' > port->ssl->state |=3D SSL_ST_ACCEPT; > ~~~~~~~~~ ^ > be-secure.c:347:19: error: no member named 'state' in 'struct ssl_st' > if (port->ssl->state !=3D SSL_ST_OK) > ~~~~~~~~~ ^ > 3 errors generated. > gmake[2]: *** [: be-secure.o] Error 1 > gmake[2]: Leaving directory > '/usr/ports/databases/postgresql92-server/work/postgresql-9.2.20/src/back= end/libpq' This looks like it was probably addressed by the changes we made last month to support OpenSSL 1.1.0 in our pre-9.5 branches. However, since LibreSSL isn't identical to OpenSSL, it would sure be nice if someone would verify compatibility before next week's update releases. Could you test against our git branch tips or nightly snapshot tarballs? regards, tom lane --=20 Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs