Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1L69gU-0004Ls-SE for mharc-grub-devel@gnu.org; Fri, 28 Nov 2008 15:11:26 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L69gT-0004Lk-0q for grub-devel@gnu.org; Fri, 28 Nov 2008 15:11:25 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L69gR-0004LM-E8 for grub-devel@gnu.org; Fri, 28 Nov 2008 15:11:24 -0500 Received: from [199.232.76.173] (port=54353 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L69gR-0004LJ-9Z for grub-devel@gnu.org; Fri, 28 Nov 2008 15:11:23 -0500 Received: from igw3.br.ibm.com ([32.104.18.26]:40181) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1L69gQ-0003gM-UU for grub-devel@gnu.org; Fri, 28 Nov 2008 15:11:23 -0500 Received: from d24relay01.br.ibm.com (unknown [9.8.31.16]) by igw3.br.ibm.com (Postfix) with ESMTP id CF60339013F for ; Fri, 28 Nov 2008 18:08:26 -0200 (BRDT) Received: from d24av02.br.ibm.com (d24av02.br.ibm.com [9.18.232.47]) by d24relay01.br.ibm.com (8.13.8/8.13.8/NCO v9.1) with ESMTP id mASLApZ43702890 for ; Fri, 28 Nov 2008 18:10:51 -0300 Received: from d24av02.br.ibm.com (loopback [127.0.0.1]) by d24av02.br.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id mASKBFX5002987 for ; Fri, 28 Nov 2008 18:11:15 -0200 Received: from [9.8.14.46] ([9.8.14.46]) by d24av02.br.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id mASKBFJT002971 for ; Fri, 28 Nov 2008 18:11:15 -0200 From: Manoel Rebelo Abranches To: The development of GRUB 2 In-Reply-To: <20081128195939.GE7980@thorin> References: <1227885703.7095.16.camel@manoel-laptop> <20081128195939.GE7980@thorin> Content-Type: text/plain Date: Fri, 28 Nov 2008 18:11:12 -0200 Message-Id: <1227903072.19951.1.camel@manoel-laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.24.1 Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (tstamp-) Subject: Re: ld option --build-id=none X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Nov 2008 20:11:25 -0000 But it is only passed in modules compilation. I need it when creating kernel.elf as well. On Fri, 2008-11-28 at 20:59 +0100, Robert Millan wrote: > On Fri, Nov 28, 2008 at 01:21:43PM -0200, Manoel Rebelo Abranches wrote: > > In the file conf/powerpc-ieee1275.rmk I need in newer ld versions to > > have: > > > > kernel_elf_LDFLAGS = $(COMMON_LDFLAGS) -static-libgcc -lgcc \ > > -Wl,-N,-S,-Ttext,0x200000,-Bstatic,--build-id=none > > > > > > and in older versions: > > > > kernel_elf_LDFLAGS = $(COMMON_LDFLAGS) -static-libgcc -lgcc \ > > -Wl,-N,-S,-Ttext,0x200000,-Bstatic > > > > Should I move it from conf/powerpc-ieee1275.rmk to the configure script? > > I thought it was there already (or something similar): > > aclocal.m4:[AC_MSG_CHECKING([whether linker accepts --build-id=none]) > -- Best Regards, Manoel Abranches IBM Linux Technology Center Brazil