Building error of 2.6.29-rc1 using old binutils

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

 



Hi,

Sorry, resend it in terms of correct subject.

I got the following building error for 2.6.29-rc1.
# make
  CHK     include/linux/version.h
  CHK     include/linux/utsrelease.h
  SYMLINK include/asm -> include/asm-x86
  CALL    scripts/checksyscalls.sh
  CHK     include/linux/compile.h
  IHEX    firmware/e100/d101m_ucode.bin
  AS      firmware/e100/d101m_ucode.bin.gen.o
  IHEX    firmware/e100/d101s_ucode.bin
  AS      firmware/e100/d101s_ucode.bin.gen.o
  IHEX    firmware/e100/d102e_ucode.bin
  AS      firmware/e100/d102e_ucode.bin.gen.o
  LD      firmware/built-in.o
  LD      vmlinux.o
  MODPOST vmlinux.o
  GEN     .version
  CHK     include/linux/compile.h
  UPD     include/linux/compile.h
  CC      init/version.o
  LD      init/built-in.o
  LD      .tmp_vmlinux1
  STRIP   .tmp_vmlinux1.stripped
objcopy: unrecognized option `--strip-unneeded-symbols'

# objcopy --version
GNU objcopy 2.15.92.0.2 20040927
Copyright 2004 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of the GNU General Public License. This program has absolutely no warranty.


The option --strip-unneeded-symbols is only available on higher version, but not exists on binutils-2.15.

Seems to keep Makefile compatible on all kinds of circumstances. Like,

quiet_cmd_kstrip = STRIP   $@
cmd_kstrip = $(OBJCOPY) --wildcard $(addprefix --strip-symbols ,$(filter %/scripts/strip-symbols,$^)) $< $@


Regards,
Wenji


--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux