https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94249

            Bug ID: 94249
           Summary: [10 regression] Many -flto -fuse-linker-plugin tests
                    FAIL: could not add symbols
           Product: gcc
           Version: 10.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: lto
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ro at gcc dot gnu.org
                CC: marxin at gcc dot gnu.org
  Target Milestone: ---
              Host: sparc-sun-solaris2.11
            Target: sparc-sun-solaris2.11
             Build: sparc-sun-solaris2.11

Between 20200313 (fd8679974b2ded884ffd7d912efef7fe13e4ff4f) and 20200320
(719c864225e28c33a0737a331a772781ce8e6591), many LTO tests began to FAIL
on Solaris/SPARC with gld 2.34, e.g.

+FAIL: c-c++-common/asan/alloca_instruments_all_paddings.c   -O2 -flto
-fuse-linker-plugin -fno-fat-lto-objects  (test for excess errors)
+UNRESOLVED: c-c++-common/asan/alloca_instruments_all_paddings.c   -O2 -flto
-fuse-linker-plugin -fno-fat-lto-objects  compilation failed to produce
executable

Excess errors:
/vol/gcc/bin/gld-2.34: error: could not add symbols

For some reason, this still works ok on Solaris/x86, though.

Reply via email to