Summary: | dev-cpp/tbb Build contains symbols getcontext(), makecontext(), and setcontext() which do not exist on musl libc (PATCH) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Andrew Athalye <andrewathalye> |
Component: | Current packages | Assignee: | Gentoo Science Related Packages <sci> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | andrewathalye, herrtimson, jstein, musl, sam |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=832677 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 430702 | ||
Attachments: | Upstream patch to cause tbb to not use undefined symbols on musl |
Description
Andrew Athalye
2022-02-04 13:55:24 UTC
Created attachment 764318 [details, diff] Upstream patch to cause tbb to not use undefined symbols on musl (from https://github.com/oneapi-src/oneTBB/pull/748/files) Signed-off-by: Andrew Athalye As a patch submitted upstream, this should be licensed as Apache-2.0 like the main project. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4d7c559ae6598261d115f4db6b955d50c4a184c commit d4d7c559ae6598261d115f4db6b955d50c4a184c Author: Sam James <sam@gentoo.org> AuthorDate: 2022-02-07 04:00:01 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-02-07 04:01:01 +0000 dev-cpp/tbb: fix underlinking on musl Avoid *context APIs. In theory, may not be needed (shouldn't be) given we've fixed our packaging of libucontext, but let's do this anyway as the fix is upstream, and it avoids possible otehr issues. Bug: https://github.com/rui314/mold/issues/281 Closes: https://bugs.gentoo.org/832700 Signed-off-by: Sam James <sam@gentoo.org> .../tbb/files/tbb-2021.5.0-musl-setcontext.patch | 30 ++++++++++++++++++++++ ...{tbb-2021.5.0.ebuild => tbb-2021.5.0-r1.ebuild} | 2 ++ 2 files changed, 32 insertions(+) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d8718303b00e24d21ce70a6891a096e89c96f1d commit 1d8718303b00e24d21ce70a6891a096e89c96f1d Author: Sam James <sam@gentoo.org> AuthorDate: 2022-02-07 03:56:24 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-02-07 04:00:57 +0000 sys-libs/libucontext: respect CFLAGS without overriding upstream define Fixes musl runtime as the right symbols get defined now (unprefixed). Bug: https://github.com/rui314/mold/issues/281 Bug: https://bugs.gentoo.org/832700 Closes: https://bugs.gentoo.org/832677 Thanks-to: Andrew Athalye <andrewathalye@outlook.com> Signed-off-by: Sam James <sam@gentoo.org> .../libucontext/files/libucontext-1.1-respect-CFLAGS.patch | 13 +++++++++++++ .../{libucontext-1.1.ebuild => libucontext-1.1-r1.ebuild} | 10 +++++++--- 2 files changed, 20 insertions(+), 3 deletions(-) *** Bug 831476 has been marked as a duplicate of this bug. *** |