Skip to content

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

Merged
illwieckz merged 1 commit intomasterfrom
illwieckz/arm-saigo
Jan 25, 2025
Merged

cmake: build Saigo arm nexe with -O0 to avoid a bug#1516
illwieckz merged 1 commit intomasterfrom
illwieckz/arm-saigo

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.

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
8 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