public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* 2.4.17-pre5 "make bzImage" fails
@ 2001-12-06 19:50 devnull
  2001-12-06 19:53 ` Jeff Garzik
  0 siblings, 1 reply; 6+ messages in thread
From: devnull @ 2001-12-06 19:50 UTC (permalink / raw)
  To: linux-kernel

Hi,

I switched from 2.4.16 to 2.4.17-pre5 without changing config and now 
"make bzImage" fails with the following error:

----------------------------------------------------------------------------
tmppiggy=_tmp_$$piggy; \
rm -f $tmppiggy $tmppiggy.gz $tmppiggy.lnk; \
objcopy -O binary -R .note -R .comment -S /usr/src/linux/vmlinux
$tmppiggy; \
gzip -f -9 < $tmppiggy > $tmppiggy.gz; \
echo "SECTIONS { .data : { input_len = .; LONG(input_data_end -
input_data) input_data = .; *(.data) input_data_end = .; }}" >
$tmppiggy.lnk; \
ld -m elf_i386 -r -o piggy.o -b binary $tmppiggy.gz -b elf32-i386 -T
$tmppiggy.lnk; \
rm -f $tmppiggy $tmppiggy.gz $tmppiggy.lnk
gcc -D__ASSEMBLY__ -D__KERNEL__ -I/usr/src/linux/include -traditional -c
head.S
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes
-Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common
-pipe -mpreferred-stack-boundary=2 -march=athlon  -c misc.c
ld -m elf_i386 -Ttext 0x100000 -e startup_32 -o bvmlinux head.o misc.o
piggy.o
ld: bvmlinux: Not enough room for program headers (allocated 2, need 3)
ld: final link failed: Bad value
make[2]: *** [bvmlinux] Error 1
make[2]: Leaving directory directory
»/usr/src/linux/arch/i386/boot/compressed«
make[1]: *** [compressed/bvmlinux] Error 2
make[1]: Leaving directory directory
»/usr/src/linux/arch/i386/boot«
make: *** [bzImage] Error 2
----------------------------------------------------------------------------

Thanks for your support.
Dominik Geisel

-- 
The best we can hope for concerning the people at large is that they be
properly armed.
-Alexander Hamilton, The Federalist Papers at 184-188
9D84 35D7 07D8 6C3A 5D64  8F6E EAB5 159D E521 5E2D

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

* Re: 2.4.17-pre5 "make bzImage" fails
  2001-12-06 19:50 2.4.17-pre5 "make bzImage" fails devnull
@ 2001-12-06 19:53 ` Jeff Garzik
  2001-12-06 19:57   ` devnull
  0 siblings, 1 reply; 6+ messages in thread
From: Jeff Garzik @ 2001-12-06 19:53 UTC (permalink / raw)
  To: devnull; +Cc: linux-kernel

devnull@geisel.info wrote:
> 
> Hi,
> 
> I switched from 2.4.16 to 2.4.17-pre5 without changing config and now
> "make bzImage" fails with the following error:
> 
> ----------------------------------------------------------------------------
> tmppiggy=_tmp_$$piggy; \
> rm -f $tmppiggy $tmppiggy.gz $tmppiggy.lnk; \
> objcopy -O binary -R .note -R .comment -S /usr/src/linux/vmlinux
> $tmppiggy; \
> gzip -f -9 < $tmppiggy > $tmppiggy.gz; \
> echo "SECTIONS { .data : { input_len = .; LONG(input_data_end -
> input_data) input_data = .; *(.data) input_data_end = .; }}" >
> $tmppiggy.lnk; \
> ld -m elf_i386 -r -o piggy.o -b binary $tmppiggy.gz -b elf32-i386 -T
> $tmppiggy.lnk; \
> rm -f $tmppiggy $tmppiggy.gz $tmppiggy.lnk
> gcc -D__ASSEMBLY__ -D__KERNEL__ -I/usr/src/linux/include -traditional -c
> head.S
> gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes
> -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common
> -pipe -mpreferred-stack-boundary=2 -march=athlon  -c misc.c
> ld -m elf_i386 -Ttext 0x100000 -e startup_32 -o bvmlinux head.o misc.o
> piggy.o
> ld: bvmlinux: Not enough room for program headers (allocated 2, need 3)
> ld: final link failed: Bad value

did you upgrade your binutils recently?

-- 
Jeff Garzik      | Only so many songs can be sung
Building 1024    | with two lips, two lungs, and one tongue.
MandrakeSoft     |         - nomeansno


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

* Re: 2.4.17-pre5 "make bzImage" fails
  2001-12-06 19:53 ` Jeff Garzik
