-I option expansion and -Wmissing-include-dirs |
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- Subject: -I option expansion and -Wmissing-include-dirs
- From: "Kirill A. Shutemov" <kirill@xxxxxxxxxxxxx>
- Date: Fri, 25 Nov 2011 15:46:17 +0200
- User-agent: Mutt/1.5.21 (2010-09-15)
Hi,
Currently, kbuild makes -I option expansion without any check if the
resulting include directory exists. It produce warnings if you try to build
with W=1 which enables -Wmissing-include-dirs. For example:
$ make W=1 O=~/var/tmp drivers/gpu/drm/drm_auth.o
Using /home/space/kas/git/public/linux as source for kernel
GEN /home/space/kas/var/tmp1/Makefile
CHK include/linux/version.h
CHK include/generated/utsrelease.h
CALL /home/space/kas/git/public/linux/scripts/checksyscalls.sh
CC [M] drivers/gpu/drm/drm_auth.o
cc1: warning: include/drm: No such file or directory [enabled by default]
It would be nice to address the issue.
P.S. [enabled by default] is gcc bug. [-Wmissing-include-dirs] should be there.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51303
--
Kirill A. Shutemov
--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Linux USB Devel]
[Linux Media]
[Video for Linux]
[Linux Audio Users]
[Photo]
[Yosemite News]
[Yosemite Photos]
[Free Online Dating]
[Linux Kernel]
[Linux SCSI]
[XFree86]