Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: David Paterson <dnpaterson@gmail.com>
To: Ralf Corsepius <ralf.corsepius@rtems.org>
Cc: Keith Seitz <keiths@redhat.com>, gdb@sourceware.org
Subject: Re: Problem building GDB for sparc-rtems
Date: Thu, 19 May 2011 13:07:00 -0000	[thread overview]
Message-ID: <BANLkTik987Xiz-tC0A0vDWA89OY8M9mKnw@mail.gmail.com> (raw)
In-Reply-To: <4DD4F35B.6030704@rtems.org>

On Thu, May 19, 2011 at 11:39 AM, Ralf Corsepius
<ralf.corsepius@rtems.org> wrote:
> On 05/19/2011 12:11 PM, David Paterson wrote:
>>
>> Thanks Ralf - I'll change the scripts (although as you say it
>> shouldn't make a difference).
>
> All patterns in all binutils, gcc and gdb configuration scripts are supposed
> to match on "sparc-rtems*", so it should not actually matter.

Yeah, I noticed that as well, but I'll change the name for consistency with the
standard RTEMS conventions.  It'll keep us on the same page.

>>> I am building all *-rtems targets fairly frequently without many problems
>>> (cf. ftp://ftp.rtems.org/pub/rtems/linux/4.11).
>>>
>>> However gdb's dependencies are a royal pain and occasionally cause
>>> building
>>> gdb produce bizarre errors. Which host OS are you using?
>>
>> I'm using MinGW under Windows 7. If that's likely to be a problem I could
>> set up a VM for Linux.
>
> It likely is a problem.

Ah, in that case I'll switch over to a Unix environment and try that.  I'd hoped
the MinGW environment was similar enough, but there may be subtle differences.

> I am building mingw32 RTEMS packages Canadian-cross under Fedora
> c.f. http://www.rtems.org/ftp/pub/rtems/mingw32
>
> http://www.rtems.org/ftp/pub/rtems/mingw32/4.11/rtems-4.11-sparc-rtems4.11-gdb/
> contains sparc-rtems4.11-gdb-7.2
>
> (Despite the target name, these packages should also be usable with
> rtems4.10.)

I notice there's also a mingw32/4.10 directory, so I should perhaps try using
that version first.

>> It all looks OK, and the makefiles seem to be sensible, but I'll check
>> through
>> it again.  I've done a diff between the "sparc-rtems" and "sparc-elf"
>> versions
>> of the build and nothing obvious jumps out.
>
> I have no idea. As you correctly found out, sparc-rtems*-gdb and
> sparc-elf*-gdb are almost identical.

> The only real difference is the official RTEMS packages have patches
> applied, which are not in FSF's gdb.
> Dunno, if you are using these patches - If so, timestamps could make a
> difference.
>
> However none of our patches explain your breakdown.

I am, as you guess, using the raw GCC sources to build my toolchain,
and ploughed on merrily with GDB as well.  It's possible that there is a
patch which affects this, so I'll try your patched ones and see if that
works.  If not, I'll switch to Linux and try again.

Thanks again, and I'll update once I've tried these rebuilds...

David P.


  reply	other threads:[~2011-05-19 13:07 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-16 16:35 David Paterson
2011-05-18 23:45 ` Keith Seitz
2011-05-19  8:54   ` David Paterson
2011-05-19  9:49     ` Ralf Corsepius
2011-05-19 10:11       ` David Paterson
2011-05-19 10:39         ` Ralf Corsepius
2011-05-19 13:07           ` David Paterson [this message]
2011-05-19 13:44             ` Joel Sherrill
2011-05-19 14:09               ` David Paterson
2011-05-19 18:51                 ` Keith Seitz
2011-05-20  8:59                   ` David Paterson
2011-05-20 13:05                     ` Joel Sherrill

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=BANLkTik987Xiz-tC0A0vDWA89OY8M9mKnw@mail.gmail.com \
    --to=dnpaterson@gmail.com \
    --cc=gdb@sourceware.org \
    --cc=keiths@redhat.com \
    --cc=ralf.corsepius@rtems.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