Created attachment 204843 [details] patch Fix to change introduced by commit rP499897 [1] which broke the use of the library. There is no libssp with the PSP SDK, so enabling stack guards results in unresolved symbols for people trying to use it. [1] https://reviews.freebsd.org/rP499897#change-EMNZLl9YUhUp
Sorry, I didn't dig deep enough, so correction: the problem actually already happened when SSP_CFLAGS was added, the commit mentioned merely kept the port building. That said, the patch is still working and fixes the use of the library, as described. However, I'm wondering if using WITHOUT_SSP would be better? I lean towards the patch, as-is, to explicitly disabe the stack guards.
A commit references this bug: Author: swills Date: Sat Jun 8 00:23:43 UTC 2019 New revision: 503680 URL: https://svnweb.freebsd.org/changeset/ports/503680 Log: devel/psptoolchain-newlib: fix to recent change that made library unusable PR: 238341 Submitted by: Tassilo Philipp <tphilipp@potion-studios.com> (maintainer) Changes: head/devel/psptoolchain-newlib/Makefile
Committed, slightly modified so it's more explicit. Thanks!
Thanks! I think you wanted to remove the SSP_CFLAGS?= line, though, as you did with PR 238342?