public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug lto/111081] New: LTO link failure on darwin: g++.dg/lto/pr65276
@ 2023-08-20 10:30 fxcoudert at gcc dot gnu.org
  2023-08-20 10:31 ` [Bug lto/111081] " fxcoudert at gcc dot gnu.org
  2023-08-20 17:01 ` iains at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: fxcoudert at gcc dot gnu.org @ 2023-08-20 10:30 UTC (permalink / raw)
  To: gcc-bugs

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug lto/111081] LTO link failure on darwin: g++.dg/lto/pr65276
  2023-08-20 10:30 [Bug lto/111081] New: LTO link failure on darwin: g++.dg/lto/pr65276 fxcoudert at gcc dot gnu.org
@ 2023-08-20 10:31 ` fxcoudert at gcc dot gnu.org
  2023-08-20 17:01 ` iains at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: fxcoudert at gcc dot gnu.org @ 2023-08-20 10:31 UTC (permalink / raw)
  To: gcc-bugs

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

Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
      Known to fail|                            |14.0
   Last reconfirmed|                            |2023-08-20
             Status|UNCONFIRMED                 |NEW
             Target|                            |*-apple-darwin
              Build|                            |*-apple-darwin
               Host|                            |*-apple-darwin

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug lto/111081] LTO link failure on darwin: g++.dg/lto/pr65276
  2023-08-20 10:30 [Bug lto/111081] New: LTO link failure on darwin: g++.dg/lto/pr65276 fxcoudert at gcc dot gnu.org
  2023-08-20 10:31 ` [Bug lto/111081] " fxcoudert at gcc dot gnu.org
@ 2023-08-20 17:01 ` iains at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: iains at gcc dot gnu.org @ 2023-08-20 17:01 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Iain Sandoe <iains at gcc dot gnu.org> ---
This seems likely related to whether we consider type info to be weak linkage.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-08-20 17:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-20 10:30 [Bug lto/111081] New: LTO link failure on darwin: g++.dg/lto/pr65276 fxcoudert at gcc dot gnu.org
2023-08-20 10:31 ` [Bug lto/111081] " fxcoudert at gcc dot gnu.org
2023-08-20 17:01 ` iains at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).