Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d6NI9-0006yn-JU for pgsql-bugs@arkaria.postgresql.org; Thu, 04 May 2017 20:24:01 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1d6NI9-0004nq-6C for pgsql-bugs@arkaria.postgresql.org; Thu, 04 May 2017 20:24:01 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1d6NEJ-0006Pu-En for pgsql-bugs@postgresql.org; Thu, 04 May 2017 20:20:03 +0000 Received: from mail-lf0-x234.google.com ([2a00:1450:4010:c07::234]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1d6NEF-00027b-MU for pgsql-bugs@postgresql.org; Thu, 04 May 2017 20:20:02 +0000 Received: by mail-lf0-x234.google.com with SMTP id h4so14548690lfj.3 for ; Thu, 04 May 2017 13:19:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=VuynQdeBCgCENG7il53kH8uLOoymEFa7smJnx4NZxoo=; b=dkLfYeAJSvqXBHNlKcZ555foGfSEXcjfxbJ89JLfC1QghejOhdVuzCvrEGQd/2uEQL vi92Ax/RBx3GMHZv5rerEdh+4xMjw4oexw2DUwpfwZJa+Lr2+6+AgF5HmMzxG2Q+fvvR Bck/go2QsuxJMlXI4mgUD0Ai2joqYXI2osMsuCS0u7KceYwSXTcN+bpbiDpECWeQhax7 EhJImxlradGkuxWbJJiNcpaOrKhDysU2MiFM0ZkYxRxQlAsoxSpKlXu1iNBznvKcwsd5 nI4vMOWyDRD/5JJvvPykAoXbOMqfJJW7kBQ5OBlxUaVqpVUpQqplT75yAKNElWW7wTlG y+oA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=VuynQdeBCgCENG7il53kH8uLOoymEFa7smJnx4NZxoo=; b=k1rVKffaBW4i+7mv7uPXZ3E5L8WuMnbLmMv5zn8FP0gxR+cTyBLSjdKcpW56Av53vx mPxU74QmVt8jyJJZFfRXpj1c8SISU8A6gV/4bLWuRd3LT2pf1vbfa+tKId47V6XFuCb+ fVSJUUQtRFLPwSEf37I/F+0pwFxlXCQX4M2X1YJmur/BqpOKaKxL5FtgFRowXb6IqEzs 6FVSlREE52OLSFu8FvaO9QO7HylBZsnx1GRupNzOagFa9aXLTGDyrheipd0/8/ZSObdN IHtHf+kvM8t9PlFHYEALWLobsR3OkgGnRj1VOPLX7u0QFhd5dSFsowFdAP3uEN76gpnY S2vw== X-Gm-Message-State: AN3rC/51u/j/DO/o+jHufYkS750xjnyP4j2kpio9r6jRqd0AbVLoTQZu UslmqGTqXxnMslmJ X-Received: by 10.25.216.212 with SMTP id r81mr14657224lfi.66.1493929199130; Thu, 04 May 2017 13:19:59 -0700 (PDT) Received: from localhost ([62.141.192.76]) by smtp.gmail.com with ESMTPSA id p23sm625141lfj.35.2017.05.04.13.19.57 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 04 May 2017 13:19:58 -0700 (PDT) Date: Thu, 4 May 2017 22:19:29 +0200 From: =?UTF-8?B?UGF3ZcWCIFDEmWthbGE=?= To: Tom Lane Cc: pgsql-bugs@postgresql.org Subject: Re: BUG #14643: Fails to compile with LibreSSL >= 2.5.3 Message-ID: <20170504221929.4818ae8d@FreeBSD.org> In-Reply-To: <24355.1493924243@sss.pgh.pa.us> References: <20170504183440.24361.52117@wrigleys.postgresql.org> <24355.1493924243@sss.pgh.pa.us> X-Mailer: Claws Mail 3.15.0 (GTK+ 2.24.31; amd64-portbld-freebsd12.0) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Pg-Spam-Score: -2.4 (--) 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 Hi Tom, On 2017-05-04 14:57 -0400, Tom Lane wrote: >pawel@freebsd.org writes: >> FreeBSD bug report (with patches): >> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D218736=20=20 > >> 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/bac= kend/libpq'=20=20 > >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 I did quick builds of REL9_2_STABLE and REL9_3_STABLE and I can confirm they build fine with libressl-2.5.4. --=20 pozdrawiam / with regards Pawe=C5=82 P=C4=99kala --=20 Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs