lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <496C06D0.3060903@oracle.com>
Date:	Tue, 13 Jan 2009 11:13:20 +0800
From:	Wenji Huang <wenji.huang@...cle.com>
To:	Sam Ravnborg <sam@...nborg.org>
CC:	linux-kbuild@...r.kernel.org, lkml <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] Kbuild: generate debug info in building

Hi,
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-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