New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fails to start on powerpc with 64KB pages #302
Comments
I'm not sure we actually count on segments being at least as big as pages. At one point we did, since we enabled or disabled execution of code from within a segment or segments as they switched to or from holding code objects, and memory protection works at the page level. I don't remember any other reason for the requirement. So I would first try simply removing the failing test from scheme.c. If this doesn't work, it would be nice to figure out why and try to fix the problem, but an easier solution would be to change the segment size from 8k to 64k bytes by fiddling with the segment offset constants in cmacros.ss. This will lead to greater memory fragmentation, so it's not an ideal solution. |
Removing the failing test did not go well:
Upping the bytes-per-segment to 64K gives something that appears to work. |
It doesn't crash when running under valgrind. Here's a log produced with commit 5bdf715 and the "bytes_per_segment < S_pagesize" check commented out. |
Chez Scheme does not start on ppc32le when running on a powerpc with 64KB pages:
The text was updated successfully, but these errors were encountered: