Skip to content
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

Restore debug level information in specs to fix 32 bits builds #9466

Merged
merged 3 commits into from
Jun 16, 2020

Conversation

bcardiff
Copy link
Member

Fixes #9463

Working job with the 0.35.0 https://circleci.com/gh/crystal-lang/crystal/48211

The underlying cause is that LibC.stat is not working on 32 bits environment when the path refers to mounted volume (like the docker mounted volume used to share the working copy in the ci, or vagrant shared file). This is seems to be an old issue cause it happens with older compilers also.

Due to the recent refactors #9294 some examples were now compiled with full debug information and that caused the issue. So this PR reverts the spec to use the flags as before.

The call_stack_spec was using full debug information, but they also failed on 32 bits unless the default debug information level is used. Maybe this was due to the recent debug additions.

collect memory within ensure block fails when --debug is used on 32bits
Something pending is that now the CRYSTAL_SPEC_COMPILER_FLAGS are not used since program_flags_options is not called.
@bcardiff bcardiff added this to the 0.35.1 milestone Jun 11, 2020
@bcardiff bcardiff merged commit 0e2a0f4 into crystal-lang:master Jun 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Broken 32-bits CI when using 0.35.0
2 participants