Re: 2.6.36-rc3 - Unable to build: "Error: input truncated"

From: Randy Dunlap
Date: Sun Sep 12 2010 - 23:13:21 EST


On Mon, 13 Sep 2010 09:07:45 +1000 Nigel Cunningham wrote:

> Hi.
>
> On 13/09/10 03:34, Rafael J. Wysocki wrote:
> > On Sunday, September 12, 2010, Nigel Cunningham wrote:
> >> Hi all.
> >>
> >> I'm unable to compile the latest kernel and git bisect isn't helping:
> >
> > Did you try to save .config, run "make distclean" and restore .config?
>
> I hadn't tried that, but had done git reset --hard and make clean
> menuconfig bzImage. Trying distclean doesn't help, I'm afraid. Perhaps I
> should attach my .config. I'm running a 32 bit kernel/distro on a 64 bit
> machine if that makes any difference.


Try to strace scripts/mod/mk_elfconfig to see why it is producing
that error message:

scripts/mod/mk_elfconfig < scripts/mod/empty.o > scripts/mod/elfconfig.h
Error: input truncated

I guess that the empty.o file is not in the expected format.
Who owns that stuff, anyway?

You should probably post the empty.o file so that interested parties can
try to debug the problem.

I built the kernel just fine with the .config file that you posted.

---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/