Messages in this thread | | | Date | Tue, 13 Jan 2009 11:23:10 +0800 | From | Wenji Huang <> | Subject | Building error of 2.6.29-rc1 using old binutils |
| |
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
| |