From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mx.groups.io with SMTP id smtpd.web09.4275.1635980409729376762 for ; Wed, 03 Nov 2021 16:00:10 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 134.134.136.65, mailfrom: michael.d.kinney@intel.com) X-IronPort-AV: E=McAfee;i="6200,9189,10157"; a="231564103" X-IronPort-AV: E=Sophos;i="5.87,207,1631602800"; d="scan'208";a="231564103" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Nov 2021 16:00:08 -0700 X-IronPort-AV: E=Sophos;i="5.87,207,1631602800"; d="scan'208";a="729813058" Received: from mdkinney-mobl2.amr.corp.intel.com ([10.209.88.80]) by fmsmga005-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Nov 2021 16:00:05 -0700 From: "Michael D Kinney" To: devel@edk2.groups.io Cc: Hao A Wu , Liming Gao , Bret Barkelew , Jiewen Yao , Jian J Wang , Ard Biesheuvel , Abner Chang , Daniel Schaefer , Sami Mujawar , Alexei Fedorov , Maciej Rabeda , Jiaxin Wu , Siyuan Fu , Eric Dong , Ray Ni , Rahul Kumar , Bob Feng , Yuwei Chen Subject: [Patch V2 0/7] Fix package build issues Date: Wed, 3 Nov 2021 15:59:47 -0700 Message-Id: <20211103225954.1680-1-michael.d.kinney@intel.com> X-Mailer: git-send-email 2.32.0.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit New in V2 --------- * Update build_rules.template to fix Linux GCC ARM build issue with HII resource sections. This patch series fixes a number of diffent package build issues. These were discovered when evaluating the source format changes from uncrustify and there where valid package builds that are not working before applying the uncrustify changes. * Missing RngLib mappings * Missing ArmSoftFloatLib mapping * Missing BaseStackCheckLib instance * Incorrect use of UT_ASSERT_EQUAL() with pointers * Incorrect use of cmocka will_return*() with pointers Cc: Hao A Wu Cc: Liming Gao Cc: Bret Barkelew Cc: Jiewen Yao Cc: Jian J Wang Cc: Ard Biesheuvel Cc: Abner Chang Cc: Daniel Schaefer Cc: Sami Mujawar Cc: Alexei Fedorov Cc: Maciej Rabeda Cc: Jiaxin Wu Cc: Siyuan Fu Cc: Eric Dong Cc: Ray Ni Cc: Rahul Kumar Cc: Bob Feng Cc: Yuwei Chen Signed-off-by: Michael D Kinney Michael D Kinney (7): DynamicTablesPkg: Add missing BaseStackCheckLib instance NetworkPkg/NetworkPkg.dsc: Add RngLib mapping for ARM and RISCV64 SecurityPkg/SecurityPkg.dsc: Add missing RngLib for ARM and RISCV64 SignedCapsulePkg/SignedCapsulePkg.dsc: Add RngLib mapping UefiCpuPkg/MtrrLib/UnitTest: Fix 32-bit GCC build issues MdeModulePkg/Variable/RuntimeDxeUnitTest: Fix 32-bit GCC builds BaseTools/Conf: Fix Linux GCC ARM build issues with HII BaseTools/Conf/build_rule.template | 4 +++- DynamicTablesPkg/DynamicTablesPkg.dsc | 2 +- .../VariableLockRequestToLockUnitTest.c | 6 +++--- NetworkPkg/NetworkPkg.dsc | 6 ++++++ SecurityPkg/SecurityPkg.dsc | 9 ++++++++- SignedCapsulePkg/SignedCapsulePkg.dsc | 7 +++++++ UefiCpuPkg/Library/MtrrLib/UnitTest/MtrrLibUnitTest.c | 10 +++++----- 7 files changed, 33 insertions(+), 11 deletions(-) -- 2.32.0.windows.1