Skip to content

[release/202608] Update BaseTools ext dep to v2026080000.0.0-rc0 - #1901

Merged
Aaron (apop5) merged 13 commits into
release/202608from
sync-basetools/release/202608/v2026080000.0.0-rc0
Sep 3, 2026
Merged

[release/202608] Update BaseTools ext dep to v2026080000.0.0-rc0#1901
Aaron (apop5) merged 13 commits into
release/202608from
sync-basetools/release/202608/v2026080000.0.0-rc0

Conversation

@mu-automation

@mu-automation mu-automation Bot commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

Updates mu_devops ubuntu container to 0e384ee to allow IA32 host based unit tests to build and run under GCC.

Fix misspelling of ManeagabilityPkg in pipeline files, which caused pipeline failures.

Fix multiple places where IA32 CI builds were emitting compiler intrinsic calls.

Revert 2 commits which are no longer necessary (artifact of rebase that was already fixed in upstream)

Revert 1 commit and Cherry-Pick EDK2 change instead

Signed-off-by: Project Mu UEFI Bot <uefibot@microsoft.com>
@mu-automation

mu-automation Bot commented Aug 31, 2026

Copy link
Copy Markdown
Contributor Author

❌ QEMU Validation Failed

Source Dependencies

Repository Commit
mu_basecore ab5673e
mu_tiano_platforms ad599d2

Results

Platform Target Build Boot Overall Boot Time Build Logs Boot Logs
Q35 DEBUG ❌ failure ⏩ skipped N/A Build Logs N/A
ArmVirt DEBUG ❌ failure ⏩ skipped N/A Build Logs N/A

Workflow run: https://github.com/microsoft/mu_basecore/actions/runs/33696950572

This comment was automatically generated by the Mu QEMU PR Validation workflow.

@codecov-commenter

Codecov Comments Bot (codecov-commenter) commented Aug 31, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 50 lines in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (release/202608@e1e8fb6). Learn more about missing BASE report.

Files with missing lines Patch % Lines
MdeModulePkg/Bus/Sd/EmmcBlockIoPei/EmmcHci.c 0.00% 18 Missing ⚠️
MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/SdMmcPciHci.c 0.00% 16 Missing ⚠️
...dulePkg/Bus/Pci/NvmExpressDxe/NvmExpressPassthru.c 0.00% 10 Missing ⚠️
...eModulePkg/Core/Dxe/Misc/MemoryProtectionSupport.c 0.00% 3 Missing ⚠️
...ePkg/Bus/Pci/NvmExpressPei/NvmExpressPeiPassThru.c 0.00% 2 Missing ⚠️
SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.c 0.00% 1 Missing ⚠️
Additional details and impacted files
@@                Coverage Diff                @@
##             release/202608    #1901   +/-   ##
=================================================
  Coverage                  ?    1.70%           
=================================================
  Files                     ?     1674           
  Lines                     ?   417191           
  Branches                  ?        0           
=================================================
  Hits                      ?     7121           
  Misses                    ?   410070           
  Partials                  ?        0           
Flag Coverage Δ
FmpDevicePkg 8.54% <ø> (?)
MdeModulePkg 0.89% <0.00%> (?)
MdePkg 4.84% <ø> (?)
NetworkPkg 0.50% <ø> (?)
PolicyServicePkg 28.75% <ø> (?)
SecurityPkg 1.46% <0.00%> (?)
StandaloneMmPkg 0.47% <ø> (?)
UefiCpuPkg 4.17% <ø> (?)
UnitTestFrameworkPkg 16.29% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Comment thread .azurepipelines/Ubuntu-GCC5.yml Outdated
Comment thread .azurepipelines/Ubuntu-GCC5.yml Outdated
Comment thread .azurepipelines/Windows-VS.yml Outdated
Comment thread .azurepipelines/Windows-VS.yml Outdated
Comment thread .azurepipelines/Ubuntu-GCC5.yml Outdated
Comment thread .azurepipelines/Ubuntu-GCC5.yml Outdated
Comment thread .azurepipelines/Windows-VS.yml Outdated
Comment thread .azurepipelines/Windows-VS.yml Outdated
@makubacki

Copy link
Copy Markdown
Member

Aaron (@apop5), can you please update the PR description to briefly explain why these extra commits are included in the ext dep update PR?

