Skip to content

ccc: doesn't pass -Wp,-MD, to clang #3974

@edwintorok

Description

@edwintorok
Bugzilla Link 3602
Resolution FIXED
Resolved on Mar 31, 2009 15:56
Version unspecified
OS Linux
Depends On llvm/llvm-bugzilla-archive#3603

Extended Description

I tried to build the linux kernel with clang, it gets this far:

ccc -Wp,-MD,kernel/.bounds.s.d -nostdinc -isystem include -Iinclude -I/home/edwin/builds/linux-2.6/arch/x86/include -include include/linux/autoconf.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -O2 -m64 -march=core2 -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Iarch/x86/include/asm/mach-default -Wframe-larger-than=2048 -fno-stack-protector -fno-omit-frame-pointer -fno-optimize-sibling-calls -Wdeclaration-after-statement -Wno-pointer-sign -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(bounds)" -D"KBUILD_MODNAME=KBUILD_STR(bounds)" -fverbose-asm -S -o kernel/bounds.s kernel/bounds.c

ccc: include: linker input file unused when -S is present
fixdep: kernel/.bounds.s.d: No such file or directory
make[1]: *** [kernel/bounds.s] Error 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzillaclang:driver'clang' and 'clang++' user-facing binaries. Not 'clang-cl'

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions