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

Fix x86 Linux build with clang < 10 #55924

Merged

Conversation

janvorli
Copy link
Member

There is a bug in clang that was fixed in version 10 and that causes
the build of the src/coreclr/vm/i386/jithelp.S to fail with
'error: cannot use more than one symbol in memory operand'.
The problem is that it doesn't support the offset keyword and
it thinks it is just another symbol.

The fix is to use att syntax for the offending instruction.

Close #55521

There is a bug in clang that was fixed in version 10 and that causes
the build of the src/coreclr/vm/i386/jithelp.S to fail with
'error: cannot use more than one symbol in memory operand'.
The problem is that it doesn't support the `offset` keyword and
it thinks it is just another symbol.

The fix is to use att syntax for the offending instruction.
@janvorli janvorli requested a review from jkotas July 19, 2021 15:24
@janvorli janvorli self-assigned this Jul 19, 2021
@janvorli janvorli closed this Jul 20, 2021
@janvorli janvorli reopened this Jul 20, 2021
@janvorli janvorli merged commit e063533 into dotnet:main Jul 20, 2021
@janvorli janvorli deleted the fix-x86-build-with-clang-less-than-10 branch July 20, 2021 13:51
@ghost ghost locked as resolved and limited conversation to collaborators Aug 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

x86 Linux build fails
2 participants