public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Sam Ravnborg <sam@ravnborg.org>
To: Oliver Antwerpen <olli@giesskaennchen.de>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: Kernel Build error (objdump fails)
Date: Thu, 2 Sep 2004 22:11:00 +0200	[thread overview]
Message-ID: <20040902201100.GA15298@mars.ravnborg.org> (raw)
In-Reply-To: <41377705.9060305@giesskaennchen.de>

On Thu, Sep 02, 2004 at 09:39:49PM +0200, Oliver Antwerpen wrote:
> Hi folks,
> 
> when compiling the linux kernel (I tried 2.6.8, 2.6.8.1, 2.6.9-rc1) I get:
> 
>   CC      arch/i386/kernel/acpi/sleep.o
>   AS      arch/i386/kernel/acpi/wakeup.o
>   LD      arch/i386/kernel/acpi/built-in.o
> arch/i386/kernel/acpi/boot.o: file not recognized: File truncated
> make[2]: *** [arch/i386/kernel/acpi/built-in.o] Error 1
> make[1]: *** [arch/i386/kernel/acpi] Error 2
> make: *** [arch/i386/kernel] Error 2

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.

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

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

	Sam

  reply	other threads:[~2004-09-02 20:20 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-02 19:39 Kernel Build error (objdump fails) Oliver Antwerpen
2004-09-02 20:11 ` Sam Ravnborg [this message]
2004-09-02 20:23   ` Oliver Antwerpen
2004-09-02 20:40     ` Sam Ravnborg
2004-09-03 23:51 ` Andrew Morton
2004-09-04  9:45   ` Oliver Antwerpen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040902201100.GA15298@mars.ravnborg.org \
    --to=sam@ravnborg.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=olli@giesskaennchen.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox