[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: compiling PPC kernels using binutils-

On Tue, 21 Mar 2000, Geert Uytterhoeven wrote:

> Since binutils-, 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[1]: *** [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- 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, 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...


Reply to: