From nobody Fri Mar 20 19:21:11 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 4fcsqn5wQzz6Vw1b for ; Fri, 20 Mar 2026 19:21:25 +0000 (UTC) (envelope-from jrtc27@jrtc27.com) Received: from mail-wm1-f46.google.com (mail-wm1-f46.google.com [209.85.128.46]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4fcsqn3hqrz3h8T for ; Fri, 20 Mar 2026 19:21:25 +0000 (UTC) (envelope-from jrtc27@jrtc27.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-wm1-f46.google.com with SMTP id 5b1f17b1804b1-486ff3a0fc1so8253835e9.2 for ; Fri, 20 Mar 2026 12:21:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1774034484; x=1774639284; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-gg:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=VRSele/WFnM/DX/i6pNLQqJekXSoxZaWe1a8WifOfuw=; b=Rh9Q8yg4ppCrlMvwAqmrZz4vTwKWUXRMqd4BbSBn1kS67IdqIn6PUL9XsZ7J7litWZ ZD7p6k4kKCqbhMgRPc1rVkF/H9SyDTrCdPJ2Ked2XVutY/YjDv24tE/PUVPxoEKySMJi Ip6lbwItHYqZmuHfeRzPisjisZ9V9bhQllrSCLcvEIfDwR4S9GNweJiGr0BxQ3CFFMmS G0OAr/M6McZhqFndVF/R1xKSM9tsfgzC2GBy4yFMnEokgVmuUNj5//2vQrwi7pyxvaNf LYiFp7LClCX7GOU9vvQ9Pzpohz7DBEAASTre9wfSorOgdQAYzBcHGslwvS2pCw4dYXtH prcg== X-Forwarded-Encrypted: i=1; AJvYcCVQTr+qcMhc/a0QGaosdEkCFSRI2yfSV0M9DJ4BQksde0xlzrxWJfFsOA0QnVeMOOWFymBhuGNzvwj0hrfoCikSa3kQAA==@freebsd.org X-Gm-Message-State: AOJu0YwtbHE0WKLnk61aaJSlFH6Bdx2F1HGTFIgEuc6RA9MwBFIyzjy7 XYGTeKGihkRL/+OlOpFtYOsm+4vi8IC7+U9DsTGxBK0/LZe0TMh652wIdNK8g3IdaaA= X-Gm-Gg: ATEYQzyICzFjY3RAn0Upnhe/7yhq35ImYoF3qc7lxJPnC36HzB78zlXj4HxhQu/8thw eYW3alUAbtcKXKgA+m/iXecyh5klTCWZhdUiQnMkxmk8x+9MMq2sy76w7tF3oBvRKWlVMSrlvcX wWifBJGuj4pJopOeR9GFboA+Lzw44mWk5AE3ijGUvltE/WbpolGNS2FIsWqvpVj/FENyXMeevZx yPQ+Z1Q/tAIGWVegXrdSmecVEjRzA0JbKyOdlaaSiGjHRXKFYIMLWH44Ldy+9tvaoOUl3aUEmaJ a4N23Sx0nW38oQEIplGZNFfDKfRtUDFcKZfwUkAtVfC7/0jaZkltL+ClFZHL/wtCSdlZOxytW1M sMbAo/YeYFIJGLud/w29OKdQAJLo7dedDIi+hqvmgMLGmei2jiZiudja8d2r6XEbgY+2sR9Bma5 KOnSs4FlknBrDyvUvA4FYNy8gy9B7hrqwNVzmqml013IIFyvR9tt26/PPdIDULAxTe X-Received: by 2002:a05:600c:c167:b0:486:fc5f:1ab9 with SMTP id 5b1f17b1804b1-486fedcbeb7mr63266765e9.14.1774034483714; Fri, 20 Mar 2026 12:21:23 -0700 (PDT) Received: from smtpclient.apple (nat-184-7.net.cam.ac.uk. [131.111.184.7]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-43b64714e2esm9086874f8f.32.2026.03.20.12.21.22 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 20 Mar 2026 12:21:22 -0700 (PDT) Content-Type: text/plain; charset=utf-8 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 (Mac OS X Mail 16.0 \(3864.400.21\)) Subject: Re: git: 14b9955e57cc - main - libcrypto: compile all PIC objects with -DOPENSSL_PIC From: Jessica Clarke In-Reply-To: Date: Fri, 20 Mar 2026 19:21:11 +0000 Cc: A FreeBSD User , Philip Paeps , Enji Cooper , "src-committers@freebsd.org" , "dev-commits-src-all@freebsd.org" , "dev-commits-src-main@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: <6E6DB2FA-3E78-40B6-BFDB-2BDD240C5CED@freebsd.org> References: <69bc9a33.3bd51.5811996c@gitrepo.freebsd.org> <61743F2C-2561-4BAC-81F2-02B8A85B8755@freebsd.org> <20260320201441.333c83c0@thor.sb211.local> To: Shawn Webb X-Mailer: Apple Mail (2.3864.400.21) X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US] X-Rspamd-Queue-Id: 4fcsqn3hqrz3h8T X-Spamd-Bar: ---- On 20 Mar 2026, at 19:17, Shawn Webb wrote: > On Fri, Mar 20, 2026 at 08:14:14PM +0100, A FreeBSD User wrote: >> Am Tage des Herren Fri, 20 Mar 2026 10:27:47 +0800 >> Philip Paeps schrieb: >>=20 >>> On 2026-03-20 08:52:03 (+0800), Enji Cooper wrote: >>>=20 >>>> The branch main has been updated by ngie: >>>>=20 >>>> URL:=20 >>>> = https://cgit.FreeBSD.org/src/commit/?id=3D14b9955e57cc28b61e785165b9effcbe= 620edb46 >>>>=20 >>>> commit 14b9955e57cc28b61e785165b9effcbe620edb46 >>>> Author: Enji Cooper >>>> AuthorDate: 2026-03-19 23:56:41 +0000 >>>> Commit: Enji Cooper >>>> CommitDate: 2026-03-20 00:51:51 +0000 >>>>=20 >>>> libcrypto: compile all PIC objects with -DOPENSSL_PIC >>>>=20 >>>> This change modifies the libcrypto PIC objects to always compile=20= >>>> with >>>> `-DOPENSSL_PIC` to restore parity with the upstream build = process.=20 >>>> This >>>> ensures that `-DOPENSSL_PIC` is used whenever building the=20 >>>> auxiliary >>>> shared objects. In this case, just the legacy provider (we no=20 >>>> longer >>>> distribute the fips provider). >>>>=20 >>>> MFC after: 2 weeks >>>> Differential Revision: https://reviews.freebsd.org/D44896 =20 >>>=20 >>> This one seems to break the build for me: >>>=20 >>> main philip@flatulus:~/freebsd/src % time make -j 16 buildworld = |grep=20 >>> error: >>> ld: error: relocation R_X86_64_PC32 cannot be used against symbol=20 >>> '__stack_chk_guard'; recompile with -fPIC >>> ld: error: relocation R_X86_64_32 cannot be used against local = symbol;=20 >>> recompile with -fPIC >>> ld: error: relocation R_X86_64_32 cannot be used against local = symbol;=20 >>> recompile with -fPIC >>> ld: error: relocation R_X86_64_32 cannot be used against local = symbol;=20 >>> recompile with -fPIC >>> ld: error: relocation R_X86_64_PC32 cannot be used against symbol=20 >>> '__stack_chk_guard'; recompile with -fPIC >>> ld: error: relocation R_X86_64_32 cannot be used against local = symbol;=20 >>> recompile with -fPIC >>> ld: error: relocation R_X86_64_32 cannot be used against local = symbol;=20 >>> recompile with -fPIC >>> ld: error: relocation R_X86_64_PC32 cannot be used against symbol=20 >>> '__stack_chk_guard'; recompile with -fPIC >>> ld: error: relocation R_X86_64_32 cannot be used against local = symbol;=20 >>> recompile with -fPIC >>> ld: error: relocation R_X86_64_32 cannot be used against local = symbol;=20 >>> recompile with -fPIC >>> ld: error: relocation R_X86_64_PC32 cannot be used against symbol=20 >>> '__stack_chk_guard'; recompile with -fPIC >>> ld: error: relocation R_X86_64_PC32 cannot be used against symbol=20 >>> '__stack_chk_guard'; recompile with -fPIC >>> ld: error: relocation R_X86_64_32 cannot be used against local = symbol;=20 >>> recompile with -fPIC >>> ld: error: relocation R_X86_64_32 cannot be used against local = symbol;=20 >>> recompile with -fPIC >>> ld: error: relocation R_X86_64_32 cannot be used against local = symbol;=20 >>> recompile with -fPIC >>> ld: error: relocation R_X86_64_32S cannot be used against local = symbol;=20 >>> recompile with -fPIC >>> ld: error: relocation R_X86_64_32 cannot be used against local = symbol;=20 >>> recompile with -fPIC >>> ld: error: relocation R_X86_64_32 cannot be used against local = symbol;=20 >>> recompile with -fPIC >>> ld: error: relocation R_X86_64_32S cannot be used against local = symbol;=20 >>> recompile with -fPIC >>> ld: error: relocation R_X86_64_32 cannot be used against local = symbol;=20 >>> recompile with -fPIC >>> ld: error: too many errors emitted, stopping now (use = --error-limit=3D0 to=20 >>> see all errors) >>> cc: error: linker command failed with exit code 1 (use -v to see=20 >>> invocation) >>> make -j 16 buildworld 63.51s user 16.69s system 593% cpu 13.524 = total >>> grep error: 0.01s user 0.01s system 0% cpu 13.524 total >>>=20 >>> Hm... as I type this I wonder if it's just META_MODE weirdness... >>>=20 >>> Philip >>>=20 >>=20 >> Same here >=20 > Appending to CFLAGS rather than PICFLAG resolves the issue. Commit in > HardenedBSD coming soon. Yeah that=E2=80=99ll stop the PICFLAG?=3D-fpic from doing anything. CFLAGS is wrong though, you want SHARED_CFLAGS, I imagine. Jessica