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]: CLANGDWARF Fails to Trigger Recompilation When Header Files Are Modified #10740

Open
2 of 5 tasks
kanren3 opened this issue Feb 9, 2025 · 0 comments
Open
2 of 5 tasks
Labels

Comments

@kanren3
Copy link

kanren3 commented Feb 9, 2025

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?

No response

Current Behavior

When using CLANGDWARF for building, it does not check whether header files have been modified. If the source files have not changed, even if the header files have been updated, it will not trigger a rebuild. This issue does not occur in VS2019.

Expected Behavior

Compile modified files as normal as VS2019.

Steps To Reproduce

  1. Compile ShellPkg using build -a X64 -b NOOPT -t CLANGDWARF -p ShellPkg/ShellPkg.dsc.
  2. Modify any header file in ShellPkg, for example Shell.h.
  3. Recompile ShellPkg using build -a X64 -b NOOPT -t CLANGDWARF -p ShellPkg/ShellPkg.dsc.
  4. At this point, you will notice that no files were compiled.

Build Environment

- OS(s): Windows10 LTSC 2021 X64
- Tool Chain(s): CLANGDWARF

Version Information

Tag: edk2-stable202411

Urgency

Low

Are you going to fix this?

Someone else needs to fix it

Do you need maintainer feedback?

Maintainer feedback requested

Anything else?

No response

@kanren3 kanren3 added state:needs-triage type:bug Something isn't working labels Feb 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant