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

            Bug ID: 32773
           Summary: Test failures when -flto is used
           Product: binutils
           Version: 2.45 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: hjl.tools at gmail dot com
  Target Milestone: ---

When binutils is configured with

$ CC="gcc" CXX="g++" CFLAGS="-O2 -g -flto" CXXFLAGS="-O2 -g -flto"
.../configure

I got

/export/gnu/import/git/gitlab/x86-binutils/gprof/testsuite/tst-gmon-gprof.sh
../gprof tst-gmon
--- expected
+++ actual
@@ -1,3 +0,0 @@
-f1 2000 
-f2 1000 
-f3 1
FAIL
make[7]: *** [Makefile:881: tst-gmon-gprof.out] Error 1
FAIL: strip
FAIL: strip with saving a symbol
FAIL: strip without global symbol 
FAIL: Arrays (conflicted)
FAIL: Arrays (extern)
FAIL: Arrays
FAIL: Conflicting cycle 1.B-1
FAIL: Conflicting cycle 1.B-2
FAIL: Conflicting cycle 1.parent
FAIL: Conflicting cycle 2.A-1
FAIL: Conflicting cycle 2.A-2
FAIL: Conflicting cycle 2.parent
FAIL: Conflicting cycle 3.C-1
FAIL: Conflicting cycle 3.C-2
FAIL: Conflicting cycle 3
FAIL: Conflicting Enums
FAIL: Conflicting Typedefs
FAIL: cross-TU-cyclic-conflicting
FAIL: cross-TU-cyclic-nonconflicting
FAIL: cross-TU-into-cycle
FAIL: cross-TU-noncyclic
FAIL: Cycle 1
FAIL: Cycle 2.A
FAIL: Cycle 2.B
FAIL: Cycle 2.C
FAIL: Conflicted data syms, partially indexed, stripped, with variables
FAIL: Conflicted data syms, partially indexed, stripped
FAIL: Forwards to enums
FAIL: Enumerated types
FAIL: Forwards
FAIL: Function
FAIL: Nonrepresentable members
FAIL: Nonrepresentable types
FAIL: Semioverlapping enumerators
FAIL: Overlapping enumerators
FAIL: Slice
FAIL: Super- and sub-cycles

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

Reply via email to