Bug#752891: systemtap: build on ppc64el
❦ 14 juillet 2014 09:11 -0300, Mauricio Faria de Oliveira mauri...@linux.vnet.ibm.com : I'd like to submit those for Debian once the 2nd patch is accepted. [...] Thanks for testing, and nice to see it helps. Both patches are in upstream elfutils git now and are also applied to the fedora rawhide elfutils package now. Cool! Thanks. I just submitted bug 754798. (BTW, I'm still debugging that library filename issue.) Is there some change on this issue? Would ppc64el works out of the box with systemtap 2.8 and the current userland in sid? -- Make sure special cases are truly special. - The Elements of Programming Style (Kernighan Plauger) signature.asc Description: PGP signature signature.asc Description: PGP signature
Bug#752891: systemtap: build on ppc64el
Hi Vincent, On 07/31/2015 02:59 PM, Vincent Bernat wrote: Is there some change on this issue? Would ppc64el works out of the box with systemtap 2.8 and the current userland in sid? I'm not sure - I couldn't work further on this. Currently, Fernando (CC) may have a better understanding on the topic. -- Mauricio Faria de Oliveira IBM Linux Technology Center -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#752891: systemtap: build on ppc64el
On Thu, 2014-07-10 at 16:11 -0300, Mauricio Faria de Oliveira wrote: I built an elfutils package w/ your patches. The unexpected failures decreased by 24 (from 835 to 811). I'd like to submit those for Debian once the 2nd patch is accepted. (I believe it's close, for I haven't seen replies on that list :) Thanks for testing, and nice to see it helps. Both patches are in upstream elfutils git now and are also applied to the fedora rawhide elfutils package now. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#752891: systemtap: build on ppc64el
Hi Mark, On 07/14/2014 07:47 AM, Mark Wielaard wrote: I'd like to submit those for Debian once the 2nd patch is accepted. [...] Thanks for testing, and nice to see it helps. Both patches are in upstream elfutils git now and are also applied to the fedora rawhide elfutils package now. Cool! Thanks. I just submitted bug 754798. (BTW, I'm still debugging that library filename issue.) -- Mauricio Faria de Oliveira IBM Linux Technology Center -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#752891: systemtap: build on ppc64el
Hi, Mauricio Faria de Oliveira mauri...@linux.vnet.ibm.com writes: I currently lack some more systemtap background to be sure.. but overall 835 uf/1078 ep vs. 244 uf/1692 ep doesn't look very good. Does that match your opinion? Doesn't sound very good indeed. Do you still have detailed logs from running the testsuites? I think at least the file testsuite/systemtap.sum should list which tests exactly failed, maybe there is some common cause to most of these failures. -Timo -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#752891: systemtap: build on ppc64el
BTW. From the systemtap README: Consider configuring with --enable-dejazilla to automatically contribute to our public test result database. That makes it easier to compare test results at https://web.elastic.org/~dejazilla/viewsummary.php Also since systemtap depends on elfutils you might need ppc64le elfutils support, which only recently has been contributed: https://lists.fedorahosted.org/pipermail/elfutils-devel/2014-July/004090.html https://lists.fedorahosted.org/pipermail/elfutils-devel/2014-July/004091.html -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#752891: systemtap: build on ppc64el
Hi Timo and Mark, On 07/10/2014 04:36 AM, Timo Juhani Lindfors wrote: Doesn't sound very good indeed. Do you still have detailed logs from running the testsuites? I think at least the file testsuite/systemtap.sum should list which tests exactly failed, maybe there is some common cause to most of these failures. Yes, taking a look at it, the most common failures come from the 'listing_mode' test -- 633 failures (out of 835): # grep -c '^FAIL: listing_mode' systemtap.sum 633 A nice improvement on that one might put ppc64el closer to powerpc (244 uf). I'll take a look at it. On 07/10/2014 08:08 AM, Mark Wielaard wrote: Consider configuring with --enable-dejazilla to automatically contribute to our public test result database. Sure. I'll contribute results there after making sure I'm not making (any other) big mistakes :) Also since systemtap depends on elfutils you might need ppc64le elfutils support, which only recently has been contributed: Hey, many thanks for pointing those out. It would be hard to get serious results w/out correct ABI support. :) I built an elfutils package w/ your patches. The unexpected failures decreased by 24 (from 835 to 811). I'd like to submit those for Debian once the 2nd patch is accepted. (I believe it's close, for I haven't seen replies on that list :) I'll try to find something about the listing_mode failures. Thanks for your help, -- Mauricio Faria de Oliveira IBM Linux Technology Center -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#752891: systemtap: build on ppc64el
Just documenting an observations. Debugging continues tomorrow. I'll try to find something about the listing_mode failures. The failing tests are those which do address liblisting_mode.so by non-absolute pathname. Only the absolute pathname work. There are 4 modes for specifying the filename: - liblisting_mode.so (pp_simple) - ./liblisting_mode.so(pp_rel) - *liblisting_mode.so (pp_wild) - /.../liblisting_mode.so (pp_abs) and only the absolute variant PASSes; the other 3 variants FAIL. Steps to reproduce: === Absolute pathname: -- testsuite# make check \ RUNTESTFLAGS=listing_mode.exp \ LISTING_MODE_SUBTEST='process.library(/root/git/systemtap/testsuite/liblisting_mode.so).function(libfoo)' === systemtap Summary === # of expected passes5 # of unexpected failures28 # of known failures 48 # of untested testcases 1007 passfail total: 5 + 28 = 33 Simple / Relative / Wild pathnames: --- testsuite# make check \ RUNTESTFLAGS=listing_mode.exp \ LISTING_MODE_SUBTEST='process.library(liblisting_mode.so).function(libfoo)' === systemtap Summary === # of expected passes2 # of unexpected failures31 # of known failures 48 # of untested testcases 1007 passfail total: 2 + 31 = 33 (same summary for './lib[...]' and '\*lib[...]) Related code: - proc stap_list_cmd_lib {pp {exp } {nlines_exp 1} {arguments }} { global sopath sofullpath set pp_simple [string map sopath $sopath $pp] stap_list_cmd $pp_simple $exp $nlines_exp $arguments set pp_rel [string map sopath ./$sopath $pp] stap_list_cmd $pp_rel $exp $nlines_exp $arguments set pp_abs [string map sopath $sofullpath $pp] stap_list_cmd $pp_abs $exp $nlines_exp $arguments set pp_wild [string map sopath *$sopath $pp] stap_list_cmd $pp_wild $exp $nlines_exp $arguments } -- Mauricio Faria de Oliveira IBM Linux Technology Center -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#752891: systemtap: build on ppc64el
Hi Timo, [...] Btw, would it be possible for you to run the upstream testsuite on that architecture? [...] Sure. I ran the upstream test-suite on ppc64el and powerpc ports for comparison, both running on KVM guests, linux kernel 3.14 (Debian). git remote: git://sourceware.org/git/systemtap.git git commit: 035685897c43de5cdbc15b3fc38d75c6a8955bc3 # ./configure [args from Debian srcpkg + --disable-refdocs] # make -jN # make install # make check # make installcheck (following [1]) On powerpc: # make check [...] === systemtap Summary === # of expected passes1692 # of unexpected failures244 # of unexpected successes 1 # of expected failures 287 # of known failures 59 # of untested testcases 782 # of unsupported tests 9 # make installcheck [...] FAIL: all pid tests - unexpected EOF (kernel crash) On ppc64el: # make check [...] === systemtap Summary === # of expected passes1078 # of unexpected failures835 # of unexpected successes 1 # of expected failures 287 # of known failures 58 # of untested testcases 687 # of unsupported tests 9 # make installcheck [...] === systemtap Summary === # of expected passes1400 # of unexpected failures1247 # of unexpected successes 1 # of expected failures 287 # of unknown successes 1 # of known failures 60 # of untested testcases 440 # of unsupported tests 11 I currently lack some more systemtap background to be sure.. but overall 835 uf/1078 ep vs. 244 uf/1692 ep doesn't look very good. Does that match your opinion? If that holds, I can try to look into the failures for clues (haven't done that yet). Thanks! [1] https://sourceware.org/systemtap/wiki/TestSuites -- Mauricio Faria de Oliveira IBM Linux Technology Center -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#752891: systemtap: build on ppc64el
Hi, Mauricio Faria de Oliveira mauri...@linux.vnet.ibm.com writes: Thanks for confirming it. These days Timo is more active on SystemTap, hence I'll wait for him to review and pick for his next upload. Okay, thanks Ritesh. I will wait for Timo's opinion. thanks for the patch, I'm happy to hear that systemtap works on ppc64el. Btw, would it be possible for you to run the upstream testsuite on that architecture? Running the testsuite requires root access so I can't do it on porterboxes. -Timo -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#752891: systemtap: build on ppc64el
Hi Ritesh, You seem to have forgotten to attach the patch. Oops.. Indeed. :-) Here it goes. Thanks, -- Mauricio Faria de Oliveira IBM Linux Technology Center Index: systemtap-2.3/debian/control === --- systemtap-2.3.orig/debian/control +++ systemtap-2.3/debian/control @@ -13,7 +13,7 @@ Vcs-Browser: http://git.debian.org/?p=collab-maint/systemtap.git Package: systemtap -Architecture: i386 amd64 ia64 s390 powerpc powerpcspe arm armel armeb armhf +Architecture: i386 amd64 ia64 s390 powerpc powerpcspe ppc64el arm armel armeb armhf Depends: systemtap-runtime (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}, systemtap-common (= ${source:Version}), make Suggests: systemtap-doc, vim-addon-manager @@ -46,7 +46,7 @@ Replaces: systemtap ( 0.0.20081220-1) Breaks: systemtap ( 0.0.20081220-1) Suggests: systemtap -Architecture: i386 amd64 ia64 s390 powerpc powerpcspe arm armel armeb armhf +Architecture: i386 amd64 ia64 s390 powerpc powerpcspe ppc64el arm armel armeb armhf Depends: ${shlibs:Depends}, ${misc:Depends}, adduser Description: instrumentation system for Linux (runtime component) This package contains staprun program that can be used to run @@ -71,7 +71,7 @@ information about the running Linux system. Package: systemtap-server -Architecture: i386 amd64 ia64 s390 powerpc powerpcspe arm armel armeb armhf +Architecture: i386 amd64 ia64 s390 powerpc powerpcspe ppc64el arm armel armeb armhf Depends: libnss3-tools, avahi-utils, unzip, zip, systemtap (= ${binary:Version}), systemtap-client (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}, net-tools @@ -86,7 +86,7 @@ information about the running Linux system. Package: systemtap-client -Architecture: i386 amd64 ia64 s390 powerpc powerpcspe arm armel armeb armhf +Architecture: i386 amd64 ia64 s390 powerpc powerpcspe ppc64el arm armel armeb armhf Depends: avahi-utils, unzip, zip, dnsutils, systemtap-runtime (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} Suggests: systemtap-server Description: instrumentation system for Linux (client for compile server)
Bug#752891: systemtap: build on ppc64el
On 06/30/2014 05:13 PM, Mauricio Faria de Oliveira wrote: Hi Ritesh, You seem to have forgotten to attach the patch. Oops.. Indeed. :-) Here it goes. But does it build on that architecture. Last I checked systemtap was limited on the architectures it supported. Did you successfully build it on ppc64el ? -- Ritesh Raj Sarraf | http://people.debian.org/~rrs Debian - The Universal Operating System signature.asc Description: OpenPGP digital signature
Bug#752891: systemtap: build on ppc64el
Hi Ritesh, But does it build on that architecture. Last I checked systemtap was limited on the architectures it supported. Did you successfully build it on ppc64el ? Yes; systemtap 2.3-2 + that patch builds successfully on ppc64el: [...] dpkg-deb: building package `systemtap' in `../systemtap_2.3-2_ppc64el.deb'. dpkg-deb: building package `systemtap-common' in `../systemtap-common_2.3-2_all.deb'. dpkg-deb: building package `systemtap-runtime' in `../systemtap-runtime_2.3-2_ppc64el.deb'. dpkg-deb: building package `systemtap-doc' in `../systemtap-doc_2.3-2_all.deb'. dpkg-deb: building package `systemtap-server' in `../systemtap-server_2.3-2_ppc64el.deb'. dpkg-deb: building package `systemtap-client' in `../systemtap-client_2.3-2_ppc64el.deb'. dpkg-deb: building package `systemtap-sdt-dev' in `../systemtap-sdt-dev_2.3-2_all.deb'. dpkg-genchanges ../systemtap_2.3-2_ppc64el.changes [...] $ echo $? 0 Systemtap has worked on (big-endian) ppc64 for a while on other distros. The (little-endian) ppc64el pieces are being introduced on Debian. :) Thank you, -- Mauricio Faria de Oliveira IBM Linux Technology Center -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#752891: systemtap: build on ppc64el
On 06/30/2014 06:23 PM, Mauricio Faria de Oliveira wrote: Hi Ritesh, But does it build on that architecture. Last I checked systemtap was limited on the architectures it supported. Did you successfully build it on ppc64el ? Yes; systemtap 2.3-2 + that patch builds successfully on ppc64el: [...] dpkg-deb: building package `systemtap' in `../systemtap_2.3-2_ppc64el.deb'. dpkg-deb: building package `systemtap-common' in `../systemtap-common_2.3-2_all.deb'. dpkg-deb: building package `systemtap-runtime' in `../systemtap-runtime_2.3-2_ppc64el.deb'. dpkg-deb: building package `systemtap-doc' in `../systemtap-doc_2.3-2_all.deb'. dpkg-deb: building package `systemtap-server' in `../systemtap-server_2.3-2_ppc64el.deb'. dpkg-deb: building package `systemtap-client' in `../systemtap-client_2.3-2_ppc64el.deb'. dpkg-deb: building package `systemtap-sdt-dev' in `../systemtap-sdt-dev_2.3-2_all.deb'. dpkg-genchanges ../systemtap_2.3-2_ppc64el.changes [...] $ echo $? 0 Systemtap has worked on (big-endian) ppc64 for a while on other distros. The (little-endian) ppc64el pieces are being introduced on Debian. :) Thanks for confirming it. These days Timo is more active on SystemTap, hence I'll wait for him to review and pick for his next upload. -- Ritesh Raj Sarraf | http://people.debian.org/~rrs Debian - The Universal Operating System signature.asc Description: OpenPGP digital signature
Bug#752891: systemtap: build on ppc64el
On 06/30/2014 10:13 AM, Ritesh Raj Sarraf wrote: Systemtap has worked on (big-endian) ppc64 for a while on other distros. The (little-endian) ppc64el pieces are being introduced on Debian. :) Thanks for confirming it. These days Timo is more active on SystemTap, hence I'll wait for him to review and pick for his next upload. Okay, thanks Ritesh. I will wait for Timo's opinion. Regards, -- Mauricio Faria de Oliveira IBM Linux Technology Center -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#752891: systemtap: build on ppc64el
On 06/27/2014 07:16 PM, Mauricio Faria de Oliveira wrote: Hi Ritesh, This trivial patch adds ppc64el [1] to the arch list in systemtap. May you please consider it for an upload? Thank you, [1] https://wiki.debian.org/ppc64el Hello Mauricio, You seem to have forgotten to attach the patch. -- Ritesh Raj Sarraf | http://people.debian.org/~rrs Debian - The Universal Operating System signature.asc Description: OpenPGP digital signature
Bug#752891: systemtap: build on ppc64el
Package: src:systemtap Version: 2.3-2 Tags: patch User: debian-powe...@lists.debian.org Usertags: ppc64el Hi Ritesh, This trivial patch adds ppc64el [1] to the arch list in systemtap. May you please consider it for an upload? Thank you, [1] https://wiki.debian.org/ppc64el -- Mauricio Faria de Oliveira IBM Linux Technology Center -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org