public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/112294] New: thread_local13.C and thread_local14.C fail on x86_64-darwin
@ 2023-10-30 14:05 fxcoudert at gcc dot gnu.org
  2023-10-30 14:06 ` [Bug target/112294] " fxcoudert at gcc dot gnu.org
  2024-02-17 12:51 ` iains at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: fxcoudert at gcc dot gnu.org @ 2023-10-30 14:05 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 112294
           Summary: thread_local13.C and thread_local14.C fail on
                    x86_64-darwin
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: fxcoudert at gcc dot gnu.org
  Target Milestone: ---

The following test failures:

FAIL: g++.dg/tls/thread_local13.C  -std=gnu++14 execution test
FAIL: g++.dg/tls/thread_local13.C  -std=gnu++17 execution test
FAIL: g++.dg/tls/thread_local13.C  -std=gnu++20 execution test
FAIL: g++.dg/tls/thread_local14.C  -std=gnu++14 execution test
FAIL: g++.dg/tls/thread_local14.C  -std=gnu++17 execution test
FAIL: g++.dg/tls/thread_local14.C  -std=gnu++20 execution test

have been present in (at least) GCC 14 and 13 for some months:
https://gcc.gnu.org/pipermail/gcc-testresults/2023-May/783122.html

The runtime failure is a segfault, and the backtrace (obtained by adding -g to
the compilation flags) is:

Process 72865 launched: '/Users/fx/ibin-20231029/gcc/thread_local13.exe'
(x86_64)
Process 72865 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS
(code=1, address=0x0)
    frame #0: 0x0000000100003df3 thread_local13.exe`baz() at
thread_local13.C:17:13
   14   {
   15     while (1)
   16       {
-> 17         t.foo ();
   18         if (!bar ())
   19           return false;
   20       }
Target 0: (thread_local13.exe) stopped.
(lldb) bt
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS
(code=1, address=0x0)
  * frame #0: 0x0000000100003df3 thread_local13.exe`baz() at
thread_local13.C:17:13
    frame #1: 0x0000000100003e79 thread_local13.exe`main + 9
    frame #2: 0x000000010001552e dyld`start + 462

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

* [Bug target/112294] thread_local13.C and thread_local14.C fail on x86_64-darwin
  2023-10-30 14:05 [Bug target/112294] New: thread_local13.C and thread_local14.C fail on x86_64-darwin fxcoudert at gcc dot gnu.org
@ 2023-10-30 14:06 ` fxcoudert at gcc dot gnu.org
  2024-02-17 12:51 ` iains at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: fxcoudert at gcc dot gnu.org @ 2023-10-30 14:06 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
               Host|                            |x86_64-apple-darwin21
   Last reconfirmed|                            |2023-10-30
      Known to fail|                            |13.1.0, 14.0
             Status|UNCONFIRMED                 |NEW
             Target|                            |x86_64-apple-darwin21
           Keywords|                            |testsuite-fail
              Build|                            |x86_64-apple-darwin21
                 CC|                            |iains at gcc dot gnu.org

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

* [Bug target/112294] thread_local13.C and thread_local14.C fail on x86_64-darwin
  2023-10-30 14:05 [Bug target/112294] New: thread_local13.C and thread_local14.C fail on x86_64-darwin fxcoudert at gcc dot gnu.org
  2023-10-30 14:06 ` [Bug target/112294] " fxcoudert at gcc dot gnu.org
@ 2024-02-17 12:51 ` iains at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: iains at gcc dot gnu.org @ 2024-02-17 12:51 UTC (permalink / raw)
  To: gcc-bugs

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

Iain Sandoe <iains at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|x86_64-apple-darwin21       |x86_64-apple-darwin*
              Build|x86_64-apple-darwin21       |x86_64-apple-darwin*
   Last reconfirmed|2023-10-30 00:00:00         |2024-2-17
               Host|x86_64-apple-darwin21       |x86_64-apple-darwin*

--- Comment #1 from Iain Sandoe <iains at gcc dot gnu.org> ---
I think this is probably a dup of PR106435 (the patch for that needs some
rework)

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

end of thread, other threads:[~2024-02-17 12:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-30 14:05 [Bug target/112294] New: thread_local13.C and thread_local14.C fail on x86_64-darwin fxcoudert at gcc dot gnu.org
2023-10-30 14:06 ` [Bug target/112294] " fxcoudert at gcc dot gnu.org
2024-02-17 12:51 ` 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).