From patchwork Thu May 6 05:59:24 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabrice Fontaine X-Patchwork-Id: 1474810 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.137; helo=smtp4.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=XjUnmRJ7; dkim-atps=neutral Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FbNKg5kHBz9sRf for ; Thu, 6 May 2021 16:03:03 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 3DFE14055A; Thu, 6 May 2021 06:02:59 +0000 (UTC) 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 4U5BkDQzQO5v; Thu, 6 May 2021 06:02:58 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp4.osuosl.org (Postfix) with ESMTP id 3E56940557; Thu, 6 May 2021 06:02:57 +0000 (UTC) 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 F24DE1BF909 for ; Thu, 6 May 2021 06:02:55 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id DCD3840557 for ; Thu, 6 May 2021 06:02:55 +0000 (UTC) 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 qPcXWvSgj4Ui for ; Thu, 6 May 2021 06:02:54 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 Received: from mail-wr1-x42b.google.com (mail-wr1-x42b.google.com [IPv6:2a00:1450:4864:20::42b]) by smtp4.osuosl.org (Postfix) with ESMTPS id A064D404F6 for ; Thu, 6 May 2021 06:02:54 +0000 (UTC) Received: by mail-wr1-x42b.google.com with SMTP id t18so4245697wry.1 for ; Wed, 05 May 2021 23:02:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=BgtneUIQqLlh8CHa/OVYrzyeHnJhjun76wAsztq8AQY=; b=XjUnmRJ7vic+lCpL0WJDh3I+eiOPFM+pvecQNjhikwMt9qm3V2trSDnW2975NR1M2A ZAIEAKiV3GZPbciUHHBzc08r4eG0f0b9OC7e3LkHOdnwk6CP926KJQ4AsCp6kPPSHPxb n1qGmHvDfGrbWASOI4Yd9st/Jk2ar2rZGeekVDkpsTRiwDNe9/fmCx6xBeN6bAwr2R7n WrZoQGlZvfbv3cGAw3k0PEO1zNzQh7wpTzIYbjwl5I7A0w2uZk6YeelUWOmUNczqwUhd NtvV+oCQJvH8ul2dJ91DkQW0K7O9OirBeX9ACUtVCMp3g27TBd3DE1tTLuQjZ4zu0i3f 10Sw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=BgtneUIQqLlh8CHa/OVYrzyeHnJhjun76wAsztq8AQY=; b=N5eMirAyv/u1vhudKZDtVj5Z64VwHAoIu+/OAt5xt7p0V3rKnleXtYlw4z4tcc6/bK pQGGdeWmeHXfUq02aWO3J83VGcM5XRpF69KJlxWrRaDzoLstG03lTI9rkx0pxONgBT3m MNh3UQYQsceBQ/jAzwK4lDsG6T9psA2rA0NKHt1ijVQqAy98/NsfXUJwPCfR8jpRfWBF NwyysYbeoRtCuKdck2qZQqfOLjqzYbhK5tvMyMD6zOMcueUpanQnzeAYYlxZyYxQPSqK TMcucZ31CHT5a6ssfNAwT8DS+1Tq6d+susJOm4/zbkvzjdwd4cutCK2R3cxIDJSOPdZL mxjw== X-Gm-Message-State: AOAM530SZhmiaU9j4r9HsYTn5uO8a3FBtG5wkHo4SntaOf+7ecHwl6tw MziKm3XHxbiM/WJgkXQD22MdIOX64Ms= X-Google-Smtp-Source: ABdhPJyx42BEt5tNy+5ftBk8CYJHXyMu51QaYrvnCkMx5EuyhMYDyogcufqbozZy9TH9Q9Od3daLaQ== X-Received: by 2002:adf:fbcc:: with SMTP id d12mr2823861wrs.151.1620280972574; Wed, 05 May 2021 23:02:52 -0700 (PDT) Received: from kali.home (lfbn-ren-1-1383-171.w86-229.abo.wanadoo.fr. [86.229.230.171]) by smtp.gmail.com with ESMTPSA id e8sm2429049wrt.30.2021.05.05.23.02.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 May 2021 23:02:52 -0700 (PDT) From: Fabrice Fontaine To: buildroot@buildroot.org Date: Thu, 6 May 2021 07:59:24 +0200 Message-Id: <20210506055924.1846541-1-fontaine.fabrice@gmail.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/1] package/gdb: fix gdbserver build with m68k and uclibc X-BeenThere: buildroot@busybox.net 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: Fabrice Fontaine Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Allow to build gdbserver with m68k and uclibc. This patch is not needed for version above 9.2 because build_gdbserver as been moved to its own file since https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=919adfe8409211c726c1d05b47ca59890ee648f1 This new file (gdbserver/configure.srv) does not seem to be affected by this issue Fixes: - http://autobuild.buildroot.org/results/f4d6d9d8418c0da48a3db4ad5a82e19bd16eae34 Signed-off-by: Fabrice Fontaine --- ...t-build-gdbserver-with-m68k-and-ucli.patch | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 package/gdb/9.2/0007-gdb-configure.tgt-build-gdbserver-with-m68k-and-ucli.patch diff --git a/package/gdb/9.2/0007-gdb-configure.tgt-build-gdbserver-with-m68k-and-ucli.patch b/package/gdb/9.2/0007-gdb-configure.tgt-build-gdbserver-with-m68k-and-ucli.patch new file mode 100644 index 0000000000..1ac71ac2cf --- /dev/null +++ b/package/gdb/9.2/0007-gdb-configure.tgt-build-gdbserver-with-m68k-and-ucli.patch @@ -0,0 +1,34 @@ +From 113bd123514265b867f50a956398a85f1d75215e Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Thu, 6 May 2021 07:45:00 +0200 +Subject: [PATCH] gdb/configure.tgt: build gdbserver with m68k and + uclibc + +Allow to build gdbserver with m68k and uclibc: + +checking whether gdbserver is supported on this host... no +configure: error: Automatic gdbserver build is not supported for this configuration + +Fixes: + - http://autobuild.buildroot.org/results/f4d6d9d8418c0da48a3db4ad5a82e19bd16eae34 + +Signed-off-by: Fabrice Fontaine +--- + gdb/configure.tgt | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/gdb/configure.tgt b/gdb/configure.tgt +index caa42be1c01..56d205fe24b 100644 +--- a/gdb/configure.tgt ++++ b/gdb/configure.tgt +@@ -376,6 +376,7 @@ m68*-*-aout* | m68*-*-coff* | m68*-*-elf* | m68*-*-rtems* | m68*-*-uclinux* | \ + fido-*-elf*) + # Target: Motorola m68k embedded + gdb_target_obs="m68k-tdep.o" ++ build_gdbserver=yes + ;; + m68*-*-linux*) + # Target: Motorola m68k with a.out and ELF +-- +2.30.2 +