From: Mike Frysinger via Gdb-patches <gdb-patches@sourceware.org>
To: Dimitar Dimitrov <dimitar@dinux.eu>
Cc: gdb-patches@sourceware.org
Subject: Re: [PATCH 1/3] sim: testsuite: calculate $arch from $subdir
Date: Mon, 5 Apr 2021 13:17:01 -0400 [thread overview]
Message-ID: <YGtGDXkonhUn5Y47@vapier> (raw)
In-Reply-To: <5328944.Q7PVtjR6cZ@tpdeb>
On 05 Apr 2021 19:31, Dimitar Dimitrov wrote:
> From 6f0fb28ff86acc17b5038978cc42144ffa5a5cb4 Mon Sep 17 00:00:00 2001
> From: Dimitar Dimitrov <dimitar@dinux.eu>
> Date: Mon, 5 Apr 2021 19:21:35 +0300
> Subject: [PATCH] sim: Add bfd include path for common testsuite tools
>
> On my Fedora33 host this patch fixes the following "make check-sim"
> errors for both pru cross target, and native x86_64:
>
> In file included from ../../../binutils/sim/common/sim-basics.h:131,
> from testsuite/common/bits32m0.c:13:../../../binutils/sim/../include/gdb/callback.h:55:10: fatal error: bfd.h: No such file or directory
> 55 | #include "bfd.h"
> | ^~~~~~~
i'm guessing you don't have libbfd installed in your host distro already ?
i do which is why i think i missed this.
> %C%_CPPFLAGS = \
> -I$(srcdir)/common \
> - -I$(srcroot)/include
> + -I$(srcroot)/include \
> + -I../bfd
this looks fine. i'm not sure it's super kosher since it's technically,
mixing host & target headers, but i don't think we have much choice at
this point.
-mike
next prev parent reply other threads:[~2021-04-05 17:17 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-04 14:35 Mike Frysinger via Gdb-patches
2021-04-04 14:35 ` [PATCH 2/3] sim: testsuite: skip tests when the port is disabled Mike Frysinger via Gdb-patches
2021-04-04 14:35 ` [PATCH 3/3] sim: testsuite: support exit 77 for unsupported tests Mike Frysinger via Gdb-patches
2021-04-05 16:31 ` [PATCH 1/3] sim: testsuite: calculate $arch from $subdir Dimitar Dimitrov
2021-04-05 17:17 ` Mike Frysinger via Gdb-patches [this message]
2021-04-05 18:19 ` Dimitar Dimitrov
2021-05-06 20:51 ` Dimitar Dimitrov
2021-05-06 22:27 ` Mike Frysinger via Gdb-patches
2021-05-07 18:21 ` [PATCH/committed] sim: Add bfd include path for common testsuite tools Dimitar Dimitrov
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=YGtGDXkonhUn5Y47@vapier \
--to=gdb-patches@sourceware.org \
--cc=dimitar@dinux.eu \
--cc=vapier@gentoo.org \
/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