@ 2001-12-06 19:57   ` devnull
  2001-12-07  6:07     ` skidley
  2001-12-07 15:29     ` Chmouel Boudjnah
  0 siblings, 2 replies; 6+ messages in thread
From: devnull @ 2001-12-06 19:57 UTC (permalink / raw)
  To: Jeff Garzik; +Cc: linux-kernel

On Thu, Dec 06, 2001 at 02:53:16PM -0500, Jeff Garzik wrote:
> did you upgrade your binutils recently?

Yes, I upgraded to binutils-2.11.92.0.7-3mdk from Mandrake cooker today.


-- 
Where I was born and how I have lived is unimportant. It is what I have
done with where I have been that should be of interest.
-Georgia O'Keefe
9D84 35D7 07D8 6C3A 5D64  8F6E EAB5 159D E521 5E2D

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

* Re: 2.4.17-pre5 "make bzImage" fails
  2001-12-06 19:57   ` devnull
@ 2001-12-07  6:07     ` skidley
  2001-12-07  7:24       ` safemode
  2001-12-07 15:29     ` Chmouel Boudjnah
  1 sibling, 1 reply; 6+ messages in thread
From: skidley @ 2001-12-07  6:07 UTC (permalink / raw)
  To: devnull; +Cc: Jeff Garzik, linux-kernel

On Thu, 6 Dec 2001 devnull@geisel.info wrote:

> On Thu, Dec 06, 2001 at 02:53:16PM -0500, Jeff Garzik wrote:
> > did you upgrade your binutils recently?
>
> Yes, I upgraded to binutils-2.11.92.0.7-3mdk from Mandrake cooker today.
>
That's the problem I had same version. I did rpm -Uvh --oldpackage of the
old versions of binutils, libbinutils and it compiled fine
-- 
Chad Young
Registered Linux User #195191 @ http://counter.li.org


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

* Re: 2.4.17-pre5 "make bzImage" fails
  2001-12-07  6:07     ` skidley
@ 2001-12-07  7:24       ` safemode
  0 siblings, 0 replies; 6+ messages in thread
From: safemode @ 2001-12-07  7:24 UTC (permalink / raw)
  To: skidley; +Cc: devnull, Jeff Garzik, linux-kernel

On Fri, 2001-12-07 at 01:07, skidley wrote:
> On Thu, 6 Dec 2001 devnull@geisel.info wrote:
> 
> > On Thu, Dec 06, 2001 at 02:53:16PM -0500, Jeff Garzik wrote:
> > > did you upgrade your binutils recently?
> >
> > Yes, I upgraded to binutils-2.11.92.0.7-3mdk from Mandrake cooker today.
> >
> That's the problem I had same version. I did rpm -Uvh --oldpackage of the
> old versions of binutils, libbinutils and it compiled fine
> -- 
> Chad Young
> Registered Linux User #195191 @ http://counter.li.org

The problem isn't binutils, it's the kernel.  binutils let the kernel
get away with it before, that's why it compiles fine on older versions. 


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

* Re: 2.4.17-pre5 "make bzImage" fails
  2001-12-06 19:57   ` devnull
  2001-12-07  6:07     ` skidley
@ 2001-12-07 15:29     ` Chmouel Boudjnah
  1 sibling, 0 replies; 6+ messages in thread
From: Chmouel Boudjnah @ 2001-12-07 15:29 UTC (permalink / raw)
  To: devnull; +Cc: Jeff Garzik, linux-kernel

devnull@geisel.info writes:

> On Thu, Dec 06, 2001 at 02:53:16PM -0500, Jeff Garzik wrote:
> > did you upgrade your binutils recently?
> 
> Yes, I upgraded to binutils-2.11.92.0.7-3mdk from Mandrake cooker today.

get 4mdk it should be fixed there. (please: discus mdk problems on mdk ml's).

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

end of thread, other threads:[~2001-12-07 15:32 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-12-06 19:50 2.4.17-pre5 "make bzImage" fails devnull
2001-12-06 19:53 ` Jeff Garzik
2001-12-06 19:57   ` devnull
2001-12-07  6:07     ` skidley
2001-12-07  7:24       ` safemode
2001-12-07 15:29     ` Chmouel Boudjnah

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox