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

[Bug]: CLANGPDB linker warning /align without /driver #10637

Open
2 of 5 tasks
deeglaze opened this issue Jan 17, 2025 · 0 comments
Open
2 of 5 tasks

[Bug]: CLANGPDB linker warning /align without /driver #10637

deeglaze opened this issue Jan 17, 2025 · 0 comments
Labels
package:build-or-ci-code Build or CI Code priority:low Little to no impact. No urgency to fix. state:needs-triage type:bug Something isn't working

Comments

@deeglaze
Copy link
Contributor

Is there an existing issue for this?

  • I have searched existing issues

Bug Type

  • Firmware
  • Tool
  • Unit Test

Code first?

  • Yes

What packages are impacted?

Build or CI Code

Which targets are impacted by this bug?

DEBUG, RELEASE, NOOPT

Current Behavior

When I build OvmfPkg with CLANGPDB, I see a linker warning

lld-link: warning: /align specified without /driver; image may not run

Expected Behavior

No warnings during linking.

Steps To Reproduce

build -p OvmfPkg/OvmfPkgX64.dsc -t CLANGPDB -a X64 -b DEBUG -r OVMF -D SECURE_BOOT_ENABLE=TRUE

Build Environment

- OS(s): Debian 12
- Tool Chain(s): CLANGPDB

Version Information

Tag: edk2-stable202302

Urgency

Low

Are you going to fix this?

I will fix it

Do you need maintainer feedback?

No maintainer feedback needed

Anything else?

No response

@deeglaze deeglaze added state:needs-triage type:bug Something isn't working labels Jan 17, 2025
@github-actions github-actions bot added package:build-or-ci-code Build or CI Code priority:low Little to no impact. No urgency to fix. labels Jan 17, 2025
deeglaze added a commit to deeglaze/edk2 that referenced this issue Jan 17, 2025
This quiets the warning reported in Issue tianocore#10637.

Signed-off-by: Dionna Glaze <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package:build-or-ci-code Build or CI Code priority:low Little to no impact. No urgency to fix. state:needs-triage type:bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant