-
Notifications
You must be signed in to change notification settings - Fork 45
openal-soft doesn't build without pthread-emb #84
Comments
https://github.com/pspdev/psptoolchain/projects/1#card-36352804 seems related to this |
Is it, though? newlib implements posix-threads only when targeting windows (cygwin). |
I'm not quite sure what it implements, but it's not enough to drop pthread-emb, but installing pthread-emb will overwrite a header file from newlib. This makes it so psp-pacman cannot install it, so it was a blocker there. I think @fjtrujy has found a solution for it in his fork of the psp toolchain. |
Exactly, so the current |
newlib header files should be synchronized with pthread-emb. pthread-emb should override newlib headers, as it's the only working implementation (newlib only has headers). |
I think that synchronize The problem is that for compiling In my opinion, the only valid and perfect way of using Thanks |
It doesn't make upgrading newlib more difficult. Headers live in sys/psp. |
I know, but you have a bigger newlib patch. Anyway, what do you earn putting "legacy pthread headers" in "newlib"? |
How are they legacy, pthread-emb being the only working impl? |
I don't know where you want to go..... As probably you know I'm doing a big change in the whole psptoolchain, making it more POSIX. If there are things that you don't like, as usual PR are more than welcome. I just can tell you that with my current approach (still pending to create all the PRs) RetroArch which uses pthread is working as expected, not sure if there are other issues |
Here is the related issue: #83 |
This is why I still think that the best solution is to do a new pthread implementation in However this isn't a easy task. |
Since pthread is implemented by newlib, it would make sense if openal-soft could build without the pthread-emb library installed. This is unfortunately not the case.
Here the build log:
The text was updated successfully, but these errors were encountered: