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

cmake: build Saigo arm nexe with -O0 to avoid a bug #1516

Merged
merged 1 commit into from
Jan 25, 2025

Conversation

illwieckz
Copy link
Member

@illwieckz illwieckz commented Jan 23, 2025

Fixes Unvanquished/Unvanquished#3297:

In the future we may either enable some optimizations from -O2 or enable -O2 and disable some specific optimizations to avoid doing a not-optimized-at-all build, but this is enough to make the arm nexe run and then unblock the migration to Saigo.

@@ -231,6 +231,16 @@ else()
endif()
endif()

if (NACL AND USE_NACL_SAIGO AND SAIGO_ARCH STREQUAL "arm")
# This should be set for every build type because build type flags
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add a link here to the relevant issue

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@slipher
Copy link
Member

slipher commented Jan 23, 2025

LGTM

@illwieckz illwieckz force-pushed the illwieckz/arm-saigo branch from 2a1dd51 to 1650404 Compare January 23, 2025 07:33
@illwieckz illwieckz merged commit 3265f2d into master Jan 25, 2025
9 checks passed
@illwieckz illwieckz deleted the illwieckz/arm-saigo branch January 25, 2025 06:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The Saigo-built arm nexe crashes
2 participants