From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16070 invoked by alias); 8 Oct 2014 12:38:13 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 16058 invoked by uid 89); 8 Oct 2014 12:38:13 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.1 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: ossmail01.onespin-solutions.com Received: from ossmail01.onespin-solutions.com (HELO ossmail01.onespin-solutions.com) (91.206.61.171) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Wed, 08 Oct 2014 12:38:09 +0000 Received: from ossmail.onespin.int (ossha03.onespin.int [10.20.21.30]) by ossmail01.onespin-solutions.com (8.14.2/8.14.2) with ESMTP id s98Cc5Va020096 for ; Wed, 8 Oct 2014 14:38:05 +0200 Received: from [10.20.24.122] ([10.20.24.122]) (authenticated bits=0) by ossmail.onespin.int (8.13.1/8.13.1) with ESMTP id s98Cc4DL021983 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Wed, 8 Oct 2014 14:38:04 +0200 Message-ID: <5435302A.6030800@onespin-solutions.com> Date: Wed, 08 Oct 2014 12:38:00 -0000 From: =?UTF-8?B?RG9taW5payBTdHJhw59lcg==?= User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.1.2 MIME-Version: 1.0 To: cygwin@cygwin.com Subject: Re: gdb 7.8 consistently fails to run executable - error is References: <1408580171694-110722.post@n5.nabble.com> <1408732343936-110800.post@n5.nabble.com> <5423F775.7030208@onespin-solutions.com> <54294CED.9050602@onespin-solutions.com> <20141008121224.GB29235@calimero.vinschen.de> In-Reply-To: <20141008121224.GB29235@calimero.vinschen.de> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.9 () ALL_TRUSTED,BAYES_00 X-IsSubscribed: yes X-SW-Source: 2014-10/txt/msg00076.txt.bz2 Am 08.10.2014 um 14:12 schrieb Corinna Vinschen: > On Sep 29 14:13, Dominik Straßer wrote: >> Hi all, Hi Corinna, >> 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. > > Thanks for looking into this. While this occurs in Cygwin-specific > code, the problem is a result of the restriction of > so_list::so_name being always SO_NAME_MAX_PATH_SIZE in length. > > I'm not sure how to fix this problem yet. I'll look into it when I > had a chance to catch up with my insane mail backlog. I only see a chance by makin this a dynamic storage. as indicated in solist.h #define SO_NAME_MAX_PATH_SIZE 512 /* FIXME: Should be dynamic */ Regards Dominik -- Dominik Strasser | Phone: +49 89 99013-436 OneSpin Solutions GmbH | Fax: +49 89 99013-100 Nymphenburgerstr. 20a 80335 Muenchen | dominik.strasser@onespin-solutions.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