Re: Kernel Build error (objdump fails)

From: Oliver Antwerpen
Date: Thu Sep 02 2004 - 15:30:08 EST


Sam Ravnborg wrote:
On Thu, Sep 02, 2004 at 09:39:49PM +0200, Oliver Antwerpen wrote:

when compiling the linux kernel (I tried 2.6.8, 2.6.8.1, 2.6.9-rc1) I get:
arch/i386/kernel/acpi/boot.o: file not recognized: File truncated

Strange...
Try the following:
rm arch/i386/kernel/acpi/boot.o
make V=1

Since you have tried several versions I assume this file has been rebuild,
so it will still fail.

Right. I had tried this before. The gcc-call works just fine, anyway boot.o is truncated.

Try:
nm -p arch/i386/kernel/acpi/boot.o
objdump -x arch/i386/kernel/acpi/boot.o

Both say: File truncated

Try running the gcc command by hand and see if .o file is still bad.

Yes, still bad.


I now tried compiling with gcc-3.4 (3.4.1 (Debian 3.4.1-4sarge1)), that works fine.

I am just compiling 2.6.8 with gcc-3.4. This fails at:
mm/fremap.o: file not recognized: File truncated

Any ideas?

Ollfried


-
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/