* Kernel Build error (objdump fails)
@ 2004-09-02 19:39 Oliver Antwerpen
2004-09-02 20:11 ` Sam Ravnborg
2004-09-03 23:51 ` Andrew Morton
0 siblings, 2 replies; 6+ messages in thread
From: Oliver Antwerpen @ 2004-09-02 19:39 UTC (permalink / raw)
To: Linux Kernel Mailing List
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
c80:/tmp# gcc --version
gcc (GCC) 3.3.4 (Debian 1:3.3.4-6sarge1)
c80:/tmp# objdump -v
GNU objdump 2.14.90.0.7 20031029 Debian GNU/Linux
c80:/tmp# make -v
GNU Make 3.80
Which information do you need? Where shall I start?
Ollfried
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Kernel Build error (objdump fails)
2004-09-02 19:39 Kernel Build error (objdump fails) Oliver Antwerpen
@ 2004-09-02 20:11 ` Sam Ravnborg
2004-09-02 20:23 ` Oliver Antwerpen
2004-09-03 23:51 ` Andrew Morton
1 sibling, 1 reply; 6+ messages in thread
From: Sam Ravnborg @ 2004-09-02 20:11 UTC (permalink / raw)
To: Oliver Antwerpen; +Cc: Linux Kernel Mailing List
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Kernel Build error (objdump fails)
2004-09-02 20:11 ` Sam Ravnborg
@ 2004-09-02 20:23 ` Oliver Antwerpen
2004-09-02 20:40 ` Sam Ravnborg
0 siblings, 1 reply; 6+ messages in thread
From: Oliver Antwerpen @ 2004-09-02 20:23 UTC (permalink / raw)
To: Sam Ravnborg, Linux Kernel Mailing List
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Kernel Build error (objdump fails)
2004-09-02 20:23 ` Oliver Antwerpen
@ 2004-09-02 20:40 ` Sam Ravnborg
0 siblings, 0 replies; 6+ messages in thread
From: Sam Ravnborg @ 2004-09-02 20:40 UTC (permalink / raw)
To: Oliver Antwerpen; +Cc: Sam Ravnborg, Linux Kernel Mailing List
On Thu, Sep 02, 2004 at 10:23:59PM +0200, Oliver Antwerpen wrote:
>
> 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?
Nope - need more info to get an idea.
What filesystem do you use?
NFS, ext2, ???
What kernel are you running when compiling?
Any other parts of the system that shows abnormal behaviour?
Sam
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Kernel Build error (objdump fails)
2004-09-02 19:39 Kernel Build error (objdump fails) Oliver Antwerpen
2004-09-02 20:11 ` Sam Ravnborg
@ 2004-09-03 23:51 ` Andrew Morton
2004-09-04 9:45 ` Oliver Antwerpen
1 sibling, 1 reply; 6+ messages in thread
From: Andrew Morton @ 2004-09-03 23:51 UTC (permalink / raw)
To: Oliver Antwerpen; +Cc: linux-kernel
Oliver Antwerpen <olli@giesskaennchen.de> wrote:
>
> 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
What kernel are you running when performing the build?
There's a bug in 2.6.9-rc1-mm1 which will cause the above.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Kernel Build error (objdump fails)
2004-09-03 23:51 ` Andrew Morton
@ 2004-09-04 9:45 ` Oliver Antwerpen
0 siblings, 0 replies; 6+ messages in thread
From: Oliver Antwerpen @ 2004-09-04 9:45 UTC (permalink / raw)
To: linux-kernel; +Cc: Andrew Morton
Andrew Morton wrote:
> Oliver Antwerpen <olli@giesskaennchen.de> wrote:
>
>>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
>
>
> What kernel are you running when performing the build?
>
> There's a bug in 2.6.9-rc1-mm1 which will cause the above.
Andrew,
You are right, I as running 2.6.9-rc1-mm1. As I found out this night,
the bug only occurs under this kernel and only on ext3-Filesystems.
Thank you!
Ollfried
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2004-09-04 9:45 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-02 19:39 Kernel Build error (objdump fails) Oliver Antwerpen
2004-09-02 20:11 ` Sam Ravnborg
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
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox