-
Notifications
You must be signed in to change notification settings - Fork 1
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
[AIX]: Testcase related to wasm memory failing #36
Comments
Some more details:
Also, with
Where Allocate is platform dependent code,
This might be affecting the other cctest tests where |
Also, |
Finally got around to look at this issue. in
prints I tested the macro |
The issue seems to be in <cstdlib> which is included after stdlib.h // Get rid of those macros defined in <stdlib.h> in lieu of real functions. Your suggestion looks good to me for now but we will keep running into this error in the future unless the cstdlib header is fixed. |
We had run into what sounds like a similar problem on AIX for Node.js. In that case is was that when certain headers were pulled it it caused the non LINUX_SOURECE_COMPAT behaviour even though it was set. For Node.js in the end malloc's were wrapped to do the right thing on the basis that the spec is not clear on the behavior so we should not depend on one way or the other. nodejs/node#7564 We had talked to David Edelsohn about the issue and he was looking at getting it fixed in a later version of the compiler but we've not tried that out. |
I don't think a similar change would be accepted in V8. It might break things as in some places they assume
To add more info should I open a gcc bugzilla defect (unless there is one already opened, I searched but didn't find any) and mention it as comment? For eg: |
Bad CL: https://codereview.chromium.org/2649743002
Bad CL: https://codereview.chromium.org/2640453003/
The text was updated successfully, but these errors were encountered: