public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug testsuite/100655] New: 'g++.dg/tsan/pthread_cond_clockwait.C' FAILs due to 'pthread_cond_clockwait' missing
@ 2021-05-18 16:36 tschwinge at gcc dot gnu.org
  2021-05-18 17:41 ` [Bug testsuite/100655] " kingoipo at gmail dot com
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: tschwinge at gcc dot gnu.org @ 2021-05-18 16:36 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 100655
           Summary: 'g++.dg/tsan/pthread_cond_clockwait.C' FAILs due to
                    'pthread_cond_clockwait' missing
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: testsuite
          Assignee: unassigned at gcc dot gnu.org
          Reporter: tschwinge at gcc dot gnu.org
                CC: kingoipo at gmail dot com, marxin at gcc dot gnu.org
  Target Milestone: ---

This new testcase recently added in commit
r12-794-g80b4ce1a5190ebe764b1009afae57dcef45f92c2 "TSAN: add new test" FAILs on
one of my testing systems:

    +FAIL: g++.dg/tsan/pthread_cond_clockwait.C   -O0  (test for excess errors)
    +UNRESOLVED: g++.dg/tsan/pthread_cond_clockwait.C   -O0  compilation failed
to produce executable
    +FAIL: g++.dg/tsan/pthread_cond_clockwait.C   -O2  (test for excess errors)
    +UNRESOLVED: g++.dg/tsan/pthread_cond_clockwait.C   -O2  compilation failed
to produce executable

    [...]/gcc/testsuite/g++.dg/tsan/pthread_cond_clockwait.C: In function 'int
main()':
    [...]/gcc/testsuite/g++.dg/tsan/pthread_cond_clockwait.C:26:5: error:
'pthread_cond_clockwait' was not declared in this scope; did you mean
'pthread_cond_wait'?

Apparently 'pthread_cond_clockwait' has been added in glibc 2.30, released
2019-08-01.

Leave it as it is, or conditionalize the testcase in some way?

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

end of thread, other threads:[~2023-11-27  9:33 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-18 16:36 [Bug testsuite/100655] New: 'g++.dg/tsan/pthread_cond_clockwait.C' FAILs due to 'pthread_cond_clockwait' missing tschwinge at gcc dot gnu.org
2021-05-18 17:41 ` [Bug testsuite/100655] " kingoipo at gmail dot com
2021-05-18 19:57 ` redi at gcc dot gnu.org
2021-05-19  7:55 ` rguenth at gcc dot gnu.org
2021-05-19 13:27 ` marxin at gcc dot gnu.org
2021-05-19 14:07 ` redi at gcc dot gnu.org
2021-05-20  9:56 ` redi at gcc dot gnu.org
2021-05-20 12:58 ` redi at gcc dot gnu.org
2021-05-20 18:50 ` bernd.edlinger at hotmail dot de
2021-11-11 20:12 ` msebor at gcc dot gnu.org
2023-11-27  9:33 ` tschwinge 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).