bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/27473] New: it's report error when using uftrace from binu


From: wangmy at cn dot fujitsu.com
Subject: [Bug binutils/27473] New: it's report error when using uftrace from binutils2.35.1
Date: Fri, 26 Feb 2021 08:06:16 +0000

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

            Bug ID: 27473
           Summary: it's report error when using uftrace from
                    binutils2.35.1
           Product: binutils
           Version: 2.35.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: wangmy at cn dot fujitsu.com
  Target Milestone: ---

It's report error when using uftrace from binutils-2.35.1.

Is there any import changes from 2.35.1?

Here shows the problem while running uftrace on an ARM64el target board.(x86_64
and ARM32el are OK)

[test 1]

root #  uftrace -a --force --no-pager ls
WARN: child terminated by signal: 7: Bus error
WARN: cannot open record data: /tmp/uftrace-live-r70C7c: No data available

[test2]

test.sh:
test="uftrace_report" 
test_cpp="test.cpp" 
touch $test_cpp
cat >> $test_cpp <<EOF
#include <cstdio>
class A {
public:
        A() {printf("A is created\n");}
        ~A() {printf("A is destroyed\n");}
};
int main() {
        A a;
        return 0;
}
EOF
g++ -pg $test_cpp

uftrace record a.out

uftrace report a.out

rm -f $test_cpp a.out
rm -rf uftrace.data

root # sh test.sh
WARN: child terminated by signal: 7: Bus error
WARN: cannot open record data: uftrace.data: No data available

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]