Comments (12)
https://github.com/pspdev/psptoolchain/projects/1#card-36352804 seems related to this
from psplibraries.
Since pthread is implemented by newlib
Is it, though? newlib implements posix-threads only when targeting windows (cygwin).
from psplibraries.
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.
from psplibraries.
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 Pthread embedded
overrides some headers from newlib, it has issues when using pacman
, but using the override
property, it works
from psplibraries.
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).
honestly, i think pthread-emb should be part of toolchain, not a separate package
from psplibraries.
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). honestly, i think pthread-emb should be part of toolchain, not a separate package
I think that synchronize newlib
header with pthread embedded headers
is a waste of time.... making future upgrades of newlib
more difficult.
The problem is that for compiling pthread embedded
you require to have pspsdk
already, however with the new toolchain implementation one of the major points is to separate the dependency between the toolchain
and the pspsdk
, so I think that pthread
can not be part of the toolchain, unfortunately.
In my opinion, the only valid and perfect way of using pthread
is to include them as part of the pspsdk
where we just implement the pthread
as it is defined in the newlib
headers, that's all (but it requires a lot of work and dedication).
Thanks
from psplibraries.
It doesn't make upgrading newlib more difficult. Headers live in sys/psp.
from psplibraries.
It doesn't make upgrading newlib more difficult. Headers live in sys/psp.
I know, but you have a bigger newlib patch.
I prefer to have thing as much as possible mainstream, to see if they can be merged.
Anyway, what do you earn putting "legacy pthread headers" in "newlib"?
from psplibraries.
How are they legacy, pthread-emb being the only working impl?
R/n buildscripts fail to even build pthread-emb. The one in pspsdk and the one in vitasdk (which i kept compatible and buildable with pspsdk and they were working fine like couple of months ago)
from psplibraries.
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
from psplibraries.
Here is the related issue: #83
from psplibraries.
This is why I still think that the best solution is to do a new pthread implementation in pspsdk
repo, generating libpthread.a
that satisfies the newlib
headers.
However this isn't a easy task.
from psplibraries.
Related Issues (20)
- mikmod fails to compile HOT 2
- the link to libmikmod-3.2.0.tar.gz is broken HOT 4
- pixman and SDL_ttf fail to install HOT 5
- SDL_gfx broken
- SDL_image config broken HOT 2
- OpenAL examples break build in systems with FFMPEG headers installed HOT 2
- If "bpp" is 8, repeated SDL_SetVideoMode calling will cause Display error. HOT 3
- make: no rule to make target 'clean'. Stop. (smpeg-psp) HOT 1
- libraries.sh does not allow for upgrading libraries to new versions HOT 1
- File names of downloads which are the same cause conflicts
- OpenAL not building on Debian 10 HOT 3
- [Feature Request] Add build_prx macro to cmake toolchain file
- some psp tar.gz lib in html format HOT 3
- OpenAL: Resolving kcat.strangesoft.net failed: Name or service not known HOT 1
- Add a license to the repo HOT 2
- pthread-emb overwrites newlib headers
- Joystick/gamepad support in SDL2 doesn't work HOT 1
- pthread-emb fails to build with current toolchain HOT 2
- scripts/pspgl.sh references pspports, but pspgl lives in own repo now HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from psplibraries.