public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
From: "curzonj at gmail dot com" <sourceware-bugzilla@sourceware.org>
To: systemtap@sourceware.org
Subject: [Bug translator/18001] Using sysname(), caller(), or callers(n) causes a gcc internal error
Date: Fri, 20 Feb 2015 03:01:00 -0000	[thread overview]
Message-ID: <bug-18001-6586-vb0DF6HRFk@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-18001-6586@http.sourceware.org/bugzilla/>

https://sourceware.org/bugzilla/show_bug.cgi?id=18001

--- Comment #2 from curzonj at gmail dot com ---
I tried it with the latest 2.7 code and it still happens:

root@vagrant-ubuntu-trusty-64:~# ./systemtap-2.7-19547/bin/stap -v -e 'probe
kernel.function("dev_hold") { printf("%s", caller()) }'
Pass 1: parsed user script and 106 library script(s) using
58116virt/34428res/2108shr/33140data kb, in 100usr/0sys/109real ms.
Pass 2: analyzed script: 50 probe(s), 9 function(s), 5 embed(s), 0 global(s)
using 102708virt/79992res/3248shr/77732data kb, in 1250usr/610sys/2204real ms.
Pass 3: translated to C into
"/tmp/stapYJx4LW/stap_e822ddb75f639bdc4f9d6dc5d068516b_16046_src.c" using
102708virt/80668res/3544shr/77732data kb, in 280usr/20sys/295real ms.
gcc: internal compiler error: Killed (program cc1)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.8/README.Bugs> for instructions.
make[1]: ***
[/tmp/stapYJx4LW/stap_e822ddb75f639bdc4f9d6dc5d068516b_16046_src.o] Error 4
make: *** [_module_/tmp/stapYJx4LW] Error 2
WARNING: kbuild exited with status: 2
Pass 4: compiled C into "stap_e822ddb75f639bdc4f9d6dc5d068516b_16046.ko" in
3930usr/1780sys/17480real ms.
Pass 4: compilation failed.  [man error::pass4]
root@vagrant-ubuntu-trusty-64:~# ./systemtap-2.7-19547/bin/stap -v
A script must be specified.
Try '--help' for more information.
root@vagrant-ubuntu-trusty-64:~# ./systemtap-2.7-19547/bin/stap --version
Systemtap translator/driver (version 2.7/0.160, non-git sources)
Copyright (C) 2005-2014 Red Hat, Inc. and others
This is free software; see the source for copying conditions.
enabled features: TR1_UNORDERED_MAP NLS

-- 
You are receiving this mail because:
You are the assignee for the bug.

  parent reply	other threads:[~2015-02-20  3:01 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-19 22:50 [Bug translator/18001] New: Using backtrace(), " curzonj at gmail dot com
2015-02-19 23:08 ` [Bug translator/18001] Using sysname(), " curzonj at gmail dot com
2015-02-19 23:10 ` curzonj at gmail dot com
2015-02-20  3:01 ` curzonj at gmail dot com [this message]
2015-02-20 14:30 ` fche at redhat dot com
2015-02-20 17:31 ` curzonj at gmail dot com
2015-02-22  1:51 ` fche at redhat dot com
2020-02-19 21:40 ` fche at redhat dot com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-18001-6586-vb0DF6HRFk@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=systemtap@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).