From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3881 invoked by alias); 19 Feb 2015 22:50:43 -0000 Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org Received: (qmail 3865 invoked by uid 48); 19 Feb 2015 22:50:39 -0000 From: "curzonj at gmail dot com" To: systemtap@sourceware.org Subject: [Bug translator/18001] New: Using backtrace(), caller(), or callers(n) causes a gcc internal error Date: Thu, 19 Feb 2015 22:50:00 -0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: systemtap X-Bugzilla-Component: translator X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: curzonj at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: systemtap at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-q1/txt/msg00176.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=18001 Bug ID: 18001 Summary: Using backtrace(), caller(), or callers(n) causes a gcc internal error Product: systemtap Version: unspecified Status: NEW Severity: normal Priority: P2 Component: translator Assignee: systemtap at sourceware dot org Reporter: curzonj at gmail dot com Overview: Calling caller() causes a gcc internal error. Reproduce: stap -k -v -e 'probe kernel.function("dev_hold") { printf("%s", caller()) }' Actual Results: GCC internal error during compile. Expected Results: Compile happens and script runs I want to use caller, but I tried callers(n) and backtrack() and they caused the same GCC internal error result. The compile log and artifacts are here: https://gist.github.com/curzonj/857090762c52730aa028 root@vagrant-ubuntu-trusty-64:/vagrant# uname -a Linux vagrant-ubuntu-trusty-64 3.13.0-45-generic #74-Ubuntu SMP Tue Jan 13 19:36:28 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux root@vagrant-ubuntu-trusty-64:/vagrant# dpkg -l | grep linux-image ii linux-image-3.13.0-40-generic 3.13.0-40.69 amd64 Linux kernel image for version 3.13.0 on 64 bit x86 SMP ii linux-image-3.13.0-40-generic-dbgsym 3.13.0-40.69 amd64 Linux kernel debug image for version 3.13.0 on 64 bit x86 SMP ii linux-image-3.13.0-45-generic 3.13.0-45.74 amd64 Linux kernel image for version 3.13.0 on 64 bit x86 SMP ii linux-image-3.13.0-45-generic-dbgsym 3.13.0-45.74 amd64 Linux kernel debug image for version 3.13.0 on 64 bit x86 SMP ii linux-image-virtual 3.13.0.45.52 amd64 This package will always depend on the latest minimal generic kernel image. root@vagrant-ubuntu-trusty-64:/vagrant# dpkg -l | grep gcc ii gcc 4:4.8.2-1ubuntu6 amd64 GNU C compiler ii gcc-4.8 4.8.2-19ubuntu1 amd64 GNU C compiler ii gcc-4.8-base:amd64 4.8.2-19ubuntu1 amd64 GCC, the GNU Compiler Collection (base package) ii gcc-4.9-base:amd64 4.9.1-0ubuntu1 amd64 GCC, the GNU Compiler Collection (base package) ii libgcc-4.8-dev:amd64 4.8.2-19ubuntu1 amd64 GCC support library (development files) ii libgcc1:amd64 1:4.9.1-0ubuntu1 amd64 GCC support library root@vagrant-ubuntu-trusty-64:/vagrant# dpkg -l | grep systemtap ii systemtap 2.3-1ubuntu1 amd64 instrumentation system for Linux ii systemtap-common 2.3-1ubuntu1 all instrumentation system for Linux (common component) ii systemtap-runtime 2.3-1ubuntu1 amd64 instrumentation system for Linux (runtime component) -- You are receiving this mail because: You are the assignee for the bug.