Re: latest libc and binutils

Philip Blundell (pjb27@cam.ac.uk)
Mon, 13 Jan 1997 00:08:58 +0000 (GMT)


On Sun, 12 Jan 1997, Alberto Vignani wrote:

> You need the newer binutils (2.7.0.>=5) to strip them. But if you install
> these binutils you can no more compile the kernel since encaps was removed
> and the parameters to objdump were changed.
>
> Stripping libc is not the point here; the real trouble is the change in
> binutils. Seems it has to do with the migration to libc-6, but it happened
> at the wrong moment since Linus has disappeared again :(
>
> Can please HJ explain to us bleeding-edge fanatics how to use the new
> binutils with the kernel?

Did you remove the old encaps? The kernel makefile says this:

zImage: $(CONFIGURE) bootsect setup compressed/vmlinux tools/build
if hash $(ENCAPS) 2> /dev/null; then \
$(OBJDUMP) $(OBJDUMP_FLAGS) -o $(ZIMAGE_OFFSET)
compressed/vmlinux > c
ompressed/vmlinux.out; \
else \
$(OBJCOPY) compressed/vmlinux compressed/vmlinux.out; \
fi

which implies that it ought to be able to build with the new objdump, but
only if the build can't find an encaps binary anywhere. It looks to me
like there ought to be a better way to do this test, maybe by checking
`objdump --version` or something, but that's not the point.

phil