lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100709044258.GA26884@linux.vnet.ibm.com>
Date:	Fri, 9 Jul 2010 10:12:58 +0530
From:	Srikar Dronamraju <srikar@...ux.vnet.ibm.com>
To:	Christoph Hellwig <hch@...radead.org>
Cc:	Peter Zijlstra <peterz@...radead.org>, Ingo Molnar <mingo@...e.hu>,
	Steven Rostedt <rostedt@...dmis.org>,
	Randy Dunlap <rdunlap@...otime.net>,
	Arnaldo Carvalho de Melo <acme@...radead.org>,
	Linus Torvalds <torvalds@...ux-foundation.org>,
	Naren A Devaiah <naren.devaiah@...ibm.com>,
	Ananth N Mavinakayanahalli <ananth@...ibm.com>,
	Masami Hiramatsu <masami.hiramatsu.pt@...achi.com>,
	Oleg Nesterov <oleg@...hat.com>,
	Mark Wielaard <mjw@...hat.com>,
	Mathieu Desnoyers <mathieu.desnoyers@...icios.com>,
	LKML <linux-kernel@...r.kernel.org>,
	Jim Keniston <jkenisto@...ux.vnet.ibm.com>,
	Frederic Weisbecker <fweisbec@...il.com>,
	"Frank Ch. Eigler" <fche@...hat.com>,
	Andrew Morton <akpm@...ux-foundation.org>,
	"Paul E. McKenney" <paulmck@...ux.vnet.ibm.com>
Subject: Re: [PATCHv8 2.6.35-rc4-tip 0/12]  Uprobes Patches:


Thanks for trying and informing of the problem.  This problem occurs
when compiling perf with elfutils-devel > 0.138 installed. I am
resending the patch 11/12 which was "[PATCHv8 2.6.35-rc4-tip 11/12]
perf: perf interface for uprobes"

I probably messed it up while merging to the latest tip/master.

--
Thanks 
Srikar


> I can't actually get perf to build with these patches applied ontop
> of the -tip tree master branch:
> 
>     CC util/probe-finder.o
> til/probe-finder.c: In function 'alloc_trace_arg_ref':
> util/probe-finder.c:412: error: invalid application of 'sizeof' to incomplete type 'struct kprobe_trace_arg_ref' 
> util/probe-finder.c:414: error: dereferencing pointer to incomplete type
> cc1: warnings being treated as errors
> util/probe-finder.c: In function 'convert_variable_location':
> util/probe-finder.c:428: error: initialization from incompatible pointertype
> util/probe-finder.c:444: error: dereferencing pointer to incomplete type
> util/probe-finder.c:445: error: dereferencing pointer to incomplete type
> util/probe-finder.c:447: error: dereferencing pointer to incomplete type
> util/probe-finder.c:448: error: dereferencing pointer to incomplete type
> util/probe-finder.c:449: error: dereferencing pointer to incomplete type
> util/probe-finder.c:489: error: dereferencing pointer to incomplete type
> util/probe-finder.c:490: error: dereferencing pointer to incomplete type
> util/probe-finder.c:494: error: dereferencing pointer to incomplete type
> util/probe-finder.c:495: error: dereferencing pointer to incomplete type
> util/probe-finder.c: At top level:
> util/probe-finder.c:503: error: 'struct kprobe_trace_arg' declared inside parameter list
> util/probe-finder.c:503: error: its scope is only this definition or declaration, which is probably not what you want
> util/probe-finder.c: In function 'convert_variable_type':
> util/probe-finder.c:505: error: dereferencing pointer to incomplete type
> util/probe-finder.c:513: error: dereferencing pointer to incomplete type
> util/probe-finder.c:514: error: dereferencing pointer to incomplete type
> util/probe-finder.c:541: error: dereferencing pointer to incomplete type
> util/probe-finder.c:543: error: invalid application of 'sizeof' to incomplete type 'struct kprobe_trace_arg_ref' 
> util/probe-finder.c:556: error: dereferencing pointer to incomplete type
> util/probe-finder.c:557: error: dereferencing pointer to incomplete type
> util/probe-finder.c:579: error: dereferencing pointer to incomplete type
> util/probe-finder.c:580: error: dereferencing pointer to incomplete type
> util/probe-finder.c: In function 'convert_variable_fields':
> util/probe-finder.c:617: error: invalid application of 'sizeof' to incomplete type 'struct kprobe_trace_arg_ref' 
> util/probe-finder.c: In function 'convert_variable':
> util/probe-finder.c:718: error: passing argument 2 of 'convert_variable_type' from incompatible pointer type
> util/probe-finder.c:501: note: expected 'struct kprobe_trace_arg *' but
> argument is of type 'struct probe_trace_arg *'
> make: *** [util/probe-finder.o] Error 1
> hch@...ck:~/work/linux-2.6-tip/tools/perf$  
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