From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dedi548.your-server.de (dedi548.your-server.de [85.10.215.148]) by sourceware.org (Postfix) with ESMTPS id 6ACEA3857C43 for ; Fri, 21 Aug 2020 07:30:34 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 6ACEA3857C43 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=embedded-brains.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=sebastian.huber@embedded-brains.de Received: from sslproxy05.your-server.de ([78.46.172.2]) by dedi548.your-server.de with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89_1) (envelope-from ) id 1k91VP-00055h-9c; Fri, 21 Aug 2020 09:30:31 +0200 Received: from [82.100.198.138] (helo=mail.embedded-brains.de) by sslproxy05.your-server.de with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from ) id 1k91VP-000Pw4-4u; Fri, 21 Aug 2020 09:30:31 +0200 Received: from localhost (localhost.localhost [127.0.0.1]) by mail.embedded-brains.de (Postfix) with ESMTP id 6A5122A1610; Fri, 21 Aug 2020 09:31:02 +0200 (CEST) Received: from mail.embedded-brains.de ([127.0.0.1]) by localhost (zimbra.eb.localhost [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id WZw8WNytMSLY; Fri, 21 Aug 2020 09:31:01 +0200 (CEST) Received: from localhost (localhost.localhost [127.0.0.1]) by mail.embedded-brains.de (Postfix) with ESMTP id 5F3B72A165B; Fri, 21 Aug 2020 09:31:01 +0200 (CEST) X-Virus-Scanned: amavisd-new at zimbra.eb.localhost Received: from mail.embedded-brains.de ([127.0.0.1]) by localhost (zimbra.eb.localhost [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id N0WmqzqZqsTH; Fri, 21 Aug 2020 09:31:01 +0200 (CEST) Received: from shuber-nb-linux.eb.localhost (unknown [10.10.171.22]) by mail.embedded-brains.de (Postfix) with ESMTPSA id 254012A1610; Fri, 21 Aug 2020 09:31:01 +0200 (CEST) Subject: Re: [PATCH] sim/bfin: include config/pkg.m4 in configure.ac To: Simon Marchi , Simon Marchi , Andreas Schwab Cc: gdb@sourceware.org, Andrew Burgess References: <3db0603d-659f-40c5-d61d-d94fabfd646e@embedded-brains.de> <1701e3af-7bcd-e268-65d3-dbd5f37e9bce@embedded-brains.de> <2666e1b8-9b16-b988-aefb-22af4a969240@simark.ca> <87pn7ll9f7.fsf@igel.home> <6088a876-225e-151c-afe1-afa4255314bf@simark.ca> <2f448bb2-849c-6df0-b3c5-322f34417887@efficios.com> From: Sebastian Huber Message-ID: Date: Fri, 21 Aug 2020 09:30:29 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 In-Reply-To: <2f448bb2-849c-6df0-b3c5-322f34417887@efficios.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: quoted-printable X-Authenticated-Sender: smtp-embedded@poldinet.de X-Virus-Scanned: Clear (ClamAV 0.102.4/25905/Thu Aug 20 15:09:58 2020) X-Spam-Status: No, score=-6.7 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, KAM_SHORT, NICE_REPLY_A, 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: gdb@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Aug 2020 07:30:38 -0000 Hello Simon, On 20/08/2020 16:04, Simon Marchi wrote: > On 2020-08-20 9:45 a.m., Simon Marchi wrote: >> On 2020-08-20 9:43 a.m., Andreas Schwab wrote: >>> That's because aclocal cannot find a definition of PKG_CHECK_MODULES. >>> You need to run autoreconf with -I ../../config. >> Indeed, that's what I found in the end. Though I'll propose a patch t= hat >> adds the required include to configure.ac. > Here's the patch: > > From 45dce782e0a999efb892588885fc4c7f7e2e0868 Mon Sep 17 00:00:00 2001 > From: Simon Marchi > Date: Thu, 20 Aug 2020 09:31:49 -0400 > Subject: [PATCH] sim/bfin: include config/pkg.m4 in configure.ac thanks for the patch. I tried it out on Linux and it fixes the build issu= e. GNU gdb (GDB) 10.0.50.20200821-git Copyright (C) 2020 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later=20 This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "--host=3Dx86_64-pc-linux-gnu=20 --target=3Dbfin-rtems5". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: =C2=A0=C2=A0=C2=A0 . For help, type "help". Type "apropos word" to search for commands related to "word". No symbol table is loaded.=C2=A0 Use the "file" command. (gdb) tar sim Connected to the simulator. (gdb) quit