All of lore.kernel.org
 help / color / mirror / Atom feed
* trouble with 2.4.2 just released
@ 2001-02-22 18:55 Heitzso
  2001-02-22 19:57 ` Keith Owens
  0 siblings, 1 reply; 4+ messages in thread
From: Heitzso @ 2001-02-22 18:55 UTC (permalink / raw)
  To: 'linux-kernel@vger.kernel.org'

I have two boxes that I immediately
tried upgrading the OS on.  In both
cases I use a script to automate the
build with a saved off .config file.
simplified ..
 untar linux tar ball
 cp config.blat linux/.config
 cd linux
 make oldconfig
 make menuconfig
 cp .config ../config.blat
 make bzImage
 make modules
 make modules_install
 ... copy files around ...
 lilo

On one box the build completed but 
with half a dozen C warnings and
a block of assembler warnings (RH7).  
These will always leave a sys admin 
nervous about running a kernel.

On the other box I have yet to get a
successful build (using a .config that
runs 2.4.2-pre4 fine).  ld complains
about a missing binary file.

ld: cannot open binary: no such file or directory

email be directly at xxh1@cdc.gov if
someone has a specific question re how
the kernel broke or if they want a copy
of my .config file

Note I'm running debian unstable/woody
on the system that's failing to build 
2.4.2, but this same system handled 
2.4.2-pre4 albeit with the warnings fine.

Also, feel free to throw the standard
idiot questions at me, I may have made
an idiot mistake.  My /usr partition
that has /usr/src/linux tree has 4G
avail, so I'm not running out of drive
space.  I'm running the script as root.
I tried both bz2 and gz versions of tarball.
... what am I missing ... ?

Heitzso
xxh1@cdc.gov

^ permalink raw reply	[flat|nested] 4+ messages in thread
* trouble with 2.4.2 just released
@ 2001-02-22 19:44 f5ibh
  0 siblings, 0 replies; 4+ messages in thread
From: f5ibh @ 2001-02-22 19:44 UTC (permalink / raw)
  To: xxh1; +Cc: linux-kernel

Hi Heitzso,

>On the other box I have yet to get a
>successful build (using a .config that
>runs 2.4.2-pre4 fine).  ld complains
>about a missing binary file.

>ld: cannot open binary: no such file or directory

ld is not complaining about a missing file.

The problem is with the version of ld you use. Some versions are using 
ld --oformat and other versions ld -oformat

This is quite a recent issue. So check the version of you linker.

You can solve the problem changing :
./arch/i386/boot/Makefile:      $(LD) -Ttext 0x0 -s -oformat binary -o $@ $<
to                                                  --oformat 

I think you hav not done any mistake, but the latest Debian (unstable) version
of ld seems not to be right.

I think this will works.

---------
Best Regards 

		Jean-Luc

^ permalink raw reply	[flat|nested] 4+ messages in thread
* RE: trouble with 2.4.2 just released
@ 2001-02-22 19:53 Christopher Chimelis
  0 siblings, 0 replies; 4+ messages in thread
From: Christopher Chimelis @ 2001-02-22 19:53 UTC (permalink / raw)
  To: 'f5ibh', xxh1; +Cc: linux-kernel


> The problem is with the version of ld you use. Some versions 
> are using 
> ld --oformat and other versions ld -oformat
> 
> This is quite a recent issue. So check the version of you linker.
> 
> You can solve the problem changing :
> ./arch/i386/boot/Makefile:      $(LD) -Ttext 0x0 -s -oformat 
> binary -o $@ $<
> to                                                  --oformat 
> 
> I think you hav not done any mistake, but the latest Debian 
> (unstable) version
> of ld seems not to be right.

The latest binutils in Debian potato will take either -oformat or --oformat,
IIRC.
The lastest binutils in Debian unstable (just uploaded yesterday) will only
take --oformat.  So, if you modify arch/i386/boot/Makefile to read:

	$(LD) -Ttext 0x0 -s --oformat binary -o $@ $< ...blah blah blah
you should be fine no matter which you're using...

Chris
(Debian binutils maintainer)

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

end of thread, other threads:[~2001-02-22 19:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-02-22 18:55 trouble with 2.4.2 just released Heitzso
2001-02-22 19:57 ` Keith Owens
  -- strict thread matches above, loose matches on Subject: below --
2001-02-22 19:44 f5ibh
2001-02-22 19:53 Christopher Chimelis

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.