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

Clarify '/CETCOMPAT' is compatible only with x86/x64 #1133

Merged
merged 1 commit into from
Dec 4, 2024

Conversation

yukawa
Copy link
Collaborator

@yukawa yukawa commented Dec 3, 2024

Description

This follows up to my previous commit (a0133fb) for #835.

As a preparation to build Mozc executables for ARM64 (#1130) let's specify it in 'x86_Base' and 'x64_Base' instead of globally defining it, because /CETCOMPAT is not compatible with ARM64 builds.

There must be no change in the final artifacts.

Issue IDs

Steps to test new behaviors (if any)

  • OS: Windows 11 23H2
  • Steps:
    1. Build and install Mozc64.msi
    2. dumpbin /HEADERS "C:\Program Files (x86)\Mozc\mozc_tip32.dll" | findstr "CET compatible"
    3. dumpbin /HEADERS "C:\Program Files (x86)\Mozc\mozc_tip64.dll" | findstr "CET compatible"
    4. Confirm CET compatible is found.

This follows up to my previous commit [1] for google#835.

This option (/CETCOMPAT) is not compatible with ARM64 builds.

As a preparation to build Mozc executables for ARM64 (google#1130) let's
specify it in 'x86_Base' and 'x64_Base' instead of globally defining it.

There must be no change in the final artifacts.

 [1]: a0133fb
@hiroyuki-komatsu hiroyuki-komatsu merged commit 12c86d8 into google:master Dec 4, 2024
1 check passed
@hiroyuki-komatsu
Copy link
Collaborator

We have merged your PR.
Thank you for the contribution!

@yukawa yukawa deleted the no_setcompat_for_arm64 branch December 4, 2024 12:05
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.

2 participants