X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; q=dns; s=default; b=uiNCKyJZ30EzZi6b3vE1vp9qfCAJMtEGAPDDkvlc4r0 MmIquf/zOdzM/0/dg4tQywyFM3uE4mpn+9TG95X7Cr1QHQu3BS+xgMwNGudfUJXY 13m7h//uJzTTHDycVtd2iZt5VNwwZJ0JSGoUmebxoqiriJHLiJZPHvQDH3LTBZoE = DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; s=default; bh=UbR9k050zYeXKD52Ui2Zy2QsRgU=; b=Gu/77JmQY2XvfQziR 7jCKSKqeY/x3QeylHL+22YRqfSjf2jDz5YMg/aU5ndbKTe5PcxXNsyfljt548XUc 1zeK0dfnnCxBWXpiFZs8BB8tZMv78+Mn8XlIFWwuaZ9hKN4CdZByDcsD8FZnNVLw JFzmkDLYr5QB7gLY5IvpP8tNcw= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.4 required=5.0 tests=AWL,BAYES_50,RP_MATCHES_RCVD,URI_HEX autolearn=no version=3.3.2 X-HELO: ossmail01.onespin-solutions.com Message-ID: <54294CED.9050602@onespin-solutions.com> Date: Mon, 29 Sep 2014 14:13:33 +0200 From: =?windows-1252?Q?Dominik_Stra=DFer?= User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.1.1 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: gdb 7.8 consistently fails to run executable - error is References: <1408580171694-110722 DOT post AT n5 DOT nabble DOT com> <1408732343936-110800 DOT post AT n5 DOT nabble DOT com> <5423F775 DOT 7030208 AT onespin-solutions DOT com> In-Reply-To: <5423F775.7030208@onespin-solutions.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-Spam-Score: -1.778 () ALL_TRUSTED,BAYES_00,URI_HEX X-IsSubscribed: yes Hi all, I've dug into the gdb sources. The problem is in the cygwin-only part and is not about the PATH variable but about one single DLL file name. This path length is *fixed* to 512 characters (SO_NAME_MAX_PATH_SIZE) for the *realpath* of the DLL. So there's no way for the user to work around this apart from shortening the directory or file names. Best regards Dominik Am 25.09.2014 um 13:07 schrieb Dominik Straßer: > Hi, > I am running into the same issue. > My path is stripped down as far as possible: > $ echo $PATH > /usr/local/bin:/usr/bin > > But still no cigar. > > $ gdb > /local/night/fizz_build_Win7_with_icons/libraries/compilelib/unittest/exec/cygwin64/MINGW/normal_mt_so/unittest.exe > GNU gdb (GDB) 7.8 > Copyright (C) 2014 Free Software Foundation, Inc. > License GPLv3+: GNU GPL version 3 or later > > This is free software: you are free to change and redistribute it. > There is NO WARRANTY, to the extent permitted by law. Type "show copying" > and "show warranty" for details. > This GDB was configured as "x86_64-pc-cygwin". > Type "show configuration" for configuration details. > For bug reporting instructions, please see: > . > Find the GDB manual and other documentation resources online at: > . > For help, type "help". > Type "apropos word" to search for commands related to "word"... > Reading symbols from > /local/night/fizz_build_Win7_with_icons/libraries/compilelib/unittest/exec/cygwin64/MINGW/normal_mt_so/unittest.exe...done. > (gdb) r > Starting program: > /local/night/fizz_build_Win7_with_icons/libraries/compilelib/unittest/exec/cygwin64/MINGW/normal_mt_so/unittest.exe > [New Thread 30016.0x7544] > dll path too long > > strace revealend nothing. > > Unfortunately MinGW's gdb doesn't work for other reasons, so I am back > to printf :-( > > Regards > > Dominik > > Am 22.08.2014 um 20:32 schrieb DGStevens: >> Hi Achim- >> >> Thanks. Unfortunately, the change didn't seem to help regarding my issue >> with GDB. I don't know if it matters, but I fired up an old computer >> running XP. I updated all of the Cygwin software, and tried the same test. >> It worked fine on XP, but it seems to fail on Win7, at least for me. >> >> FWIW, I tried manually trimming the path to just: >> >> $> echo $PATH >> .:/home/Deans/bin:/usr/local/bin:/usr/bin >> >> ... >> >> $> cygcheck -s >> >> Cygwin Configuration Diagnostics >> Current System Time: Fri Aug 22 00:02:07 2014 >> >> Windows 7 Professional Ver 6.1 Build 7601 Service Pack 1 >> >> Running under WOW64 on AMD64 >> >> Path: . >> C:\cygwin\home\Deans\bin >> C:\cygwin\usr\local\bin >> C:\cygwin\bin >> ... >> >> >> >> >> -- >> View this message in context: http://cygwin.1069669.n5.nabble.com/gdb-7-8-consistently-fails-to-run-executable-error-is-dll-path-too-long-tp110722p110800.html >> Sent from the Cygwin list mailing list archive at Nabble.com. >> >> -- >> Problem reports: http://cygwin.com/problems.html >> FAQ: http://cygwin.com/faq/ >> Documentation: http://cygwin.com/docs.html >> Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple >> > -- Dominik Strasser | Phone: +49 89 99013-436 OneSpin Solutions GmbH | Fax: +49 89 99013-100 Nymphenburgerstr. 20a 80335 Muenchen | dominik DOT strasser AT onespin-solutions DOT com Geschaeftsfuehrung: Dr. Raik Brinkmann, Oliver Habeck Vorsitzender des Beirats: Paul Hill Sitz: Muenchen; Amtsgericht Muenchen HRB 139464 UstID#: DE 814413215 -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple