From nobody Fri Mar 20 00:52:03 2026 X-Original-To: dev-commits-src-main@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 4fcPCl41Dpz6WFCT for ; Fri, 20 Mar 2026 00:52:03 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R12" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4fcPCl3RVdz3lmv for ; Fri, 20 Mar 2026 00:52:03 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1773967923; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=r2BwnElB5YZA36Kac1JwwOYRWJjmxHfHvtYv80l89q0=; b=i9JugSEOlGaOM7kvY5FtozKLZeT3PFlG/wmKRvfTixnd1sphjbGQu5pDjShc3LaBZg/WYb w4P/Sg9LvmKV2J2IRzNDPEMFgPi0ysi/DmXnMirtpLY8HnRxISN6IT/dvUhALd9i727sqz 01Z4FL1vFsPn301xiDwJzBmg2+/HLYz8GKyzh38rTcZrJhMxDO/33DPjX9FYuErCrH1Vt+ aFZVaE8nFTkT/rKD21EjLF/+OU2lgECIq1HDsRysg7id1CMDPOzVbdCLePReI/Hk3YPnOK 3bV+mxNhdpIitDParQGHI4bQ0+5g+Os5E85hJO+EvV2emY7Yeu/8hX3zgGMvXQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1773967923; a=rsa-sha256; cv=none; b=pTHrII5Oj2h4pnyPRYkeQ5EM59RFoQ0NutLsXv4BdwLqiyS/esj0FDvE6V74RFyLLSHupQ MRMo+GHoidhqUKjDUMF1K8olACNw7YIHtL/9d7IOiI3skwnP0ymwPbYQO1es5HfPg99ccT Vgl6Px6G7kS9zQTQNxOzQTd2CyIJFzGI9qhCRtCMgj37ZT64Uv3GD/2xrG1nTP/tanWSS1 4cp18grAFki5Xu6ouS+S9IZIAyRsuD38l0xUx9R6KxCihSnbGIcCN/fY9pRzoS7KX7RUGe rQpm26AxdLURr3ZTpjEElRe9/X7/ms+OYhsXKVHvrVvGulK19U3Gw4IlWiMZvg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1773967923; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=r2BwnElB5YZA36Kac1JwwOYRWJjmxHfHvtYv80l89q0=; b=qIJSKKS/fxO2d1QCNLeF3m0353OqKRUZ+BTQqVTvjVLpR7NpIXavcoUrO4TITUYHS6zrQ6 v1rFIZXR2Hn7XurEHKZ705F1mwVT8O+o3cw6rokSvOhT6t3+rV8j2u7tcwlg9iz1f75lyh VKc5pQWukaLwFhaRRxzxdLXvWVAvERa1dUYdQKOVyN2aav0qbRYkZvGnLPOnvAnGzVm9X+ +abSthCoR3De0H0/pJNHWA5hqmz80hzjmKMRBhVGu6Qby8pL4M57o0BjBJUad1cDB5RfUF UkPkdXJcwoC8uV13mId0LeiBIMvrJJpdYdwiDHv1lAJX6ObmO072qTRr4IsNUw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4fcPCl31Cyz1J17 for ; Fri, 20 Mar 2026 00:52:03 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 3bd51 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Fri, 20 Mar 2026 00:52:03 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Enji Cooper Subject: git: 14b9955e57cc - main - libcrypto: compile all PIC objects with -DOPENSSL_PIC List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: ngie X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 14b9955e57cc28b61e785165b9effcbe620edb46 Auto-Submitted: auto-generated Date: Fri, 20 Mar 2026 00:52:03 +0000 Message-Id: <69bc9a33.3bd51.5811996c@gitrepo.freebsd.org> The branch main has been updated by ngie: URL: https://cgit.FreeBSD.org/src/commit/?id=14b9955e57cc28b61e785165b9effcbe620edb46 commit 14b9955e57cc28b61e785165b9effcbe620edb46 Author: Enji Cooper AuthorDate: 2026-03-19 23:56:41 +0000 Commit: Enji Cooper CommitDate: 2026-03-20 00:51:51 +0000 libcrypto: compile all PIC objects with -DOPENSSL_PIC This change modifies the libcrypto PIC objects to always compile with `-DOPENSSL_PIC` to restore parity with the upstream build process. This ensures that `-DOPENSSL_PIC` is used whenever building the auxiliary shared objects. In this case, just the legacy provider (we no longer distribute the fips provider). MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D44896 --- secure/lib/libcrypto/modules/Makefile.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/secure/lib/libcrypto/modules/Makefile.inc b/secure/lib/libcrypto/modules/Makefile.inc index 64fb57ee74c5..c2d25269762d 100644 --- a/secure/lib/libcrypto/modules/Makefile.inc +++ b/secure/lib/libcrypto/modules/Makefile.inc @@ -4,6 +4,8 @@ SHLIBDIR= ${LIBDIR}/ossl-modules LCRYPTO_SRC= ${SRCTOP}/crypto/openssl +PICFLAG+= -DOPENSSL_PIC + CFLAGS+= -I${LCRYPTO_SRC} CFLAGS+= -I${LCRYPTO_SRC}/include CFLAGS+= -I${LCRYPTO_SRC}/providers/common/include