OpenOrbis / musl

A PS4 port of musl for the OpenOrbis PS4 Toolchain.
Other
34 stars 9 forks source link

pthread "fallback" implementation misses some functions #7

Closed sleirsgoevy closed 4 years ago

sleirsgoevy commented 4 years ago

Got this while trying to compile JamVM:

ld.lld: error: undefined symbol: _pthread_cleanup_push
>>> referenced by res_msend.c
>>>               res_msend.lo:(__res_msend_rc) in archive /home/sergey/openorbis//lib/libc.a

ld.lld: error: undefined symbol: _pthread_cleanup_pop
>>> referenced by res_msend.c
>>>               res_msend.lo:(__res_msend_rc) in archive /home/sergey/openorbis//lib/libc.a

Musl is internally using some pthread functions (pthread_cleanup_push and pthread_cleanup_pop in this case) that are not implemented in the "fallback" implementation.