X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 86604389C425 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1612805472; bh=VS6ui/IroMhYaYD7nbKUowEGgQq+QD0x9Ob+S8Q7Jrk=; h=Subject:To:References:Date:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=AgcYWSoWLkkWJryyCmPat+GNuFlpgkTJDRXcWwvBR2Sxt6fb4y0Vazaelcjr7mxhq rYblcjQZkYdj2Nr5CKUswwAbZHDo8Z/guocA0Psm0CPCwgr9gBGNf4qf/qTnS7i8bR vu1zINCzwbEc4kNVMNAz4W3hoQ6LR2nzC5pqTu0c= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 77497385702C 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) Subject: Re: Cygwin GDB won't start or hangs at startup To: The Cygwin Mailing List References: <20210206001809 DOT f2d27fddcf3cfec75e348d71 AT nifty DOT ne DOT jp> <717b4667-fb2f-a4ef-5cdf-6092c79ab18b AT dronecode DOT org DOT uk> <2078419709 DOT 2650216 DOT 1612798415176 AT mail DOT yahoo DOT com> 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-Language: it 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 AT cygwin DOT 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: , From: Marco Atzeri via Cygwin Reply-To: Marco Atzeri Content-Type: text/plain; charset="utf-8"; Format="flowed" Errors-To: cygwin-bounces AT cygwin DOT com Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 118HVgZJ026955 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 -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple