public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* Systemtap smoke test fails on Ubuntu Server LTS 14.04.1 (Utopic)
@ 2014-10-25 13:19 Andriy Zharko
  2014-10-25 16:01 ` Fwd: " Andriy Zharko
  0 siblings, 1 reply; 3+ messages in thread
From: Andriy Zharko @ 2014-10-25 13:19 UTC (permalink / raw)
  To: systemtap

Hello!

I install systemtap on my Ubuntu server using apy-get or build it
straight from systemtap's git repo, all looks fine. However, when
executing a simple smoke test, I get following errors:
===============================================================
$ sudo stap -v -e 'probe vfs.read {printf("read performed\n"); exit()}'
Pass 1: parsed user script and 106 library script(s) using
56160virt/33364res/4380shr/29708data kb, in 100usr/0sys/98real ms.
Pass 2: analyzed script: 1 probe(s), 1 function(s), 3 embed(s), 0
global(s) using 206536virt/185424res/6120shr/180084data kb, in
1410usr/80sys/1498real ms.
Pass 3: translated to C into
"/tmp/stapqyvuQN/stap_fed5d5a9ebf742dd24a5b0fcc8155bb5_1527_src.c" using
206536virt/185616res/6312shr/180084data kb, in 10usr/0sys/4real ms.
ld: BFD (GNU Binutils for Ubuntu) 2.24.90.20141014 internal error,
aborting at ../../bfd/elf-eh-frame.c line 1727 in
_bfd_elf_write_section_eh_frame

ld: Please report this bug.

scripts/Makefile.modpost:124: recipe for target
'/tmp/stapqyvuQN/stap_fed5d5a9ebf742dd24a5b0fcc8155bb5_1527.ko' failed
make[1]: ***
[/tmp/stapqyvuQN/stap_fed5d5a9ebf742dd24a5b0fcc8155bb5_1527.ko] Error 1
Makefile:1348: recipe for target 'modules' failed
make: *** [modules] Error 2
WARNING: kbuild exited with status: 2
Pass 4: compiled C into "stap_fed5d5a9ebf742dd24a5b0fcc8155bb5_1527.ko"
in 4890usr/860sys/5840real ms.
Pass 4: compilation failed.  [man error::pass4]
======================================================

Version of the Linux kernel I'm using:
$ uname -a
Linux ubuntu-server 3.16.0-23-generic #31-Ubuntu SMP Tue Oct 21 17:56:17
UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

Linux-image and headers and debug symbols are installed.

Please, advise how to fix this problem and to make systemtap working
properly. Thanks!
---
Br, Andriy.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Fwd: Systemtap smoke test fails on Ubuntu Server LTS 14.04.1 (Utopic)
  2014-10-25 13:19 Systemtap smoke test fails on Ubuntu Server LTS 14.04.1 (Utopic) Andriy Zharko
@ 2014-10-25 16:01 ` Andriy Zharko
  2014-10-27  0:24   ` Frank Ch. Eigler
  0 siblings, 1 reply; 3+ messages in thread
From: Andriy Zharko @ 2014-10-25 16:01 UTC (permalink / raw)
  To: systemtap

Oh, it was Ubuntu Server 14.10, not the latest LTS (14.04.1), my bad!


-------- Original Message --------
Subject: Systemtap smoke test fails on Ubuntu Server LTS 14.04.1 (Utopic)
Date: Sat, 25 Oct 2014 16:19:47 +0300
From: Andriy Zharko <andriy.zharko@gmail.com>
To: systemtap@sourceware.org

Hello!

I install systemtap on my Ubuntu server using apy-get or build it
straight from systemtap's git repo, all looks fine. However, when
executing a simple smoke test, I get following errors:
===============================================================
$ sudo stap -v -e 'probe vfs.read {printf("read performed\n"); exit()}'
Pass 1: parsed user script and 106 library script(s) using
56160virt/33364res/4380shr/29708data kb, in 100usr/0sys/98real ms.
Pass 2: analyzed script: 1 probe(s), 1 function(s), 3 embed(s), 0
global(s) using 206536virt/185424res/6120shr/180084data kb, in
1410usr/80sys/1498real ms.
Pass 3: translated to C into
"/tmp/stapqyvuQN/stap_fed5d5a9ebf742dd24a5b0fcc8155bb5_1527_src.c" using
206536virt/185616res/6312shr/180084data kb, in 10usr/0sys/4real ms.
ld: BFD (GNU Binutils for Ubuntu) 2.24.90.20141014 internal error,
aborting at ../../bfd/elf-eh-frame.c line 1727 in
_bfd_elf_write_section_eh_frame

ld: Please report this bug.

scripts/Makefile.modpost:124: recipe for target
'/tmp/stapqyvuQN/stap_fed5d5a9ebf742dd24a5b0fcc8155bb5_1527.ko' failed
make[1]: ***
[/tmp/stapqyvuQN/stap_fed5d5a9ebf742dd24a5b0fcc8155bb5_1527.ko] Error 1
Makefile:1348: recipe for target 'modules' failed
make: *** [modules] Error 2
WARNING: kbuild exited with status: 2
Pass 4: compiled C into "stap_fed5d5a9ebf742dd24a5b0fcc8155bb5_1527.ko"
in 4890usr/860sys/5840real ms.
Pass 4: compilation failed.  [man error::pass4]
======================================================

Version of the Linux kernel I'm using:
$ uname -a
Linux ubuntu-server 3.16.0-23-generic #31-Ubuntu SMP Tue Oct 21 17:56:17
UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

Linux-image and headers and debug symbols are installed.

Please, advise how to fix this problem and to make systemtap working
properly. Thanks!
---
Br, Andriy.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Fwd: Systemtap smoke test fails on Ubuntu Server LTS 14.04.1 (Utopic)
  2014-10-25 16:01 ` Fwd: " Andriy Zharko
@ 2014-10-27  0:24   ` Frank Ch. Eigler
  0 siblings, 0 replies; 3+ messages in thread
From: Frank Ch. Eigler @ 2014-10-27  0:24 UTC (permalink / raw)
  To: Andriy Zharko; +Cc: systemtap


Hi -

> I install systemtap on my Ubuntu [14.10] server using apy-get or build it
> straight from systemtap's git repo, all looks fine. However, when
> executing a simple smoke test, I get following errors:
> [...]
> "/tmp/stapqyvuQN/stap_fed5d5a9ebf742dd24a5b0fcc8155bb5_1527_src.c" using
> 206536virt/185616res/6312shr/180084data kb, in 10usr/0sys/4real ms.
> ld: BFD (GNU Binutils for Ubuntu) 2.24.90.20141014 internal error,
> aborting at ../../bfd/elf-eh-frame.c line 1727 in
> _bfd_elf_write_section_eh_frame
>
> ld: Please report this bug.
> [...]

It's almost certainly a bug, and not in systemtap but in in the lower
level gcc/gas/binutils toolchain.  Try "stap --vp 0004 -k -p4 ...",
and archive the resulting /var/tmp/stapXXXX directory.  The .o file
and the gcc/etc. invocation command line should help binutils hackers
track this one down.

- FChE

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-10-27  0:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-25 13:19 Systemtap smoke test fails on Ubuntu Server LTS 14.04.1 (Utopic) Andriy Zharko
2014-10-25 16:01 ` Fwd: " Andriy Zharko
2014-10-27  0:24   ` Frank Ch. Eigler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).