[<prev] [next>] [day] [month] [year] [list]
Message-ID: <4F67B23B.7010209@afaics.de>
Date: Mon, 19 Mar 2012 23:24:59 +0100
From: Harald Dunkel <harri@...ics.de>
To: Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: 3.3: 2nd build fails with asm/unistd_64.h: No such file or directory
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi folks,
If I build 3.3 _again_ from the same source tree, then I get a problem
about a missing asm/unistd_64.h. Here is a sample session:
% make -C /export/git/linux-source O=/export/tmp/build_kernel/build clean
make: Entering directory `/export/git/linux-source'
CLEAN .
CLEAN .tmp_versions
make: Leaving directory `/export/git/linux-source'
% make -C /export/git/linux-source clean
make: Entering directory `/export/git/linux-source'
make: Leaving directory `/export/git/linux-source'
% make -C /export/git/linux-source O=/export/tmp/build_kernel/build oldconfig
make: Entering directory `/export/git/linux-source'
HOSTCC scripts/basic/fixdep
GEN /export/tmp/build_kernel/build/Makefile
HOSTCC scripts/kconfig/conf.o
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
scripts/kconfig/conf --oldconfig Kconfig
#
# configuration written to .config
#
make: Leaving directory `/export/git/linux-source'
% make -C /export/git/linux-source O=/export/tmp/build_kernel/build
make: Entering directory `/export/git/linux-source'
GEN /export/tmp/build_kernel/build/Makefile
scripts/kconfig/conf --silentoldconfig Kconfig
make[2]: Nothing to be done for `all'.
Using /export/git/linux-source as source for kernel
GEN /export/tmp/build_kernel/build/Makefile
CHK include/linux/version.h
CHK include/generated/utsrelease.h
CC kernel/bounds.s
GEN include/generated/bounds.h
CC arch/x86/kernel/asm-offsets.s
In file included from /export/git/linux-source/include/linux/unistd.h:7:0,
from /export/git/linux-source/arch/x86/include/asm/seccomp_64.h:4,
from /export/git/linux-source/arch/x86/include/asm/seccomp.h:4,
from /export/git/linux-source/include/linux/seccomp.h:8,
from /export/git/linux-source/include/linux/sched.h:80,
from /export/git/linux-source/arch/x86/kernel/asm-offsets.c:9:
/export/git/linux-source/arch/x86/include/asm/unistd.h:16:29: fatal error: asm/unistd_64.h: No such file or directory
compilation terminated.
make[2]: *** [arch/x86/kernel/asm-offsets.s] Error 1
make[1]: *** [prepare0] Error 2
make: *** [sub-make] Error 2
make: Leaving directory `/export/git/linux-source'
AFAICS asm/unistd_64.h was generated in the source directory, even
though I explicitly specified a separate build directory. Is this
expected?
There was no such problem for 3.2.12 and older. "git clean -dfx"
seems to help.
Regards
Harri
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iEYEARECAAYFAk9nsjsACgkQUTlbRTxpHjc9ewCfXBfOXhT0Zh89r6N8upv3Dwur
CnAAn1U9qho/XJWO1h5D1NBMXIsBq+Jp
=CJLY
-----END PGP SIGNATURE-----
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists