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

does not build natively on arm64 ubuntu linux #52914

Open
RobertHenry6bev opened this issue May 18, 2021 · 3 comments
Open

does not build natively on arm64 ubuntu linux #52914

RobertHenry6bev opened this issue May 18, 2021 · 3 comments

Comments

@RobertHenry6bev
Copy link
Contributor

The

add_compile_options(-Wa,--divide)

contains the line:
add_compile_options(-Wa,--divide)
which is triggered for GNU CXX invocations.

Unfortunately, the gnu assembler only accepts the --divide flag for i386 style processor targets.

This means that the runtime does not build out of the box natively on ubuntu arm64 machines.

@dotnet-issue-labeler dotnet-issue-labeler bot added area-Infrastructure-coreclr untriaged New issue has not been triaged by the area owner labels May 18, 2021
@ghost
Copy link

ghost commented May 18, 2021

Tagging subscribers to this area: @hoyosjs
See info in area-owners.md if you want to be subscribed.

Issue Details

The

add_compile_options(-Wa,--divide)

contains the line:
add_compile_options(-Wa,--divide)
which is triggered for GNU CXX invocations.

Unfortunately, the gnu assembler only accepts the --divide flag for i386 style processor targets.

This means that the runtime does not build out of the box natively on ubuntu arm64 machines.

Author: RobertHenry6bev
Assignees: -
Labels:

area-Infrastructure-coreclr, untriaged

Milestone: -

@janvorli
Copy link
Member

Thank you for reporting this. I am just curious, do you have a reason for using GNU C++ instead of clang? While we try to maintain the ability to compile using GNU C++, we don't use it for our builds.

@RobertHenry6bev
Copy link
Contributor Author

RobertHenry6bev commented May 18, 2021 via email

@ViktorHofer ViktorHofer added this to the Future milestone May 19, 2021
@ViktorHofer ViktorHofer removed the untriaged New issue has not been triaged by the area owner label May 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

3 participants