public inbox for ecos-bugs@sourceware.org
help / color / mirror / Atom feed
From: bugzilla-daemon@ecoscentric.com
To: ecos-bugs@ecos.sourceware.org
Subject: [Bug 1000716] Error launching GDB to run eCos tests
Date: Tue, 10 Mar 2009 09:55:00 -0000	[thread overview]
Message-ID: <20090310095451.1E9CC3B40039@mail.ecoscentric.com> (raw)
In-Reply-To: <bug-1000716-13@http.bugs.ecos.sourceware.org/>

http://bugs.ecos.sourceware.org/show_bug.cgi?id=1000716





--- Comment #2 from John Dallaway <john@dallaway.org.uk>  2009-03-10 09:54:50 ---
-------- Original Message --------
Subject: Re: Re: File not found when running tests
Date: Tue, 10 Mar 2009 09:28:09 +0000
From: Chris Holgate <chris@zynaptic.com>

I ran configtool under strace on openSUSE 11.0 and have seen similar
behaviour to that reported by Sergei.  My PATH environment variable is
set up using the "ecosenv.sh" script which places the path to the ARM
tools at the front - as shown:

PATH=/zynaptic/projects/eCos/beta1/gnutools/arm-eabi/bin:/zynaptic/projects/eCos/beta1/ecos-3.0b1/tools/bin:/home/chris/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/opt/kde3/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin

Tests which run successfully are exec'ed as follows:

execve("/zynaptic/projects/eCos/beta1/gnutools/arm-eabi/bin/arm-eabi-gdb",
["arm-eabi-gdb"..., "-nw"..., "-q"...,
"/zynaptic/projects/eCos/beta1/bu"...], [/* 62 vars */]) = 0

Which is what I'd expect to see.

Tests which failed are exec'ed like this:

execve("arm-eabi-gdb", ["arm-eabi-gdb"..., "-nw"..., "-q"...,
"/zynaptic/projects/eCos/beta1/bu"...], [/* 62 vars */]) = -1 ENOENT (No
such file or directory)

execve("/bin/arm-eabi-gdb", ["arm-eabi-gdb"..., "-nw"..., "-q"...,
"/zynaptic/projects/eCos/beta1/bu"...], [/* 62 vars */]) = -1 ENOENT (No
such file or directory)

execve("/usr/bin/arm-eabi-gdb", ["arm-eabi-gdb"..., "-nw"..., "-q"...,
"/zynaptic/projects/eCos/beta1/bu"...], [/* 62 vars */]) = -1 ENOENT (No
such file or directory)

write(2, "exec error - No such file or dir"..., 39) = 39

Not only does this not start with the expected path, but the paths that
are tried do not seem to correspond to my PATH environment variable in
any way - for example I don't have the CWD in my path, but it is the
first place being searched.  All very odd.


-- 
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


  parent reply	other threads:[~2009-03-10  9:55 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-10  9:49 [Bug 1000716] New: " bugzilla-daemon
2009-03-10  9:53 ` [Bug 1000716] " bugzilla-daemon
2009-03-10  9:55 ` bugzilla-daemon [this message]
2009-03-10 11:08 ` bugzilla-daemon
2009-03-10 11:54 ` bugzilla-daemon
2009-03-25  8:25 ` bugzilla-daemon

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=20090310095451.1E9CC3B40039@mail.ecoscentric.com \
    --to=bugzilla-daemon@ecoscentric.com \
    --cc=ecos-bugs@ecos.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).