lkml.org 
[lkml]   [2009]   [Jan]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectBuilding 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




\
 
 \ /
  Last update: 2009-01-13 04:29    [W:0.073 / U:0.132 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site