Skip to content

Update default gems with -flto support #13892

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

Merged
merged 9 commits into from
Jul 15, 2025
Merged

Conversation

hsbt
Copy link
Member

@hsbt hsbt commented Jul 15, 2025

from https://bugs.ruby-lang.org/issues/21496

I released and sync the following gems with -flto support.

  • io-console
  • io-wait
  • io-nonblock
  • etc and Ractor#take workaround

They are contained other changes. But I believe these changes are minor and will not cause new issues.

Unfotunately, the following gems couldn't release with -flto support because they have a lot of changes from bundled version of Ruby 3.4. So, I only backport -flto support for them.

  • strscan
  • openssl
  • json

BTW, we confirm to work all of default gems with GCC 15.1 at Fedora 42 CI at https://rubyci.s3.amazonaws.com/fedora42-arm/ruby-3.4/summary.html.

This issue happend with Gentoo linux https://bugs.ruby-lang.org/issues/21497

@hsbt hsbt requested a review from k0kubun as a code owner July 15, 2025 09:46

This comment has been minimized.

Copy link
Member

@k0kubun k0kubun left a comment

Choose a reason for hiding this comment

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

Thanks!

@k0kubun k0kubun merged commit 8b1c313 into ruby:ruby_3_4 Jul 15, 2025
75 checks passed
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.

3 participants