From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14686 invoked by alias); 10 Mar 2009 09:55:00 -0000 Received: (qmail 14678 invoked by uid 22791); 10 Mar 2009 09:55:00 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_42,SPF_PASS X-Spam-Check-By: sourceware.org Received: from hagrid.ecoscentric.com (HELO mail.ecoscentric.com) (212.13.207.197) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 10 Mar 2009 09:54:54 +0000 Received: from localhost (hagrid.ecoscentric.com [127.0.0.1]) by mail.ecoscentric.com (Postfix) with ESMTP id 905773B40030 for ; Tue, 10 Mar 2009 09:54:52 +0000 (GMT) Received: from mail.ecoscentric.com ([127.0.0.1]) by localhost (hagrid.ecoscentric.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Y4trpIkySiB5; Tue, 10 Mar 2009 09:54:51 +0000 (GMT) From: bugzilla-daemon@ecoscentric.com To: ecos-bugs@ecos.sourceware.org Subject: [Bug 1000716] Error launching GDB to run eCos tests X-Bugzilla-Reason: QAcontact X-Bugzilla-Type: newchanged X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: eCos X-Bugzilla-Component: ConfigTool X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: john@dallaway.org.uk X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: normal X-Bugzilla-Assigned-To: john@dallaway.org.uk X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Tue, 10 Mar 2009 09:55:00 -0000 Message-Id: <20090310095451.1E9CC3B40039@mail.ecoscentric.com> Mailing-List: contact ecos-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: ecos-bugs-owner@sourceware.org X-SW-Source: 2009/txt/msg00106.txt.bz2 http://bugs.ecos.sourceware.org/show_bug.cgi?id=1000716 --- Comment #2 from John Dallaway 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 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.