Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 895062 - 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
Summary: sys-block/libfabric-1.11.2-r2 fails to compile (MUSL-CLANG-SYSTEM): util_wait...
Status: RESOLVED DUPLICATE of bug 828976
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Patrick McLean
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2023-02-17 08:24 UTC by Agostino Sarubbo
Modified: 2024-04-06 13:49 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,104.08 KB, text/plain)
2023-02-17 08:24 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***