LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* Re: 2.6.20 doesn't compile with gcc-3.2.2
@ 2007-02-05 15:49 Kilau, Scott
  0 siblings, 0 replies; 10+ messages in thread
From: Kilau, Scott @ 2007-02-05 15:49 UTC (permalink / raw)
  To: linux-kernel; +Cc: a1426z

Hi all,

> > objcopy: arch/i386/boot/compressed/vmlinux.bin: File truncated
> > make[2]: *** [arch/i386/boot/compressed/vmlinux.bin] Error 1
> > make[1]: *** [arch/i386/boot/compressed/vmlinux] Error 2
> > make: *** [bzlilo] Error 2

I got the same as well here on my box.

I am using Red Hat 9, with a lot of things upgraded.

I found other "hints" that this might be a binutils issue,
which obviously hasn't been touched in years on Red Hat 9,
so I picked up the binutils built for Fedora Core 3,
and installed them...

That solved the problem.

Scott Kilau




^ permalink raw reply	[flat|nested] 10+ messages in thread
* 2.6.20 doesn't compile with gcc-3.2.2
@ 2007-02-05 13:48 Bodo Eggert
  2007-02-05 15:07 ` Alistair John Strachan
  0 siblings, 1 reply; 10+ messages in thread
From: Bodo Eggert @ 2007-02-05 13:48 UTC (permalink / raw)
  To: linux-kernel, Al Boldi

Al Boldi <a1426z@gawab.com> wrote:

> Doing the following results in an incomplete vmlinuz:

> # make bzlilo
> 
> objcopy: arch/i386/boot/compressed/vmlinux.bin: File truncated
> make[2]: *** [arch/i386/boot/compressed/vmlinux.bin] Error 1
> make[1]: *** [arch/i386/boot/compressed/vmlinux] Error 2
> make: *** [bzlilo] Error 2

> gcc version 3.2.2 (Mandrake Linux 9.1 3.2.2-3mdk)

I just compiled using gcc 3.3.5 (debian stable). Please verify that your 
disk is not full and gcc is the cause. If it is, this patch should do the 
trick: :)

--- ./Documentation/Changes~	2007-02-05 15:10:04.000000000 +0100
+++ ./Documentation/Changes	2007-02-05 15:10:04.000000000 +0100
@@ -29,5 +29,5 @@ hardware, for example, you probably need
 isdn4k-utils.
 
-o  Gnu C                  3.2                     # gcc --version
+o  Gnu C                  3.3                     # gcc --version
 o  Gnu make               3.79.1                  # make --version
 o  binutils               2.12                    # ld -v

-- 
Anything you do can get you shot, including nothing. 

^ permalink raw reply	[flat|nested] 10+ messages in thread
* 2.6.20 doesn't compile with gcc-3.2.2
@ 2007-02-05 12:31 Al Boldi
  2007-02-05 13:24 ` Alistair John Strachan
  2007-02-07 10:33 ` Andi Kleen
  0 siblings, 2 replies; 10+ messages in thread
From: Al Boldi @ 2007-02-05 12:31 UTC (permalink / raw)
  To: linux-kernel


Doing the following results in an incomplete vmlinuz:

# make mrproper
# make allnoconfig
# make bzlilo

objcopy: arch/i386/boot/compressed/vmlinux.bin: File truncated
make[2]: *** [arch/i386/boot/compressed/vmlinux.bin] Error 1
make[1]: *** [arch/i386/boot/compressed/vmlinux] Error 2
make: *** [bzlilo] Error 2

# gcc -v
Reading specs from /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2.2/specs
Configured with: ../configure --prefix=/usr --libdir=/usr/lib 
--with-slibdir=/lib --mandir=/usr/share/man --infodir=/usr/share/info 
--enable-shared --enable-threads=posix --disable-checking --enable-long-long 
--enable-__cxa_atexit --enable-languages=c,c++,ada,f77,objc,java 
--host=i586-mandrake-linux-gnu --with-system-zlib
Thread model: posix
gcc version 3.2.2 (Mandrake Linux 9.1 3.2.2-3mdk)


Is gcc-4.0.1 now the minimum required to compile the kernel?


Thanks!

--
Al


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2007-02-07 14:14 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <200702052104.36388.a1426z@gawab.com>
2007-02-05 18:13 ` 2.6.20 doesn't compile with gcc-3.2.2 Kilau, Scott
2007-02-05 15:49 Kilau, Scott
  -- strict thread matches above, loose matches on Subject: below --
2007-02-05 13:48 Bodo Eggert
2007-02-05 15:07 ` Alistair John Strachan
     [not found]   ` <200702052104.44580.a1426z@gawab.com>
2007-02-05 18:15     ` Alistair John Strachan
2007-02-05 18:26     ` Alistair John Strachan
2007-02-05 12:31 Al Boldi
2007-02-05 13:24 ` Alistair John Strachan
2007-02-07 10:33 ` Andi Kleen
2007-02-07 14:16   ` Al Boldi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).