From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32536 invoked by alias); 19 Jun 2007 15:15:18 -0000 Received: (qmail 32525 invoked by uid 22791); 19 Jun 2007 15:15:17 -0000 X-Spam-Check-By: sourceware.org Received: from igw3.br.ibm.com (HELO igw3.br.ibm.com) (32.104.18.26) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 19 Jun 2007 15:15:13 +0000 Received: from mailhub3.br.ibm.com (unknown [9.18.232.110]) by igw3.br.ibm.com (Postfix) with ESMTP id D19BF390253 for ; Tue, 19 Jun 2007 12:04:39 -0300 (BRT) Received: from d24av02.br.ibm.com (d24av02.br.ibm.com [9.18.232.47]) by mailhub3.br.ibm.com (8.13.8/8.13.8/NCO v8.3) with ESMTP id l5JFEpvE1261658 for ; Tue, 19 Jun 2007 12:14:53 -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 l5JFDU2p028367 for ; Tue, 19 Jun 2007 12:13:38 -0300 Received: from [127.0.0.1] ([9.12.243.202]) by d24av02.br.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id l5JFDDD8027518; Tue, 19 Jun 2007 12:13:24 -0300 Message-ID: <4677F2CB.1020409@linux.vnet.ibm.com> Date: Tue, 19 Jun 2007 15:15:00 -0000 From: Luis Machado User-Agent: Thunderbird 2.0.0.0 (Windows/20070326) MIME-Version: 1.0 To: Markus Deuling CC: Daniel Jacobowitz , GDB discuss Subject: Re: Regressions on x86 References: <20070619120157.GA6031@caradoc.them.org> <4677CE0F.1090002@de.ibm.com> <20070619130535.GA9015@caradoc.them.org> <4677D79E.105@de.ibm.com> <20070619133612.GA10333@caradoc.them.org> <4677E297.6080606@de.ibm.com> In-Reply-To: <4677E297.6080606@de.ibm.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-06/txt/msg00161.txt.bz2 Daniel, That fixed problems on POWER as well. Thanks. Best regards, Luis Markus Deuling wrote: > Daniel Jacobowitz wrote: >> On Tue, Jun 19, 2007 at 03:18:22PM +0200, Markus Deuling wrote: >>> Daniel Jacobowitz wrote: >>>> On Tue, Jun 19, 2007 at 02:37:35PM +0200, Markus Deuling wrote: >>>>>> Was elfread.o linked in? If not, what does config.log say about the >>>>>> -lbfd test? >>>>> bfd/elf.o was compiled. elfread.o not. >>>> Then see the other part of my question :-) >>> >>> configure:21807: checking for ELF support in BFD >>> configure:21831: gcc -o conftest -g -O2 >>> -I/home/deuling/gdb/dev/gdb/../include -I/../bfd >>> -I/home/deuling/gdb/dev/gdb/../bfd -L../bfd -L../libiberty >>> conftest.c -lncurses -lm -lbfd -liberty >&5 >>> In file included from /home/deuling/gdb/dev/gdb/../bfd/elf-bfd.h:27, >>> from conftest.c:133: >>> /home/deuling/gdb/dev/gdb/../include/elf/external.h:248: error: >>> syntax error before "Elf_External_Versym" >>> /home/deuling/gdb/dev/gdb/../include/elf/external.h:248: warning: >>> data definition has no type or storage class >>> In file included from conftest.c:133: >>> /home/deuling/gdb/dev/gdb/../bfd/elf-bfd.h:1459: error: syntax error >>> before '*' token >>> /home/deuling/gdb/dev/gdb/../bfd/elf-bfd.h:1461: error: syntax error >>> before "Elf_External_Versym" >> >> That is ATTRIBUTE_PACKED, which is always defined by ansidecl.h, which >> is always included by bfd.h. "-I/../bfd" is not a good sign. It >> looks like I messed up. Please try this patch? >> > configure:21807: checking for ELF support in BFD > configure:21831: gcc -o conftest -g -O2 -I../../gdb/../include > -I../bfd -I../../gdb/../bfd -L../bfd -L../libiberty conftest.c > -lncurses -lm -lbfd -liberty >&5 > > # of expected passes 11552 > # of unexpected failures 25 > > Looks good :-) > >