Messages in this thread | | | Date | Sun, 23 Dec 2007 21:09:46 +0100 | From | Sam Ravnborg <> | Subject | Re: 2.6.24-rc6-mm1 |
| |
On Sun, Dec 23, 2007 at 02:53:34PM +0100, Rafael J. Wysocki wrote: > On Sunday, 23 of December 2007, Rafael J. Wysocki wrote: > > On Sunday, 23 of December 2007, Ingo Molnar wrote: > > > > > > * Rafael J. Wysocki <rjw@sisk.pl> wrote: > > > > > > > Well it doesn't build on x86-64 for me: > > > > > > > > CHK include/linux/compile.h > > > > CC arch/x86/ia32/../../../fs/compat_binfmt_elf.o > > > > Assembler messages: > > > > Fatal error: can't create arch/x86/ia32/../../../fs/.tmp_compat_binfmt_elf.o: No such file or directory > > > > make[2]: *** [arch/x86/ia32/../../../fs/compat_binfmt_elf.o] Error 2 > > > > > > > > I will post the .config if anyone is interested. > > > > > > yes, please send the .config. > > > > Attached. > > > > It also may be relevant that I compile the kernel with "make O=../build". > > I ran the compilation once again and it worked. Strange. Try to delete your fs/ directory in your output dir. Then I expect the same bug to surface again.
I guess it is because arch/x86/ia32/ is built before fs/ and gcc cannot create directories for the output files and it is the dependency files that triggers the error as this is the first file to be generated. The right fix is to move the build of compat_binfmt_elf to fs/Makefile as already discussed.
Sam
| |