objdump and linux

Ian Lance Taylor ian@cygnus.com
Mon Nov 24 21:47:00 GMT 1997


   Date: Mon, 24 Nov 1997 14:26:31 -0500
   From: Paul Koning <pkoning@xedia.com>
   Sender: owner-egcs@cygnus.com

   I installed a recent Binutils because the instructions said that's
   needed for egcs.  But that version (970731) has an objdump that no
   longer understands the -k switch -- which the 2.7 version does
   understand.  The linux kernel build needs that switch.

   It's not a good thing for egcs to be dependent on something that
   breaks the ability to build kernels...

The Linux kernel build procedure works in one of two ways.  If you
have encaps in your PATH, it uses a hacked version of objdump that was
never in the GNU binutils.  If you do not have encaps in your PATH,
then it uses a procedure that works correctly with the GNU binutils.

So the fix is to remove your copy of encaps.

Ian



More information about the Gcc mailing list