Kernel build fails "cannot move âarch/arm/boot/compressed/.piggy.gzip.o.tmp" then succeeds
From: Pavel Machek
Date: Mon Jan 11 2016 - 03:26:13 EST
Hi!
Ok, I guess it is second time I see it.
This time it is while cross-compiling 4.0 kernel on 4.4-rc5. Failure
is:
AS arch/arm/boot/compressed/piggy.gzip.o
AS arch/arm/boot/compressed/piggy.gzip.o
mv: cannot move âarch/arm/boot/compressed/.piggy.gzip.o.tmpâ to âarch/arm/boot/compressed/.piggy.gzip.o.cmdâ: No such file or directory
scripts/Makefile.build:294: recipe for target 'arch/arm/boot/compressed/piggy.gzip.o' failed
make[2]: *** [arch/arm/boot/compressed/piggy.gzip.o] Error 1
arch/arm/boot/Makefile:52: recipe for target 'arch/arm/boot/compressed/vmlinux' failed
make[1]: *** [arch/arm/boot/compressed/vmlinux] Error 2
arch/arm/Makefile:308: recipe for target 'zImage' failed
make: *** [zImage] Error 2
make: *** Waiting for unfinished jobs....
I'm building it like this...
eval ` eldk-switch.sh -r 5.4 armv7a`
ARCH=arm long make -j 3 zImage uImage LOADADDR=0x8000 && \
It builds ok after re-run. Is building zImage and uImage at the same
time bad idea?
pavel@duo:~/stahl/linux$ ./mkit
Setup for armv7a (using ELDK 5.4)
25205 (process ID) old priority 0, new priority 10
CHK include/config/kernel.release
CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
make[1]: 'include/generated/mach-types.h' is up to date.
CALL scripts/checksyscalls.sh
CHK include/generated/compile.h
CHK kernel/config_data.h
Kernel: arch/arm/boot/Image is ready
Kernel: arch/arm/boot/Image is ready
Kernel: arch/arm/boot/zImage is ready
Kernel: arch/arm/boot/zImage is ready
Image arch/arm/boot/uImage is ready
make took 0 minutes 37 seconds
Any other ideas?
Thanks,
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html