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

Disable writing GS register on linux-sgx platform #2255

Merged
merged 1 commit into from
Jun 5, 2023

Conversation

wenyongh
Copy link
Contributor

@wenyongh wenyongh commented Jun 5, 2023

As reported in #2252, writing GS segment register is not allowed on linux-sgx
since it is used as the base address of thread data in 64-bit hw mode.
Disable writing it and disable segue optimization for linux-sgx.

@wenyongh wenyongh mentioned this pull request Jun 5, 2023
@wenyongh wenyongh merged commit 5fb5119 into bytecodealliance:main Jun 5, 2023
@wenyongh wenyongh deleted the disable_sgx_writegs branch June 5, 2023 05:41
victoryang00 pushed a commit to victoryang00/wamr-aot-gc-checkpoint-restore that referenced this pull request May 27, 2024
…2255)

Writing GS segment register is not allowed on linux-sgx since it is used as
the base address of thread data in 64-bit hw mode. Reported in bytecodealliance#2252.
Disable writing it and disable segue optimization for linux-sgx platform.
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.

1 participant