Summary: | dev-util/rr-5.6.0 fails to compile with musl : overrides.c:31:8: error: pthread_mutex_t has no member named __data | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | lu_zero |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://github.com/rr-debugger/rr/issues/2236 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build.log |
Description
Agostino Sarubbo
![]() Created attachment 767499 [details]
build.log
build log and emerge --info
Error(s) that match a know pattern in addition to what has been reported in the summary: FAILED: CMakeFiles/rraudit.dir/src/audit/rtld-audit.c.o FAILED: CMakeFiles/rraudit.dir/src/audit/stap-note-iter.c.o FAILED: CMakeFiles/rrpreload.dir/src/preload/overrides.c.o FAILED: CMakeFiles/rrpreload.dir/src/preload/syscallbuf.c.o fatal: not a git repository (or any parent up to mount point /var/tmp) /var/tmp/portage/dev-util/rr-5.5.0/work/rr-5.5.0/src/preload/overrides.c:31:8: error: 'pthread_mutex_t' has no member named '__data' rr has no business in a private structure, pthread_mutex_t. musl's definition at the very least is very different not allowing the dirty modification done in overrides.c. Finally, PTHREAD_MUTEX_PRIO_INHERIT_NP is not in POSIX, so it probably just needs skipping when using musl? tinderbox_musl has reproduced this issue with version 5.6.0 - Updating summary. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0dfe871a05e0158c687615d34782490b8116db44 commit 0dfe871a05e0158c687615d34782490b8116db44 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-10-17 21:44:46 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-10-17 21:44:46 +0000 profiles/features/musl: mask dev-util/rr on musl Closes: https://bugs.gentoo.org/835713 Closes: https://bugs.gentoo.org/864088 Closes: https://bugs.gentoo.org/832864 Signed-off-by: Sam James <sam@gentoo.org> profiles/features/musl/package.mask | 5 +++++ 1 file changed, 5 insertions(+) |