From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.efficios.com (mail.efficios.com [167.114.26.124]) by sourceware.org (Postfix) with ESMTPS id E0ECF386F014 for ; Fri, 21 Aug 2020 15:56:52 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org E0ECF386F014 Received: from localhost (localhost [127.0.0.1]) by mail.efficios.com (Postfix) with ESMTP id 285369AB9D; Fri, 21 Aug 2020 11:56:52 -0400 (EDT) Received: from mail.efficios.com ([127.0.0.1]) by localhost (mail03.efficios.com [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id kqcdrAQ7geh3; Fri, 21 Aug 2020 11:56:50 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by mail.efficios.com (Postfix) with ESMTP id 092D69ADB3; Fri, 21 Aug 2020 11:56:50 -0400 (EDT) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.efficios.com 092D69ADB3 X-Virus-Scanned: amavisd-new at efficios.com Received: from mail.efficios.com ([127.0.0.1]) by localhost (mail03.efficios.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id g9CY-dlRQ8Ny; Fri, 21 Aug 2020 11:56:49 -0400 (EDT) Received: from [172.16.0.95] (192-222-181-218.qc.cable.ebox.net [192.222.181.218]) by mail.efficios.com (Postfix) with ESMTPSA id 1A0AF9ADB2; Fri, 21 Aug 2020 11:56:49 -0400 (EDT) Subject: Re: [PATCH] sim/bfin: include config/pkg.m4 in configure.ac To: Sebastian Huber , 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: Simon Marchi Message-ID: <8857c268-caca-57ac-bebd-281003e79443@efficios.com> Date: Fri, 21 Aug 2020 11:56:48 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: tl Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-8.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, 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 15:56:54 -0000 On 2020-08-21 3:30 a.m., Sebastian Huber wrote: > Hello Simon, >=20 > On 20/08/2020 16:04, Simon Marchi wrote: >=20 >> 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.=C2=A0 Though I'll propose a p= atch that >>> adds the required include to configure.ac. >> Here's the patch: >> >> =C2=A0From 45dce782e0a999efb892588885fc4c7f7e2e0868 Mon Sep 17 00:00:0= 0 2001 >> From: Simon Marchi >> Date: Thu, 20 Aug 2020 09:31:49 -0400 >> Subject: [PATCH] sim/bfin: include config/pkg.m4 in configure.ac >=20 > thanks for the patch. I tried it out on Linux and it fixes the build is= sue. >=20 > GNU gdb (GDB) 10.0.50.20200821-git > Copyright (C) 2020 Free Software Foundation, Inc. > License GPLv3+: GNU GPL version 3 or later > 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 --target=3Dbfi= n-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 . >=20 > 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 >=20 >=20 Ok, thanks for checking, I pushed it. Simon