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
2.1.2 missing link against pthreads #154
Comments
On Tue, 30 Nov 2021 01:44:25 -0800 David Runge ***@***.***> wrote:
Hi! When building 2.1.2 for Arch Linux, I ran into issues in the linking stage. It seems as if yoshimi is not linking against pthreads:
Hi David. Thanks for letting me know. It's most puzzling, it compiles perfectly
on debian and ubuntu.
Will.
…--
Will J Godfrey
https://willgodfrey.bandcamp.com/
http://yoshimi.github.io
Say you have a poem and I have a tune.
Exchange them and we can both have a poem, a tune, and a song.
|
Maybe that is due to some changes in cmake? We're currently on cmake 3.22.0. |
On Tue, 30 Nov 2021 02:18:30 -0800 David Runge ***@***.***> wrote:
Maybe that is due to some changes in cmake? We're currently on cmake 3.22.0.
What is Debian/Ubuntu using?
The latest stable (Bullseye) is using 3.18.4 so maybe that's it. I've asked the
other devs if they know anything about this. In any case we'll get onto it as
quickly as possible.
…--
Will J Godfrey
https://willgodfrey.bandcamp.com/
http://yoshimi.github.io
Say you have a poem and I have a tune.
Exchange them and we can both have a poem, a tune, and a song.
|
I was able to fix this and can do a PR for it. |
dvzrv
added a commit
to dvzrv/yoshimi
that referenced
this issue
Nov 30, 2021
src/CMakeLists.txt Use FindThreads (https://cmake.org/cmake/help/latest/module/FindThreads.html) to explicitly find and link against a threads library. Fixes Yoshimi#154
On Tue, 30 Nov 2021 02:35:04 -0800 David Runge ***@***.***> wrote:
I was able to fix this and can do a PR for it.
Thanks a lot for this. I'm very grateful.
I've got to go out now, but I'll get it done as soon as I get back.
…--
Will J Godfrey
https://willgodfrey.bandcamp.com/
http://yoshimi.github.io
Say you have a poem and I have a tune.
Exchange them and we can both have a poem, a tune, and a song.
|
archlinux-github
pushed a commit
to archlinux/svntogit-community
that referenced
this issue
Nov 30, 2021
Add patch to fix missing link against threads library: Yoshimi/yoshimi#154 Simplify optdepends by only relying on lv2-host for LV2 plugin. Simplify quoting in file. git-svn-id: file:///srv/repos/svn-community/svn@1057691 9fca08f4-af9d-4005-b8df-a31f2cc04f65
archlinux-github
pushed a commit
to archlinux/svntogit-community
that referenced
this issue
Nov 30, 2021
Add patch to fix missing link against threads library: Yoshimi/yoshimi#154 Simplify optdepends by only relying on lv2-host for LV2 plugin. Simplify quoting in file. git-svn-id: file:///srv/repos/svn-community/svn@1057691 9fca08f4-af9d-4005-b8df-a31f2cc04f65
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi! When building 2.1.2 for Arch Linux, I ran into issues in the linking stage. It seems as if yoshimi is not linking against pthreads:
I think you probably want to use this (and bump your required cmake version):
https://cmake.org/cmake/help/latest/module/FindThreads.html?highlight=threads#module:FindThreads
The text was updated successfully, but these errors were encountered: