From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id F194574007C for ; Tue, 19 Sep 2023 04:43:13 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=DO5FBortlVQpGTXAA9NSW0AI5UML6hf3DqTgsZejAMk=; c=relaxed/simple; d=groups.io; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding; s=20140610; t=1695098592; v=1; b=cJHFd6rbK0MVr3OFdTpdXWhMdrt3oTot1XKyvvyVNokyVaKrpCp/O1OUyd0qKl9/YSZqnBfh voiifVPS68ylYyXFpCz0r6RUGWSDxK2CUvtg0GnQQ4KnhzCyUNKAiWL9Bnc0WaYCGGIS/5mESTa PwWRW7TIY5RUQmCV9XL+WiRM= X-Received: by 127.0.0.2 with SMTP id mbyJYY7687511xQEc0RB4uq6; Mon, 18 Sep 2023 21:43:12 -0700 X-Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.20]) by mx.groups.io with SMTP id smtpd.web10.603.1695098591855162739 for ; Mon, 18 Sep 2023 21:43:11 -0700 X-IronPort-AV: E=McAfee;i="6600,9927,10837"; a="370167160" X-IronPort-AV: E=Sophos;i="6.02,158,1688454000"; d="scan'208";a="370167160" X-Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Sep 2023 21:43:11 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10837"; a="836290825" X-IronPort-AV: E=Sophos;i="6.02,158,1688454000"; d="scan'208";a="836290825" X-Received: from awarkent-desk.amr.corp.intel.com ([10.212.118.183]) by fmsmga003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Sep 2023 21:43:10 -0700 From: "Andrei Warkentin" To: devel@edk2.groups.io Cc: Andrei Warkentin Subject: [edk2-devel] [PATCH v1 0/1] RISCV: Fix InternalLongJump Date: Mon, 18 Sep 2023 23:43:02 -0500 Message-Id: <20230919044303.21523-1-andrei.warkentin@intel.com> MIME-Version: 1.0 Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,andrei.warkentin@intel.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: nGeuHC2tKz4eqYuC39B3qxZbx7686176AA= Content-Transfer-Encoding: 8bit X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=cJHFd6rb; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=intel.com (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io I was playing around with building code with -Os and ran into weird crashes, that I ended up chasing down to an obviously incorrect InternalLongJump implementation, which has never been correctly passing its 2nd parameter down as the return value of SetJump. You can find the pull at https://github.com/tianocore/edk2/pull/4836, with the failing tests seemingly unrelated (at least one of these was related to CryptoPkg not being found). Andrei Warkentin (1): RISCV: Fix InternalLongJump to return correct value CryptoPkg/Library/OpensslLib/openssl | 2 +- MdePkg/Library/BaseLib/RiscV64/RiscVSetJumpLongJump.S | 7 ++----- 2 files changed, 3 insertions(+), 6 deletions(-) -- 2.34.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#108815): https://edk2.groups.io/g/devel/message/108815 Mute This Topic: https://groups.io/mt/101450444/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-