This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug runtime/22572] systemtap 3.2 failed to compile on ARM
- From: "mysecondaccountabc at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Mon, 11 Dec 2017 01:44:55 +0000
- Subject: [Bug runtime/22572] systemtap 3.2 failed to compile on ARM
- Auto-submitted: auto-generated
- References: <bug-22572-6586@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=22572
--- Comment #8 from Gustavo Moreira <mysecondaccountabc at gmail dot com> ---
(In reply to Frank Ch. Eigler from comment #4)
> Just a guess - does this hypothetical patch fix your build?
>
> diff --git a/staptree.h b/staptree.h
> index a376a436b88b..84d4fec63db9 100644
> --- a/staptree.h
> +++ b/staptree.h
> @@ -518,10 +518,10 @@ struct print_format: public expression
> unsigned base;
> unsigned width;
> unsigned precision;
> - unsigned flags : 8;
> - width_type widthtype : 8;
> - precision_type prectype : 8;
> - conversion_type type : 8;
> + unsigned flags;
> + width_type widthtype;
> + precision_type prectype;
> + conversion_type type;
> interned_string literal_string;
> bool is_empty() const
> {
Thanks Frank, yeah patching it that way also works.
Same concern I asked to Torsten@ and David@ :
"I wonder why it's failing, because it's not due to the CXX11's "Strongly-typed
enums" feature. Actually, I've tested it separately and this feature works with
G++ 4.7 (have a look to my response to David@). It seems to be failing inside
STL."
Cheers,
Gus
--
You are receiving this mail because:
You are the assignee for the bug.