From nobody Sun Jan 23 10:25:40 2022 X-Original-To: dev-commits-src-all@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 CC950197B192; Sun, 23 Jan 2022 10:25:40 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JhTlm4p3bz4Z1n; Sun, 23 Jan 2022 10:25:40 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642933540; 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=fGK+YWOsRdM/zfhwVmzZoiwRGTF00PssMDyjFUaPLqM=; b=qbxnkbRzqGnypiFLHNrGr/q4X/ZKCIKHfqf8Y99OUK4EINckYy/qusZVcYVuph1qrgCjvg RFuzcRCobvBSH7+6EsHYQcmrV8W5lyHQD32VFQ1GitwEJlhOrn/z+EmWd2np+rSc/SjVD4 7qh7Pfw/jWBeAgkv/ysotwis0DD96rIfY15crYnJR0XQfMAtb4g7OEZPuD8vw7MivO2EkU lfSullPuOuLEG6ESiM3JT1nu6LY2E8NSN6oyhUGAuvgqnsJFiYw+W+4nFjP71yFmTgTlIe jZiHzcsAYiHlra6qwJupf8eCLmwfdVYEnbjh8IU5ll53fXL/7M1M9G19vaz4aw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 701A020A5C; Sun, 23 Jan 2022 10:25:40 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 20NAPe1T088304; Sun, 23 Jan 2022 10:25:40 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 20NAPe6g088303; Sun, 23 Jan 2022 10:25:40 GMT (envelope-from git) Date: Sun, 23 Jan 2022 10:25:40 GMT Message-Id: <202201231025.20NAPe6g088303@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Marcin Wojtas Subject: git: f79791ab6049 - stable/13 - Disable PIE for MIPS BERI boot loader List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mw X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: f79791ab60497c18768a26b46d7798f324919423 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642933540; 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=fGK+YWOsRdM/zfhwVmzZoiwRGTF00PssMDyjFUaPLqM=; b=wy3RQOHRN55IYBx3pZw3SIXdxfqEvYxnBPU4ejtX0HRRFUXQBqHMft/Ilt+yi6XQ7Ow9yC UYjDGknDBsLkFwL6nlpNDHA0ETlI5SlqauRekLN8LlN40imv3oYXLDY/Kcpq9ImGXZPUr7 3NqJhGT8kZztITBSwM+fNewfXrz5vcc1vYMElkwL7RYfVQ2JyFLEAnE8fkKDmq4yxuRKiq 2gA1jR/Jxd74ho842/gfvb5HeL5LGRPfnPr+5r9rbrqarYwX1BU1+Y6Cuzyb8BJx7Njaix 5nowEtxU5CV5VzUgQqGhmoaArqxOq3CtMXEAS7jZvIpjY1TFJh/bpSavxGA55A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1642933540; a=rsa-sha256; cv=none; b=Pkgd0NTpzsXYAAUsBu6W3qgHbxs/fnLhLMuqfbuA5D38wbeEoMiZoK63xkVNRaqxPjo+rC IHRFCVsMHzVAl8EP8hC5oD3zuyvMOudgNzMnzqTsLmKbpJ9yiGzGUF4CDHVWISwg350xuM /OyQecsNP0NhJM+iwdsPBeF4i42qTGD4Blxwykk+YCaCBzruT7aNATBfnTZvnZsi/3STwU bGGlco/J0szIaYvLBAJ1Lj8xFCtjgfWQnDQ241JtliNsyeJxyKTqdRpesC+JrVWPMipKAi hVtd7DD8LIZlwIgGHP3OQ+kUAiv4MG4v9ep+qTN+OywNZdcJ1+Zrg9mRXQfPUw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by mw: URL: https://cgit.FreeBSD.org/src/commit/?id=f79791ab60497c18768a26b46d7798f324919423 commit f79791ab60497c18768a26b46d7798f324919423 Author: Marcin Wojtas AuthorDate: 2021-02-25 05:41:35 +0000 Commit: Marcin Wojtas CommitDate: 2022-01-23 10:09:52 +0000 Disable PIE for MIPS BERI boot loader MIPS BERI boot loader is built with -mno-abicalls and -fno-pic so prevent adding PIE-related build flags. Fix build after 9a227a2fd642 ("Enable PIE by default on 64-bit architectures") Obtained from: Semihalf Sponsored by: Stormshield (cherry picked from commit 19cd12a32afe801dc5e753013993e15e924ceb39) --- stand/mips/beri/Makefile.inc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/stand/mips/beri/Makefile.inc b/stand/mips/beri/Makefile.inc index 5a7b18e393c0..a95ca3dc1861 100644 --- a/stand/mips/beri/Makefile.inc +++ b/stand/mips/beri/Makefile.inc @@ -2,4 +2,8 @@ LDFLAGS+= -nostdlib +# BERI boot loader is built with '-mno-abicalls' flag, +# which is incompatible with PIE +MK_PIE= no + .include "../Makefile.inc"