Thanks,

On Mon, Oct 2, 2017 at 5:38 PM, Ritesh Raj Sarraf <r...@debian.org> wrote:
> On Mon, 2017-10-02 at 21:00 +0545, Ritesh Raj Sarraf wrote:
>> On Thu, 2017-09-21 at 08:39 +0100, Stephan Dollberg wrote:
>> > Let me know whether you need any more info.
>>
>> The latest git snapshot I picked from today, fails to build in the
>> eBPF
>> module.
>
> I fixed that but ran into another build failure with documentation.
>
> gcc -DHAVE_CONFIG_H -I. -I../..   -Wdate-time -D_FORTIFY_SOURCE=2  -g
> -O2 -fdebug-prefix-map=/build/systemtap-3.1+0git~327788a9=. -fstack-
> protector-strong -Wformat -Werror=fo
> rmat-security -fstack-protector-all -D_FORTIFY_SOURCE=2 -c -o docproc.o
> docproc.c
> gcc  -g -O2 -fdebug-prefix-map=/build/systemtap-3.1+0git~327788a9=.
> -fstack-protector-s
> trong -Wformat -Werror=format-security -fstack-protector-all
> -D_FORTIFY_SOURCE=2  -Wl,-z,relro -o docproc docproc.o
> sed -e '/^!Syscalls/{r /build/systemtap-
> 3.1+0git~327788a9/doc/SystemTap_Tapset_Reference/syscalls.xmlpart' -e
> 'd}' /build/systemtap-
> 3.1+0git~327788a9/doc/SystemTap_Tapset_Reference/tapsets.tmpl >
> tapsets.tmpl.new
> SRCTREE=/build/systemtap-3.1+0git~327788a9/ /build/systemtap-
> 3.1+0git~327788a9/doc/SystemTap_Tapset_Reference/docproc doc
> tapsets.tmpl.new > tapsets.xml.new
> Error(/build/systemtap-3.1+0git~327788a9//tapset/linux/dentry.stp:193):
> cannot understand prototype: '/* '
> Makefile:620: recipe for target 'tapsets.xml' failed
> make[5]: *** [tapsets.xml] Error 1
> make[5]: Leaving directory '/build/systemtap-
> 3.1+0git~327788a9/doc/SystemTap_Tapset_Reference'
> Makefile:411: recipe for target 'all-recursive' failed
> make[4]: *** [all-recursive] Error 1
> make[4]: Leaving directory '/build/systemtap-3.1+0git~327788a9/doc'
> Makefile:2013: recipe for target 'all-recursive' failed
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory '/build/systemtap-3.1+0git~327788a9'
> Makefile:718: recipe for target 'all' failed
> make[2]: *** [all] Error 2
>

are you configuring with some special flags? I just tried again with
latest git 8245d200c9d9061ce0bb9430d9e7d8a4908d3bb9 and it builds fine
(latest debian testing). Maybe it's some package I have installed.

>
> systemtap git snapshots may not be a good idea.
>
>

Agree, probably best to keep up with systemtap tagged releases and
temporarily cherry picking commits if newer kernels require it.

> You wrote:
>
> a477a4312 PR21255: Fix missing __set_task_state() definition.
> 62640f2ed PR21255: Fix missing get_task_mm() declaration.
> and
> 27214666  gcc PR80115: sys/sdt.h: tweak i386 argument passing
>
> I see best bet for now is to pick these individual changes.
>
> --
> Ritesh Raj Sarraf | http://people.debian.org/~rrs
> Debian - The Universal Operating System

Reply via email to