From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13622 invoked by alias); 19 Jun 2007 14:06:42 -0000 Received: (qmail 13608 invoked by uid 22791); 19 Jun 2007 14:06:40 -0000 X-Spam-Check-By: sourceware.org Received: from mtagate3.de.ibm.com (HELO mtagate3.de.ibm.com) (195.212.29.152) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 19 Jun 2007 14:06:38 +0000 Received: from d12nrmr1607.megacenter.de.ibm.com (d12nrmr1607.megacenter.de.ibm.com [9.149.167.49]) by mtagate3.de.ibm.com (8.13.8/8.13.8) with ESMTP id l5JE6ZSN097542 for ; Tue, 19 Jun 2007 14:06:35 GMT Received: from d12av02.megacenter.de.ibm.com (d12av02.megacenter.de.ibm.com [9.149.165.228]) by d12nrmr1607.megacenter.de.ibm.com (8.13.8/8.13.8/NCO v8.3) with ESMTP id l5JE6Z7h3977432 for ; Tue, 19 Jun 2007 16:06:35 +0200 Received: from d12av02.megacenter.de.ibm.com (loopback [127.0.0.1]) by d12av02.megacenter.de.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id l5JE6YTL025795 for ; Tue, 19 Jun 2007 16:06:35 +0200 Received: from [9.145.136.202] (itv04021.de.ibm.com [9.145.136.202]) by d12av02.megacenter.de.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id l5JE6WXp025759 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 19 Jun 2007 16:06:34 +0200 Message-ID: <4677E297.6080606@de.ibm.com> Date: Tue, 19 Jun 2007 14:06:00 -0000 From: Markus Deuling User-Agent: Thunderbird 1.5.0.10 (X11/20070301) MIME-Version: 1.0 To: 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> In-Reply-To: <20070619133612.GA10333@caradoc.them.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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/msg00160.txt.bz2 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 :-) -- Markus Deuling GNU Toolchain for Linux on Cell BE deuling@de.ibm.com