From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id 4lNLMCUOn2YdCS8AWB0awg (envelope-from ) for ; Mon, 22 Jul 2024 21:57:57 -0400 Authentication-Results: simark.ca; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=O7vr3Pjs; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id B1B6A1E0C3; Mon, 22 Jul 2024 21:57:57 -0400 (EDT) Received: from server2.sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 9D00F1E030 for ; Mon, 22 Jul 2024 21:57:55 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 021CF3860C34 for ; Tue, 23 Jul 2024 01:57:55 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 021CF3860C34 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1721699875; bh=KvwRJi6QTutaFGLXeRoUDzKTcU9Rp1rDDmxvk47gZ9o=; h=References:In-Reply-To:Date:Subject:To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=O7vr3PjsJYhqUtRb2rPohZckoJVTwtIUEbRwszQyAXVNC+K9vdPHZYs0efwf490BV ljdSLTX/NS8g2PCjPF1eY9JIWXuewdoGG1gfiaXbzukvEfOWH1T/vHobKOXlIYeGrK 33KiVr09dCtJR5ZK97c7wt5b01E4PUHdYiehm0Pg= Received: from mail-yb1-xb36.google.com (mail-yb1-xb36.google.com [IPv6:2607:f8b0:4864:20::b36]) by sourceware.org (Postfix) with ESMTPS id 6F7BF3858403 for ; Tue, 23 Jul 2024 01:57:15 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 6F7BF3858403 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 6F7BF3858403 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1721699837; cv=none; b=fW50T29sOb9r1ThSvBkVTzk2zPM6U8Uljc1tHsUXVdzTH2vFtehL1jZojOLXsYgNZ+ya+S1Z54xNH/TA2Yw2JntUxfTUkS7EmGr8yt4+ceK7ZwU7fw6EK4NkBW8jSNwW4BCmZ5Rg2ZQKBslIzfF43qgQ5JK2W5Mqlw/B2t1hnPI= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1721699837; c=relaxed/simple; bh=dp0O21E7R82qJuxMCazwWE/2O0sIjytZOkKDV7Weshs=; h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To; b=Xay4zZEwvTTObyogLp2IeN9nHvQbp+8GwuQFnQFezzgF0A/m92i5jm9q8n7c3kCe6bPCKTrSWijo5PFUPLFFluZlT1eLfZPZ/QaMj3xUXrHF09xdgaaph7+f326MPV1oW5lMNwU7dCUI42HCDNbywtNsTgzyD9ijyxrVfJWHDpY= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-yb1-xb36.google.com with SMTP id 3f1490d57ef6-e0875778facso2556751276.3 for ; Mon, 22 Jul 2024 18:57:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721699834; x=1722304634; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=KvwRJi6QTutaFGLXeRoUDzKTcU9Rp1rDDmxvk47gZ9o=; b=sjo54CPgkZRAKRPgPG+sDw0zzTypQ6AEF6J3qDZjSREZwOqIUrD0mGwAxKoDKRupSK wcgGyS8dV2FqxGkCM26/vcHHGJ1asiRsmg1EoemtYmjE51madOt4442bu9SlO/I41fW0 k/78HItokc8NkWvGDogeSXISXGyhc/cC+Yd2+t2nflSN/O+YW1ljCKiikkw3x67orjIs 71/gOYmEQn5ErlM8DV0ef+hCU0eJy+tYZBQXCvNx+sIzI2BVaQijLE0Nq1D7wFXzWYUD AwF8U+nEiexEwKoXxfV7nL6oTRe13FMDq8dHbntvmEr+q//qnUxWP7lDJKbthWN/evQc PBZw== X-Gm-Message-State: AOJu0YzemZVJG11t/sAxZCqhh8isxYGLKzWeLFDBW6lQNs1yAopPELTR zfyveE0/G+E/PbCA7Ku9I3+6tNOe3K1D276jpDlFrUBizrXTj6kJSPMgj2uNCkJzNOMviWAs9Zq zunJGt3kqttw6xnbAkgpY89V3ghR4S4v4 X-Google-Smtp-Source: AGHT+IFg2UNBpH+wHofw0HYvzDbFaaQ5EUt1jLJ50kcB4APi+DQKOgt8bh4lKXsiEHURCudCEo1QU6yzw2KkaKUgWf8= X-Received: by 2002:a05:6902:2188:b0:e06:3823:fa6a with SMTP id 3f1490d57ef6-e087b345dd7mr9469380276.3.1721699834558; Mon, 22 Jul 2024 18:57:14 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Tue, 23 Jul 2024 13:57:03 +1200 Message-ID: Subject: Re: gdbserver seems to have grown a dependency on libiconv To: GDB Mailing list Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gdb@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Chris Packham via Gdb Reply-To: Chris Packham Errors-To: gdb-bounces~public-inbox=simark.ca@sourceware.org Sender: "Gdb" On Tue, Jul 23, 2024 at 1:43=E2=80=AFPM Chris Packham wrote: > > Hi, > > I'm just looking at adding gdb 15 to crosstool-ng. One configuration > that's having problems is xtensa-fsf-linux-uclibc. > > [ERROR] configure: error: could not find libiconv (required for > host xtensa-fsf-linux-uclibc)[ERROR] make[2]: *** [Makefile:10924: > configure-gdbserver] Error 1 > [ERROR] make[2]: *** Waiting for unfinished jobs.... > > I don't think it's anything to do with the specific architecture but > it just happens this configuration doesn't end up building libiconv as > a dependency for any other part of the toolchain. > > Is libiconv actually a requirement for gdbserver or is this something > that has leaked through now that gdb and gdbserver share a lot of > infrastructure? Answering my own question. Commit 07b3255c3ba ("Filter invalid encodings from Linux thread names") started using iconv in gdbserver and commit da48217f315 ("gdbserver/linux: probe for libiconv in configure") added the configure check. So this appears completely intentional. I'll add something to crosstool-ng to make libiconv a dependency for gdbserver. > > Thanks, > Chris