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

            Bug ID: 111081
           Summary: LTO link failure on darwin: g++.dg/lto/pr65276
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: lto
          Assignee: unassigned at gcc dot gnu.org
          Reporter: fxcoudert at gcc dot gnu.org
                CC: marxin at gcc dot gnu.org
  Target Milestone: ---

The test failure is seen on both x86_64-apple-darwin and aarch64-apple-darwin:

FAIL: g++.dg/lto/pr65276 cp_lto_pr65276_0.o-cp_lto_pr65276_1.o link, -flto -O0
-std=c++11

The error occurs at linking, and it says:

duplicate symbol 'typeinfo name for std2::exception' in:
    cp_lto_pr65276_0.o
    cp_lto_pr65276_1.o
duplicate symbol 'typeinfo for std2::exception' in:
    cp_lto_pr65276_0.o
    cp_lto_pr65276_1.o
ld: 2 duplicate symbols for architecture arm64

Reply via email to