-
-
Notifications
You must be signed in to change notification settings - Fork 464
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test/elf/lto-version-script.sh: fails with pthread_create has failed: Resource temporarily unavailable
#600
Comments
You probably need to build mold with the bundled TBB or apply this patch to your TBB library and rebuild your TBB package. |
Can you ask the libtbb maintainer to cherry-pick my patch to https://salsa.debian.org/science-team/tbb/-/tree/master/debian/patches? It's not specific to mold and should be merged to the main repo. The problem is that for some reason Intel devs have stopped merging PRs since like three months ago. |
sure, will do! |
Please close this bug if my patch could fix your issue. |
This is related to the war in Ukraine: most if not all Intel TBB devs are based in Nizhny Novgorod, Russia where Intel suspended its operations in April. |
Ahh, it certainly explains it. |
Note the patch was taken by |
Let me close this issue. If the issue still persists, feel free to reopen. |
TBB has a bug in thread creation which is exposed with usage in mold. See rui314/mold#410, rui314/mold#600. We apply a patch that has been upstreamed to TBB at oneapi-src/oneTBB#824 to fix this. The patch implements a mechanism similar to one used by Go [1], and has been adopted in the Arch and OpenSUSE TBB packages. While we're here, let's align the `cmake` invocation with other formulae, fix references to `python3.10` (Homebrew#108008), and change the `-rpath` flag so that it does not require relocation when pouring a bottle (which should speed bottle pour times up slightly). [1] https://go-review.googlesource.com/c/go/+/33894/
TBB has a bug in thread creation which is exposed with usage in mold. See rui314/mold#410, rui314/mold#600. We apply a patch that has been upstreamed to TBB at oneapi-src/oneTBB#824 to fix this. The patch implements a mechanism similar to one used by Go [1], and has been adopted in the Arch and OpenSUSE TBB packages. While we're here, let's align the `cmake` invocation with other formulae, fix references to `python3.10` (#108008), and change the `-rpath` flag so that it does not require relocation when pouring a bottle (which should speed bottle pour times up slightly). [1] https://go-review.googlesource.com/c/go/+/33894/ Closes #108431. Signed-off-by: Sean Molenaar <1484494+SMillerDev@users.noreply.github.com> Signed-off-by: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com>
* For now, use TBB from the tree See rui314/mold#600
In a debian chroot (works fine outside), the test fails with:
On:
$CC -B. -shared -o $t/c.so -flto $t/a.o -Wl,-version-script=$t/b.script
Trying to package 1.4.0 in Debian/Ubuntu
The text was updated successfully, but these errors were encountered: