Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Markus Deuling <deuling@de.ibm.com>
To: Daniel Jacobowitz <drow@false.org>, GDB discuss <gdb@sourceware.org>
Subject: Re: Regressions on x86
Date: Tue, 19 Jun 2007 14:06:00 -0000	[thread overview]
Message-ID: <4677E297.6080606@de.ibm.com> (raw)
In-Reply-To: <20070619133612.GA10333@caradoc.them.org>

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


  reply	other threads:[~2007-06-19 14:06 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-19  4:17 Markus Deuling
2007-06-19 12:01 ` Daniel Jacobowitz
2007-06-19 12:39   ` Markus Deuling
2007-06-19 13:05     ` Daniel Jacobowitz
2007-06-19 13:19       ` Markus Deuling
2007-06-19 13:36         ` Daniel Jacobowitz
2007-06-19 14:06           ` Markus Deuling [this message]
2007-06-19 15:15             ` Luis Machado

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4677E297.6080606@de.ibm.com \
    --to=deuling@de.ibm.com \
    --cc=drow@false.org \
    --cc=gdb@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox