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

Detect binutils version to disable waitpkg/tpause intrinsic if GNU assembler is too old. #1347

Merged
merged 6 commits into from
May 3, 2024

Conversation

mcourteaux
Copy link
Contributor

@mcourteaux mcourteaux commented Apr 16, 2024

Fixes #859 #1023.

Type of change

  • bug fix - change that fixes an issue
  • new feature - change that adds functionality
  • tests - change in tests
  • infrastructure - change in infrastructure and CI
  • documentation - documentation update

Tests

  • added - required for new features and some bug fixes
  • not needed

Documentation

  • updated in # - add PR number
  • needs to be updated
  • not needed

Breaks backward compatibility

  • Yes
  • No
  • Unknown

Notify the following users

@mcmillan03 @kboyarinov @markdewing @phprus @isaevil @HorizonLiang @bsergean @pavelkumbrasev

Other information

@omalyshe omalyshe requested review from isaevil and aepanchi April 18, 2024 10:24
@omalyshe
Copy link
Contributor

@aepanchi Please look at the comments wording.

@mcourteaux
Copy link
Contributor Author

@omalyshe I changed the code to be matching better the comments and be less confusing.

cmake/compilers/GNU.cmake Outdated Show resolved Hide resolved
cmake/compilers/GNU.cmake Outdated Show resolved Hide resolved
cmake/compilers/GNU.cmake Outdated Show resolved Hide resolved
cmake/compilers/GNU.cmake Outdated Show resolved Hide resolved
cmake/compilers/GNU.cmake Outdated Show resolved Hide resolved
cmake/compilers/GNU.cmake Outdated Show resolved Hide resolved
cmake/compilers/GNU.cmake Outdated Show resolved Hide resolved
cmake/compilers/GNU.cmake Outdated Show resolved Hide resolved
aepanchi
aepanchi previously approved these changes Apr 19, 2024
Copy link
Contributor

@aepanchi aepanchi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comments look good to me! let's wait for @isaevil

cmake/compilers/GNU.cmake Outdated Show resolved Hide resolved
cmake/compilers/GNU.cmake Outdated Show resolved Hide resolved
cmake/compilers/GNU.cmake Outdated Show resolved Hide resolved
@mcourteaux
Copy link
Contributor Author

I updated the PR with your feedback, @isaevil.

cmake/compilers/GNU.cmake Outdated Show resolved Hide resolved
Copy link
Contributor

@isaevil isaevil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@isaevil isaevil merged commit 377e6c3 into uxlfoundation:master May 3, 2024
22 checks passed
@phprus phprus mentioned this pull request Jul 15, 2024
13 tasks
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.

Build failure in VMs: Error: no such instruction: `tpause %ecx'
4 participants