| Summary: | DRD does not work with C11 threads | ||
|---|---|---|---|
| Product: | [Developer tools] valgrind | Reporter: | Dale Weiler <weilercdale> |
| Component: | drd | Assignee: | Paul Floyd <pjfloyd> |
| Status: | RESOLVED FIXED | ||
| Severity: | crash | CC: | bart.vanassche+kde, pjfloyd |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Dale Weiler
2023-10-15 08:26:33 UTC
For reference https://en.cppreference.com/w/c/thread/thrd_create Does commit 6cea271f436d help? The code fix looks OK, but I think that the configure test and regtest should use C11 rather than C++. It's OK now on FreeBSD and I've also checked with musl and Illumos. The following two additional commits have been pushed:
* 45590cee742b ("drd/tests/thrd_create: Convert from C++ to C")
* a9d065c48d35 ("configure.ac: Convert the thrd_create() test from C++ to C")
|