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

clang -MD -MF doesn't create dependency file for .S source files #4435

Closed
edwintorok opened this issue Apr 25, 2009 · 5 comments
Closed

clang -MD -MF doesn't create dependency file for .S source files #4435

edwintorok opened this issue Apr 25, 2009 · 5 comments
Labels
bugzilla Issues migrated from bugzilla clang Clang issues not falling into any other category

Comments

@edwintorok
Copy link
Contributor

Bugzilla Link 4063
Resolution FIXED
Resolved on May 03, 2009 05:05
Version unspecified
OS Linux
Blocks llvm/llvm-bugzilla-archive#4068
CC @efriedma-quic

Extended Description

Works fine for .c files, but not for .S files:

clang -MD -MF arch/x86/kernel/.entry_64.o.d -nostdinc -isystem include -Iinclude -I/home/edwin/builds/linux-2.6/arch/x86/include -include include/linux/autoconf.h -D__KERNEL__ -D__ASSEMBLY__ -m64 -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -Iarch/x86/include/asm/mach-default -c -o arch/x86/kernel/entry_64.o arch/x86/kernel/entry_64.S
fixdep: arch/x86/kernel/.entry_64.o.d: No such file or directory

@efriedma-quic
Copy link
Collaborator

Note that this also affects Valgrind.

@llvmbot
Copy link
Collaborator

llvmbot commented May 3, 2009

This is because clang-cc currently is unable to generate dependency files when using -E. The problem is that both -E and dependency generation want to register preprocessor actions; this is probably just a matter of chaining one onto the other.

@llvmbot
Copy link
Collaborator

llvmbot commented May 3, 2009

@llvmbot
Copy link
Collaborator

llvmbot commented May 3, 2009

@edwintorok
Copy link
Contributor Author

mentioned in issue llvm/llvm-bugzilla-archive#4068

@llvmbot llvmbot transferred this issue from llvm/llvm-bugzilla-archive Dec 3, 2021
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugzilla Issues migrated from bugzilla clang Clang issues not falling into any other category
Projects
None yet
Development

No branches or pull requests

3 participants