From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-x432.google.com (mail-wr1-x432.google.com [IPv6:2a00:1450:4864:20::432]) by sourceware.org (Postfix) with ESMTPS id 77497385702C for ; Mon, 8 Feb 2021 17:31:09 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 77497385702C Received: by mail-wr1-x432.google.com with SMTP id u14so18229072wri.3 for ; Mon, 08 Feb 2021 09:31:09 -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=1OA+Cl0nnO1ENXFcIvMLSwsEq/vNzqUp6pV9DU9b0sQ=; b=ZH2SKUkE73fLLKhOFN7dFz0L4Yn9aHa9k/FuFazDN47XlemoqyYajTpu1VcQzw7r3T x27GluOkJfynvSwnS1mPXpcz5cs1LrTu3MlA7IZaRdv2lMV01H+2xfL5U59OXRk50IK/ xnu6QafbFtm0RaivetWNm58chtlui5XOW7M/Beq66Ml9L970DlIKfh5S/hP4s2clGRit 0+pwiU5txF3lEZL4mDeE88GekBsio6vHyyZvz9RpwHy05fvNqLT53w6VXCW1JVvmeNBz FANSz1cW4lwDjc2Lkk6Dac4PRT8in+QQF2ICJUu6DL7o+p32yDXAClTClcEOfLHF/vvB /78A== X-Gm-Message-State: AOAM531H4RLJbskDXDuf1IrOi7I6zM37Ul+LUXEetFthGzpKZYgmQRYj zBp2ycnDhi5JMTGueGDWrvXtRwCT+f0hPA== X-Google-Smtp-Source: ABdhPJxeYs4oFvp/+P7S4CoCDt61wCbg5YroucUxrb5/Xq7WuopZw3NhIUyKOoShWPnaIc7UXPwWMQ== X-Received: by 2002:a5d:6a02:: with SMTP id m2mr21122809wru.364.1612805468613; Mon, 08 Feb 2021 09:31:08 -0800 (PST) Received: from ?IPv6:2003:cc:9f2b:2ff8:bd66:956d:1c19:5d0f? (p200300cc9f2b2ff8bd66956d1c195d0f.dip0.t-ipconnect.de. [2003:cc:9f2b:2ff8:bd66:956d:1c19:5d0f]) by smtp.gmail.com with ESMTPSA id e12sm32098624wrs.67.2021.02.08.09.31.07 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 08 Feb 2021 09:31:08 -0800 (PST) Subject: Re: Cygwin GDB won't start or hangs at startup To: The Cygwin Mailing List References: <20210206001809.f2d27fddcf3cfec75e348d71@nifty.ne.jp> <717b4667-fb2f-a4ef-5cdf-6092c79ab18b@dronecode.org.uk> <2078419709.2650216.1612798415176@mail.yahoo.com> From: Marco Atzeri Message-ID: <8de0eaf5-bd30-697e-1ca5-db1815f59cae@gmail.com> Date: Mon, 8 Feb 2021 18:31:07 +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: <2078419709.2650216.1612798415176@mail.yahoo.com> 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: Mon, 08 Feb 2021 17:31:10 -0000 On 08.02.2021 16:33, matthew patton wrote: > On Sun, Feb 7, 2021 at 4:13 PM Jon Turney  wrote: > > >> It seems that gdb wants to run 'iconv -l' to list the available > encodings. > >> > >> It looks like perhaps an upstream bug that gdb outputs nothing when > >> iconv can't be found (rather than using the default encoding?). > > > the lack of a backup solution is clearly an upstream bug. > > I assume iconv is usually present and only on border case the bug > > is evident. > > Indeed it is. > iconv is provided by glibc-common on Linux distros so it's always > available. > Forcing a cygwin package dependency on iconv would be easiest fix. this is already implemented https://cygwin.com/packages/summary/gdb.html gdb is now pulling libiconv > And open an ERRATA with upstream to gracefully handle lack of the binary. Regards Marco