From patchwork Fri Aug 11 09:34:21 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Bilas X-Patchwork-Id: 1820194 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org (client-ip=2605:bc80:3010::138; helo=smtp1.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver=) Received: from smtp1.osuosl.org (smtp1.osuosl.org [IPv6:2605:bc80:3010::138]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4RMf7B4LcZz1yf6 for ; Fri, 11 Aug 2023 19:45:58 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 8C8ED835D3; Fri, 11 Aug 2023 09:45:56 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 8C8ED835D3 X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ES9czUBGxQs1; Fri, 11 Aug 2023 09:45:55 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp1.osuosl.org (Postfix) with ESMTP id DDE20835E9; Fri, 11 Aug 2023 09:45:54 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org DDE20835E9 X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 2196B1BF5DF for ; Fri, 11 Aug 2023 09:45:53 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id ED59F41AFC for ; Fri, 11 Aug 2023 09:45:52 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org ED59F41AFC X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IaKKfbLXQzzU for ; Fri, 11 Aug 2023 09:45:51 +0000 (UTC) X-Greylist: delayed 684 seconds by postgrey-1.37 at util1.osuosl.org; Fri, 11 Aug 2023 09:45:51 UTC DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org AFD5A41A60 Received: from mail.grinn-global.com (mail.grinn-global.com [77.55.128.204]) by smtp4.osuosl.org (Postfix) with ESMTPS id AFD5A41A60 for ; Fri, 11 Aug 2023 09:45:51 +0000 (UTC) X-Virus-Scanned: by amavisd-new using ClamAV (30) Received: from bartekk-pc.lan (ip-194.4.61.77.edial.pl [194.4.61.77]) by server220076.nazwa.pl (Postfix) with ESMTP id 7BF111BC9B1; Fri, 11 Aug 2023 11:34:24 +0200 (CEST) From: Bartosz Bilas To: buildroot@buildroot.org Date: Fri, 11 Aug 2023 11:34:21 +0200 Message-ID: <20230811093421.300794-1-b.bilas@grinn-global.com> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Subject: [Buildroot] [PATCH] gdb: disable source-highlight X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Bartosz Bilas Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" It's being found from the host's source-highlight library which results in the following build errors: ../../gdb/source-cache.c:37:10: fatal error: srchilite/sourcehighlight.h: No such file or directory 37 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. make[4]: *** [Makefile:1645: source-cache.o] Error 1 make[4]: *** Waiting for unfinished jobs.... Signed-off-by: Bartosz Bilas --- package/gdb/gdb.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/gdb/gdb.mk b/package/gdb/gdb.mk index 4b9c5c6b70..cee7b37bcd 100644 --- a/package/gdb/gdb.mk +++ b/package/gdb/gdb.mk @@ -134,7 +134,8 @@ GDB_CONF_OPTS = \ --with-system-zlib \ --disable-werror \ --enable-static \ - --without-mpfr + --without-mpfr \ + --disable-source-highlight ifeq ($(BR2_PACKAGE_GDB_DEBUGGER),y) GDB_CONF_OPTS += \