Bug 88351

Summary: "make distclean" does not remove all generated files
Product: Platform Specific/Hardware Reporter: MDBürkle (dominik.buerkle)
Component: i386Assignee: platform_i386
Status: RESOLVED OBSOLETE    
Severity: low CC: alan, kernel
Priority: P5    
Hardware: All   
OS: Linux   
URL: https://bugs.gentoo.org/show_bug.cgi?id=529478
Kernel Version: 3.16.0 up to 4.0.5 Subsystem:
Regression: Yes Bisected commit-id:

Description MDBürkle 2014-11-17 14:42:53 UTC
"make distclean" should remove all generated files, but leaves some files in arch/x86/vdso/ behind:

lapmdb-hpl ~ #>> find /usr/src/linux-3.17.3
/usr/src/linux-3.17.3
/usr/src/linux-3.17.3/arch
/usr/src/linux-3.17.3/arch/x86
/usr/src/linux-3.17.3/arch/x86/vdso
/usr/src/linux-3.17.3/arch/x86/vdso/vdso-image-32-syscall.c
/usr/src/linux-3.17.3/arch/x86/vdso/vdso-image-64.c
/usr/src/linux-3.17.3/arch/x86/vdso/vdso64.so.dbg
/usr/src/linux-3.17.3/arch/x86/vdso/vdso-image-32-int80.c
/usr/src/linux-3.17.3/arch/x86/vdso/vdso-image-32-sysenter.c
/usr/src/linux-3.17.3/arch/x86/vdso/vdso64.so
lapmdb-hpl ~ #>> 

This is a result of Gentoo GNU/Linux:

# emerge vanilla-sources # (3.17.3)
# make localyesconfig
# make -j 5 bzImage modules
# make distclean
# emerge --unmerge vanilla-sources # (3.17.3)

Please fix the Makefile in arch/x86/vdso/ to somehow include the generated files when cleaning up.
The 3.15.x series did clean that up, IIRC.

Kind regards,
mdbuerkle
Comment 1 MDBürkle 2015-06-29 22:20:16 UTC
Fixed in kernel 4.1.0.