From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) by sourceware.org (Postfix) with ESMTPS id 8A4653854815 for ; Fri, 5 Feb 2021 19:06:35 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 8A4653854815 Received: by mail-wr1-x434.google.com with SMTP id m13so8819804wro.12 for ; Fri, 05 Feb 2021 11:06:35 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=8TZigltONjhWY/R71GzGimNbBFcwimAwg0+lKpUtEtE=; b=kFeDqPHuUnHnlhuzWEMzjYHJjEB7I9E6nl4qDaL6SdQa9L/4T1zYQQRa6vTV+fdhwI 1TPgYPN4P0woCj1umNiQoqotH2MmUbY0XOtHSsib5iZs82/CSSci7hp7eGggchUE2U7W cnWAeuPctZuwrcTiRcghv3k5nS9Msujb+bWniJyfbtRUAKUx1i9PWfTZslRWnSxLzSs5 zEzZ/I1/7uVZbrRO4JisXfCCRlmFKKB9Zw5Ansb97x1/OB3DWJiAd2umulJ2/PHaUezy Kdh72cUsn6Tg4Zka9SS2T6/qYfmU+DCWzs0+xy3P6Tnxyqc6GU6+MAnPaC7jihFnXOYg Emxw== X-Gm-Message-State: AOAM532nzqpXQByCrq+uwShU02CZDsjJvSwCOxgYodj8UWcJZ7PXYygG rsAwfteeM1a9/nmuxz5I6mpyUGy2kwAsOw== X-Google-Smtp-Source: ABdhPJwIp9A2yUZBe+cKmhHbc2ZZ3z9qVh/reLDBMpi2qKgwcB/I7AqSWupJO5k9oSL/XfWcqijHGw== X-Received: by 2002:a5d:4203:: with SMTP id n3mr6550856wrq.49.1612551994536; Fri, 05 Feb 2021 11:06:34 -0800 (PST) Received: from ?IPv6:2003:cc:9f02:b29:a11a:bf60:e761:2bb? (p200300cc9f020b29a11abf60e76102bb.dip0.t-ipconnect.de. [2003:cc:9f02:b29:a11a:bf60:e761:2bb]) by smtp.gmail.com with ESMTPSA id y14sm13351335wro.58.2021.02.05.11.06.34 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 05 Feb 2021 11:06:34 -0800 (PST) Subject: Re: Cygwin GDB won't start or hangs at startup To: cygwin@cygwin.com References: <20210206001809.f2d27fddcf3cfec75e348d71@nifty.ne.jp> From: Marco Atzeri Message-ID: Date: Fri, 5 Feb 2021 20:06:33 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: it Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Feb 2021 19:06:37 -0000 On 05.02.2021 17:39, Lemke, Michael SF/HZA-ZIC2 wrote: > On Friday, February 5, 2021 4:18 PM Takashi Yano wrote: >> On Fri, 5 Feb 2021 10:07:46 +0100 >> Marco Atzeri wrote: >>> On 05.02.2021 08:55, Daniel Röhrborn via Cygwin wrote: >>>>> On 04.02.2021 13:13, Daniel Röhrborn via Cygwin wrote: >>> >> >> I looked into this problem and found this issue causes if iconv >> cannot be found in the search path. >> >> Installing libiconv package should solve the issue, I guess. > > I can confirm that installing libiconv solves the problem. So it > was not a case of BLODA here. > >> >> It seems that the GDB package should set a dependency on libiconv. >> > > I had libiconv2 installed. Is that somehow related? gdb always needed the shared lib in libiconv2 $ cygcheck /usr/bin/gdb.exe | grep iconv D:\cygwin64\bin\cygiconv-2.dll $ cygcheck -f /usr/bin/cygiconv-2.dll libiconv2-1.16-2 but is seems the last versions are also calling the program that is packaged separately $ cygcheck -f /usr/bin/iconv.exe libiconv-1.16-2 this dependency is more difficult to catch and it was missed when GDB was packaged Regards Marco