This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug translator/18001] Using sysname(), caller(), or callers(n) causes a gcc internal error


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]