-
Notifications
You must be signed in to change notification settings - Fork 180
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
Test failures with ALLOC=STATIC #40
Comments
Fixes the last part of relic-toolkit#40. Signed-off-by: Sebastian Ramacher <[email protected]>
Thanks for the notification! Quick question: are you using ALLOC=STATIC for any reason? |
No, I was just checking if the different allocation methods make a difference performance-wise. |
Hi Diego, When you say stack-based allocation only, do you mean ALLOC=STACK or ALLOC=AUTO? ALLOC=STACK seems to fail the RELIC tests with segfaults:
...many tests fail:
|
Thanks for the report! I am afraid that the ASM backend is not compatible with the STACK allocator. I am currently in the process of eliminating all the allocators and leaving only AUTO. |
I see! Good to know! Edited my post, I meant to say ALLOC=STACK segfaults! |
Please please don't. Array type |
I've also grown to dislike the typedefs... |
@FiloSottile Thanks for the feedback! Does this mean you have to use ALLOC=DYNAMIC to use cgo? |
Correct, Also, having explicit control over where the memory is, whether in the Go heap (by instantiating a (And also, I was personally very confused about where this memory is for a bit.) |
As a step towards a simpler memory allocation and error-handling model, I'm killing ALLOC = STACK soon. :) |
|
When building with
ALLOC=STATIC
, some tests fail.The text was updated successfully, but these errors were encountered: