Dwarves Archive on lore.kernel.org
 help / color / Atom feed
From: Cody Schafer <cody-QpQMm/NnEELQT0dZR+AlfA@public.gmane.org>
To: "Elliott,
	Robert (Server Storage)" <Elliott-VXdhtT5mjnY@public.gmane.org>,
	dwarves-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: pahole DW_TAG_mutable_type
Date: Mon, 27 Apr 2015 19:47:02 -0400
Message-ID: <CA+E_MsxY9sC2Eh2gSx5U1z7Ay-nPOnC3ZraaLzcopkSvwX6MJg@mail.gmail.com> (raw)

On Mon, Apr 27, 2015 at 12:25 PM, Elliott, Robert (Server Storage)
<Elliott-VXdhtT5mjnY@public.gmane.org> wrote:
>
> Recent versions of libdwarves have removed DW_TAG_mutable_type, which
> affects dwarves_fprintf.c.
>                 http://www.spinics.net/lists/dwarves/msg00121.html
>
> This causes an error building pahole, which has a copy of dwarves_fprintf.c:
>
>
> [  8%] Building C object CMakeFiles/dwarves.dir/dwarves_fprintf.o
> /home/orange/sw/pahole/dwarves_fprintf.c:77:3: error: 'DW_TAG_mutable_type' undeclared here (not in a function)
>   [DW_TAG_mutable_type]    = "mutable_type",
>    ^
> /home/orange/sw/pahole/dwarves_fprintf.c:77:2: error: array index in initializer not of integer type
>   [DW_TAG_mutable_type]    = "mutable_type",
>   ^
> /home/orange/sw/pahole/dwarves_fprintf.c:77:2: error: (near initialization for 'dwarf_tag_names')
> make[2]: *** [CMakeFiles/dwarves.dir/dwarves_fprintf.o] Error 1
>
>
> Deleting that line seems to fix the problem.


I'm not upstream, I'm just some guy with a github repo of pahole :)

Redirecting this to the right mailing list, might already be fixed
upstream (https://git.kernel.org/cgit/devel/pahole/pahole.git), I
haven't checked.

Probably a good idea to add the mailing list (and git url) to the
README to make it more discover-able for folks that find the source
code in other places.
--
To unsubscribe from this list: send the line "unsubscribe dwarves" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

             reply index

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-27 23:47 Cody Schafer [this message]
     [not found] ` <CA+E_MsxY9sC2Eh2gSx5U1z7Ay-nPOnC3ZraaLzcopkSvwX6MJg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-04-28  0:45   ` Arnaldo Carvalho de Melo
     [not found]     ` <20150428004550.GG16849-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2015-04-28  1:06       ` Cody Schafer
     [not found]         ` <CA+E_MsxSnuJyKZRhd3B9WHeH+wBk5VB22Y0KBC3_=J34wyhkeQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-04-28  1:15           ` Elliott, Robert (Server Storage)
2015-04-28  1:27           ` Arnaldo Carvalho de Melo

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=CA+E_MsxY9sC2Eh2gSx5U1z7Ay-nPOnC3ZraaLzcopkSvwX6MJg@mail.gmail.com \
    --to=cody-qpqmm/nneelqt0dzr+alfa@public.gmane.org \
    --cc=Elliott-VXdhtT5mjnY@public.gmane.org \
    --cc=dwarves-u79uwXL29TY76Z2rM5mHXA@public.gmane.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

Dwarves Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/dwarves/0 dwarves/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dwarves dwarves/ https://lore.kernel.org/dwarves \
		dwarves@vger.kernel.org
	public-inbox-index dwarves

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.dwarves


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git