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

            Bug ID: 34237
           Summary: gprof tests FAIL on Solaris
           Product: binutils
           Version: 2.47 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gprof
          Assignee: unassigned at sourceware dot org
          Reporter: ro at gcc dot gnu.org
  Target Milestone: ---
            Target: *-*-solaris2.11

The gprof tests FAIL on Solaris, always in the same way:

gprof/testsuite/tst-gmon-gprof.sh ../gprof tst-gmon
--- expected
+++ actual
@@ -1,3 +1,4 @@
 f1 2000
 f2 1000
 f3 1
+main 1
FAIL

The full gprof -C output is

tst-gmon.c:25: (f1:0x1000011c0) 2000 executions
tst-gmon.c:31: (f2:0x1000011e0) 1000 executions
tst-gmon.c:40: (f3:0x100001208) 1 executions
tst-gmon.c:51: (main:0x100001250) 1 executions

I suspect this happens because Solaris still uses the original BFD gmon.out
format, but am still looking at the gprof -d output to verify.

If the addition is benign, one could pass $target to the gprof tests scripts
and expect the additional line.  It would be best to have a single *.expected
file per target, however I cannot tell which targets need the powerpc special
version.

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

Reply via email to