Aaron (apop5) and others added 11 commits September 2, 2026 13:55
ManeagabilityPkg was misspelled, causing pipelines to fail.

Update the mu_devops container images to satisfy IA32 host
based unit test requirements.

Squash with Enable CI on rebase
IA32 CI build fails due to _allmul being emitted.

Update two places to use BaseLib's functions instead
of relying upon the compiler.

Signed-off-by: Aaron Pop <aaronpop@microsoft.com>
NOOPT VS2022 IA32 builds emit references to the unsupported __allmul
compiler intrinsic when a UINT64 index is used to access the ADMA
descriptor array.

Calculate each descriptor address with MultU64x32() and access its fields
through a typed pointer. Add the explicit BaseLib dependency required by
the helper.

This allows EmmcBlockIoPei to link in NOOPT VS2022 IA32 builds.

Signed-off-by: Aaron Pop <aaronpop@microsoft.com>
NOOPT VS2022 IA32 builds emit references to the unsupported __allmul
compiler intrinsic when a UINT64 index is used to calculate PRP entry
addresses.

Use MultU64x32() for the PRP entry offsets. Add the BaseLib header and
library class dependency required by the helper.

This allows NvmExpressPei to link in NOOPT VS2022 IA32 builds.

Signed-off-by: Aaron Pop <aaronpop@microsoft.com>
NOOPT VS2022 IA32 builds emit references to the unsupported __allmul
compiler intrinsic when page counts and bitmap indices are converted to
byte offsets.

Use LShiftU64() for page-size calculations and the bitmap mask shift
instead of relying on native UINT64 arithmetic.

This allows CoreDxe to link in NOOPT VS2022 IA32 builds.

Squash with MdeModulePkg: Enable MemoryProtectionSupport

Signed-off-by: Aaron Pop <aaronpop@microsoft.com>
NOOPT VS2022 IA32 builds emit references to the unsupported __allmul
compiler intrinsic when a UINT64 index is used to calculate PRP entry
addresses.

Use MultU64x32() for the PRP list and entry offsets, and access each
entry through a typed pointer.

This allows NvmExpressDxe to link in NOOPT VS2022 IA32 builds.

Signed-off-by: Aaron Pop <aaronpop@microsoft.com>
NOOPT VS2022 IA32 builds emit references to the unsupported __allmul
compiler intrinsic when a UINT64 index is used to access the ADMA
descriptor arrays.

Calculate each descriptor address with MultU64x32() and access its fields
through a typed pointer for all supported ADMA modes.

This allows SdMmcPciHcDxe to link in NOOPT VS2022 IA32 builds.

Signed-off-by: Aaron Pop <aaronpop@microsoft.com>
…ting

DumpUicCmdExecResult & DumpQueryResponseResult are called to dump the
result of UIC commands after a failure. Depending on the nature of the
failure, not all information may have been properly initialized. This is
already handled in callers with existing retry logic, but the assert in
the dump command can cause a crash in debug builds for due to hardware
race conditions on first attempt.

Signed-off-by: Chris Fernald <chfernal@microsoft.com>
(cherry picked from commit 2e53034f67fba2209468fdde33b6d0e0c24f767f)
@apop5
Aaron (apop5) force-pushed the sync-basetools/release/202608/v2026080000.0.0-rc0 branch from 4966ac5 to 42761a0 Compare September 2, 2026 20:58
Unit test assertion and mocking macros intentionally convert between
pointers and 64-bit integer values. GCC IA32 host builds report these
conversions with messages such as:

error: cast from pointer to integer of different size
[-Werror=pointer-to-int-cast]

error: cast to pointer from integer of different size
[-Werror=int-to-pointer-cast]

These errors are produced by uses of UnitTestLib.h and Cmocka macros, as
well as unit test code retrieving pointer values from mocks.

Add -Wno-error for both warnings to the shared GCC IA32 host unit test
build options. This retains the warnings while allowing all affected host
unit tests to build.
@apop5
Aaron (apop5) merged commit 6b7833c into release/202608 Sep 3, 2026
123 of 124 checks passed
@apop5
Aaron (apop5) deleted the sync-basetools/release/202608/v2026080000.0.0-rc0 branch September 3, 2026 16:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants