Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SctPkg does not build for a variety of architectures/toolchains (Bugzilla Bug 3595) #226

Open
tianocore-issues opened this issue Aug 26, 2021 · 5 comments

Comments

@tianocore-issues
Copy link

This issue was created automatically with bugzilla2github

Bugzilla Bug 3595

Date: 2021-08-26T17:34:03+00:00
From: @heatd
To: Carolyn Gjertsen <<Carolyn.Gjertsen>>
CC: edhaya.chandran, gaojie, @heatd

Last updated: 2022-05-05T10:04:21+00:00

@tianocore-issues
Copy link
Author

Comment 17092

Date: 2021-08-26 17:34:03 +0000
From: @heatd

  • Industry Specification: ---
  • Release Observed: EDK II Master
  • Releases to Fix: EDK II Master
  • Target OS: ---
  • Bugzilla Assignee(s): Carolyn Gjertsen <<Carolyn.Gjertsen>>

Due to a variety of issues throughout SctPkg, multiple architecture/toolchain combos are unable to build UEFI SCT.

Such combinations include:

  • GCC5 (IA32 and X64)
  • GCC49 (IA32 and X64)
  • VS2019(IA32 and X64)
  • CLANGPDB(IA32 and X64)

I managed to patch SctPkg so it builds for VS2019(both IA32 and X64) and
GCC5(IA32 only) and I'm keeping the patched version at my edk2-test fork:
https://github.com/heatd/edk2-test; I might submit these patches to the mailing list soon.

Unfortunately, for GCC5 X64 there are a lot of EFIAPI issues that stop it from building (see Bug 2126 - SCT does not build for X64 using GCC - missing EFIAPI); I tried my hand at fixing those but there are way too many issues/warnings, and I'm not too familiar with this project.

CLANGPDB fails to build SctPkg in the IA32 and X64 architectures.

If more details are required I am more than happy to submit further bug reports.

Relevant toolchain information:

  • Visual Studio Community 2019
  • GCC version 11.1.0 (GCC)
  • GNU ld (GNU Binutils) 2.36.1 / GNU gold (GNU Binutils 2.36.1) 1.16
  • Clang version 12.0.1 / LLD 12.0.1

@tianocore-issues
Copy link
Author

Comment 17104

Date: 2021-08-27 16:56:39 +0000
From: @heatd

CC'd SctPkg maintainers

@tianocore-issues
Copy link
Author

Comment 17138

Date: 2021-09-02 10:26:52 +0000
From: Edhay <<edhaya.chandran>>

Carolyn to further check

@tianocore-issues
Copy link
Author

Comment 17140

Date: 2021-09-02 10:29:49 +0000
From: Edhay <<edhaya.chandran>>

Confirmed

@tianocore-issues
Copy link
Author

Comment 18932

Date: 2022-05-05 10:04:21 +0000
From: Carolyn Gjertsen <<Carolyn.Gjertsen>>

Still in progress. Will push changes to begin feedback process.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant