public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/112858] New: nvptx: 'unresolved symbol __cxa_thread_atexit_impl'
@ 2023-12-05  7:49 tschwinge at gcc dot gnu.org
  2023-12-05  8:07 ` [Bug target/112858] " tschwinge at gcc dot gnu.org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: tschwinge at gcc dot gnu.org @ 2023-12-05  7:49 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 112858
           Summary: nvptx: 'unresolved symbol __cxa_thread_atexit_impl'
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Keywords: testsuite-fail
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: tschwinge at gcc dot gnu.org
                CC: vries at gcc dot gnu.org
  Target Milestone: ---

With commit r14-6082-gf4dd9416843308d4ae519983415fe62212662536 "libsupc++: try
cxa_thread_atexit_impl at runtime", there's one regression in nvptx target
testing (only visible on top of my WIP C++ enablement changes):

    [-PASS:-]{+FAIL:+} g++.dg/tls/thread_local6.C  -std=c++14 (test for excess
errors)
    [-PASS:-]{+UNRESOLVED:+} g++.dg/tls/thread_local6.C  -std=c++14 [-execution
test-]{+compilation failed to produce executable+}
    [-PASS:-]{+FAIL:+} g++.dg/tls/thread_local6.C  -std=c++17 (test for excess
errors)
    [-PASS:-]{+UNRESOLVED:+} g++.dg/tls/thread_local6.C  -std=c++17 [-execution
test-]{+compilation failed to produce executable+}
    [-PASS:-]{+FAIL:+} g++.dg/tls/thread_local6.C  -std=c++20 (test for excess
errors)
    [-PASS:-]{+UNRESOLVED:+} g++.dg/tls/thread_local6.C  -std=c++20 [-execution
test-]{+compilation failed to produce executable+}
    UNSUPPORTED: g++.dg/tls/thread_local6.C  -std=c++98

    unresolved symbol __cxa_thread_atexit_impl
    collect2: error: ld returned 1 exit status

Very likely, this isn't an issue with that commit, but rather due to GCC/nvptx'
deficient implementation of weak symbols.

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

end of thread, other threads:[~2024-03-27 13:48 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-05  7:49 [Bug target/112858] New: nvptx: 'unresolved symbol __cxa_thread_atexit_impl' tschwinge at gcc dot gnu.org
2023-12-05  8:07 ` [Bug target/112858] " tschwinge at gcc dot gnu.org
2023-12-05  8:18 ` tschwinge at gcc dot gnu.org
2023-12-05 19:09 ` [Bug libstdc++/112858] [14 Regression] " pinskia at gcc dot gnu.org
2023-12-05 23:23 ` dje at gcc dot gnu.org
2023-12-06 12:05 ` tschwinge at gcc dot gnu.org
2023-12-06 21:36 ` aoliva at gcc dot gnu.org
2023-12-07  3:56 ` cvs-commit at gcc dot gnu.org
2024-02-06 10:56 ` redi at gcc dot gnu.org
2024-03-27 13:48 ` [Bug libstdc++/112858] " rguenth 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).