public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: Sebastian Huber <sebastian.huber@embedded-brains.de>
To: Simon Marchi <simon.marchi@efficios.com>,
	Simon Marchi <simark@simark.ca>,
	Andreas Schwab <schwab@linux-m68k.org>
Cc: gdb@sourceware.org, Andrew Burgess <andrew.burgess@embecosm.com>
Subject: Re: [PATCH] sim/bfin: include config/pkg.m4 in configure.ac
Date: Fri, 21 Aug 2020 09:30:29 +0200	[thread overview]
Message-ID: <e74abfd0-220c-0c07-2d7d-b4bb8bcf0125@embedded-brains.de> (raw)
In-Reply-To: <2f448bb2-849c-6df0-b3c5-322f34417887@efficios.com>

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 that
>> adds the required include to configure.ac.
> Here's the patch:
>
>  From 45dce782e0a999efb892588885fc4c7f7e2e0868 Mon Sep 17 00:00:00 2001
> From: Simon Marchi<simon.marchi@polymtl.ca>
> 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 issue.

GNU gdb (GDB) 10.0.50.20200821-git
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
<http://gnu.org/licenses/gpl.html>
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=x86_64-pc-linux-gnu 
--target=bfin-rtems5".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
     <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word".
No symbol table is loaded.  Use the "file" command.
(gdb) tar sim
Connected to the simulator.
(gdb) quit



  reply	other threads:[~2020-08-21  7:30 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-20  6:22 Patch "Run `autoreconf -vf` throughout" broke the rtems-bfin build on FreeBSD Sebastian Huber
2020-08-20  6:45 ` Sebastian Huber
2020-08-20 13:16   ` Simon Marchi
2020-08-20 13:43     ` Andreas Schwab
2020-08-20 13:45       ` Simon Marchi
2020-08-20 14:04         ` [PATCH] sim/bfin: include config/pkg.m4 in configure.ac (was: Patch "Run `autoreconf -vf` throughout" broke the rtems-bfin build on FreeBSD) Simon Marchi
2020-08-21  7:30           ` Sebastian Huber [this message]
2020-08-21 15:56             ` [PATCH] sim/bfin: include config/pkg.m4 in configure.ac Simon Marchi
2020-08-21 13:07           ` [PATCH] sim/bfin: include config/pkg.m4 in configure.ac (was: Patch "Run `autoreconf -vf` throughout" broke the rtems-bfin build on FreeBSD) Andrew Burgess

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e74abfd0-220c-0c07-2d7d-b4bb8bcf0125@embedded-brains.de \
    --to=sebastian.huber@embedded-brains.de \
    --cc=andrew.burgess@embecosm.com \
    --cc=gdb@sourceware.org \
    --cc=schwab@linux-m68k.org \
    --cc=simark@simark.ca \
    --cc=simon.marchi@efficios.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).