Where we use the freebsd12-elf target now, compiler semantics are incorrect for certain things such as wchar_t. On FreeBSD, wchar_t is 32-bit, however on the PS4 it's 16-bit. There are likely other things that are incompatible that have yet to be discovered or reported. Ultimately we'll need to implement a better linking solution and use the scei-ps4 clang target.
Where we use the freebsd12-elf target now, compiler semantics are incorrect for certain things such as
wchar_t. On FreeBSD,wchar_tis 32-bit, however on the PS4 it's 16-bit. There are likely other things that are incompatible that have yet to be discovered or reported. Ultimately we'll need to implement a better linking solution and use the scei-ps4 clang target.