Re: compiling PPC kernels using binutils-220.127.116.11.22-5
On Tue, 21 Mar 2000, Geert Uytterhoeven wrote:
> Since binutils-18.104.22.168.22-5, the final stages in the kernel build process fail:
> | objcopy vmlinux.elf vmlinux.elf --add-section=.note=note \
> | --add-section=sysmap=../../../System.map -R .comment
> | objcopy: vmlinux.elf: File truncated
> | make: *** [vmlinux.elf] Error 1
> It looks like objcopy no longer creates temporary files (the manpage states it
> does), so it no longer works if the input and output file are the same.
> After reverting to binutils-22.214.171.124.22-4 everything worked fine again.
I'll figure this out. This whole security patch thing is overblown, IMO,
but I can see how it could pose a problem in a very specialised case. I'm
going to figure out why it's no longer doing temp files, since it really
should (all that was commented out by the patch was the initial unlinking
of the file, which shouldn't apply to linux anyway). It's very odd
I may go ahead and update binutils to 126.96.36.199.31, though, since it fixes
an ugly Alpha problem and may actually cover this as well (I just
downloaded and am checking it out now). I'll supply you with the source,
if you'd like, so you can check to see if this still happens. If you can,
please file a bug against binutils with a severity of important or
critical relating to the current behaviour. I may be able to override the
old bug if this is the result...