Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 895062

Summary: sys-block/libfabric-1.11.2-r2 fails to compile (MUSL-CLANG-SYSTEM): util_wait.c:616:3: error: call to undeclared function pthread_yield [-Wimplicit-function-declaration] - ld: libfabric.so: undefined reference to pthread_yield
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Patrick McLean <chutzpah>
Status: RESOLVED DUPLICATE    
Severity: normal CC: jy6x2b32pie9, toralf
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/33923
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2023-02-17 08:24:17 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sys-block/libfabric-1.11.2-r2 fails to compile (MUSL-CLANG-SYSTEM).
Discovered on: amd64 (internal ref: tinderbox_musl)

NOTE:
(MUSL-CLANG-SYSTEM) in the summary means that bug was found on a machine that runs MUSL libc + clang16 but this bug MAY or MAY NOT BE related to musl/clang16.
Comment 1 Agostino Sarubbo gentoo-dev 2023-02-17 08:24:19 UTC
Created attachment 851976 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-03-08 11:33:33 UTC
On musl it now fails with:

ld: libfabric.so: undefined reference to pthread_yield
Comment 3 jy6x2b32pie9 2024-04-06 13:27:05 UTC
It's fixed upstream in https://github.com/ofiwg/libfabric/commit/d29f4384ca6e8aa93ce9a49f02868c66527da9bb

I recommend version bump.

Also: duplicate of https://bugs.gentoo.org/828976
Comment 4 Toralf Förster gentoo-dev 2024-04-06 13:49:10 UTC

*** This bug has been marked as a duplicate of bug 828976 ***