Re: stack validation warning on lttng-modules bytecode interpreter

2016-06-15 Thread Mathieu Desnoyers
- On Jun 15, 2016, at 4:28 PM, Josh Poimboeuf jpoim...@redhat.com wrote: > On Wed, Jun 15, 2016 at 03:24:52PM -0500, Josh Poimboeuf wrote: >> Thanks, figured it out. It was an objtool bug. It was expecting the >> macro to create a section symbol (STT_SECTION), but for some reason this >> fil

Re: stack validation warning on lttng-modules bytecode interpreter

2016-06-15 Thread Josh Poimboeuf
On Wed, Jun 15, 2016 at 03:24:52PM -0500, Josh Poimboeuf wrote: > Thanks, figured it out. It was an objtool bug. It was expecting the > macro to create a section symbol (STT_SECTION), but for some reason this > file's use of the macro creates a function symbol (STT_FUNC). Actually, to be precise

Re: stack validation warning on lttng-modules bytecode interpreter

2016-06-15 Thread Josh Poimboeuf
On Wed, Jun 15, 2016 at 08:01:09PM +, Mathieu Desnoyers wrote: > - On Jun 15, 2016, at 3:38 PM, Josh Poimboeuf jpoim...@redhat.com wrote: > > > On Wed, Jun 15, 2016 at 07:13:39PM +, Mathieu Desnoyers wrote: > >> - On Jun 15, 2016, at 2:18 PM, Josh Poimboeuf jpoim...@redhat.com > >

Re: stack validation warning on lttng-modules bytecode interpreter

2016-06-15 Thread Josh Poimboeuf
On Wed, Jun 15, 2016 at 07:13:39PM +, Mathieu Desnoyers wrote: > - On Jun 15, 2016, at 2:18 PM, Josh Poimboeuf jpoim...@redhat.com wrote: > > > On Wed, Jun 15, 2016 at 04:55:16PM +, Mathieu Desnoyers wrote: > >> Hi Josh, > >> > >> I notice that with gcc 6.1.1, kernel 4.6, with > >> CO

Re: stack validation warning on lttng-modules bytecode interpreter

2016-06-15 Thread Mathieu Desnoyers
- On Jun 15, 2016, at 2:18 PM, Josh Poimboeuf jpoim...@redhat.com wrote: > On Wed, Jun 15, 2016 at 04:55:16PM +, Mathieu Desnoyers wrote: >> Hi Josh, >> >> I notice that with gcc 6.1.1, kernel 4.6, with >> CONFIG_STACK_VALIDATION=y, building lttng-modules master >> at commit 6c09dd94 give

Re: stack validation warning on lttng-modules bytecode interpreter

2016-06-15 Thread Josh Poimboeuf
On Wed, Jun 15, 2016 at 04:55:16PM +, Mathieu Desnoyers wrote: > Hi Josh, > > I notice that with gcc 6.1.1, kernel 4.6, with > CONFIG_STACK_VALIDATION=y, building lttng-modules master > at commit 6c09dd94 gives this warning: > > lttng-modules/lttng-filter-interpreter.o: warning: objtool: > l