Closed tankf33der closed 3 years ago
Looks like rpmalloc is not supported there, you could build with gmake NO_RPMALLOC=1
RPMALLOC is supported for Solaris 11, it works.
Just add detection for Solaris 10 and 11.
I've reported the issue to rpmalloc project, and meanwhile I've disabled it for non Windows/Linux/MacOS platforms in commit https://github.com/edubart/nelua-lang/commit/85cc4bbf575621adaad9b0de1364e28ff0c4d8a6, because rpmalloc may not work good on many exotic operating systems so it's better to leave it enabled only on systems that are known to be working well, otherwise disabled.
The rpmalloc allocator is only used to speed up the Nelua compiler, it's not a critical piece, if the rpmalloc project fixes this issue I may enable it for all Solaris again in the future.
RPMALLOC is supported for Solaris 11, it works.
Just add detection for Solaris 10 and 11.
@tankf33der do you know any preprocessor define that can be used to check if it’s Solaris 10 or 11 being targeted?
@tankf33der do you know any preprocessor define that can be used to check if it’s Solaris 10 or 11 being targeted?
@mjansson I did not find direct way for this in google.
This diff helped here:
You have to handle Solaris 10 and 11.