From nobody Thu May 11 04:30:51 2023 X-Original-To: freebsd-arch@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QGzVL3D1Bz49dVH for ; Thu, 11 May 2023 04:31:06 +0000 (UTC) (envelope-from freebsd-arch@m.gmane-mx.org) Received: from ciao.gmane.io (ciao.gmane.io [116.202.254.214]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4QGzVK20Dmz4DRZ for ; Thu, 11 May 2023 04:31:05 +0000 (UTC) (envelope-from freebsd-arch@m.gmane-mx.org) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of freebsd-arch@m.gmane-mx.org designates 116.202.254.214 as permitted sender) smtp.mailfrom=freebsd-arch@m.gmane-mx.org; dmarc=none Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1pwxxC-00062V-Io for freebsd-arch@freebsd.org; Thu, 11 May 2023 06:30:58 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-arch@freebsd.org From: Pierre Pronchery Subject: Re: OpenSSL 3.0 for 14.0-RELEASE: issues with 1.x/3.x symbol clashing, ports linking against base OpenSSL, ports that don't compile/link against OpenSSL 3, etc Date: Thu, 11 May 2023 06:30:51 +0200 Organization: FreeBSD Foundation Message-ID: References: <12f8559c-d696-5344-98d5-1751d04088af@FreeBSD.org> List-Id: Discussion related to FreeBSD architecture List-Archive: https://lists.freebsd.org/archives/freebsd-arch List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arch@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Content-Language: en-US In-Reply-To: X-Spamd-Result: default: False [0.43 / 15.00]; FORGED_MUA_THUNDERBIRD_MSGID_UNKNOWN(2.50)[]; NEURAL_HAM_SHORT(-0.98)[-0.977]; NEURAL_HAM_LONG(-0.97)[-0.971]; NEURAL_HAM_MEDIUM(-0.62)[-0.622]; MV_CASE(0.50)[]; FORGED_SENDER(0.30)[pierre@freebsdfoundation.org,freebsd-arch@m.gmane-mx.org]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; FROM_NEQ_ENVFROM(0.00)[pierre@freebsdfoundation.org,freebsd-arch@m.gmane-mx.org]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:24940, ipnet:116.202.0.0/16, country:DE]; MLMMJ_DEST(0.00)[freebsd-arch@freebsd.org]; RCVD_TLS_LAST(0.00)[]; HAS_ORG_HEADER(0.00)[]; DMARC_NA(0.00)[freebsdfoundation.org]; ARC_NA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; FROM_HAS_DN(0.00)[]; TO_DN_NONE(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Queue-Id: 4QGzVK20Dmz4DRZ X-Spamd-Bar: / X-ThisMailContainsUnwantedMimeParts: N Hi everyone, It's been a long and tough fight, but I finally managed to complete a `make buildworld` on amd64 with the latest state of my work on OpenSSL 3; see https://github.com/freebsd/freebsd-src/pull/740 for a first draft of a pull-request via GitHub. I will probably not be able to work on this again until the DevSummit at BSDCan, so feel free to take it from there until then. HTH! -- khorben On 5/8/23 22:11, Ed Maste wrote: > On Fri, 5 May 2023 at 16:03, Ed Maste wrote: >> >> I had a look at the remaining build failures with your changes merged >> in, and I see errors due to deprecation notices in: > > For the simple cases where deprecation notices are the only issue we > can just set OPENSSL_API_COMPAT=0x10100000L to specify the API in use > explicitly. We can do this in advance of bringing in OpenSSL 3; it > will just be a NFC at present. I've done this for bhyve just now, with > commit 9c6f3dfda6dd. We can do the same for the other components using > OpenSSL, and can switch each of these to using OpenSSL 3 APIs at some > point after we import OpenSSL 3. -- Pierre Pronchery