Add `rustc_flags` option for configure that appends to RUSTC_FLAGS flags used when compiling with rustc for customizable build flags. It appends to existing defaults in RUSTC_FLAGS. Co-authored-by: Alan Wu <XrXr@users.noreply.github.com>jprokop (Jarek Prokop)
Ephemeral builds at https://copr.fedorainfracloud.org/coprs/jackorp/ruby-3.5/build/9642454/ (logs under `builder-live.log` per Distro/arch combination) with LTO with the patch applied on top of the 00fcef5378 commit are OK. They passed c...jprokop (Jarek Prokop)
Ruby built with LTO (`-flto`) with the -O2 or -O3 optimization causes misbehavior in miniruby. Using -O1 does not result in segfault. Higher optimization is required. Removing `-flto` results in no segfault. Preview1 was OK, after ru...jprokop (Jarek Prokop)
Sent a backport for Ruby 3.4 as well https://github.com/ruby/ruby/pull/12628 as that the Ruby we ship in Fedora in combination with GCC 15 where the warning was encountered.jprokop (Jarek Prokop)
C++ compiler in GCC 15 now generates a warning when trying to include `<cstdbool>`. This file is being included when compiling with C++ compiler from `include/ruby/internal/stdbool.h`. In C++, true, false and bool are keywords so inc...jprokop (Jarek Prokop)
I'll address each suggestion from my POV, though this is not my usual area of work. It sure is tricky. 1) I feel like this might bring more subtle bugs. I think you're right about also expecting that "localhost" should also work. Or e...jprokop (Jarek Prokop)
A bug was found when dealing with Ruby tests downstream. One of our builders has a specific networking configuration, resulting in Ruby incorrectly binding a socket, resulting in exception Errno::EAFNOSUPPORT, despite localhost being IP...jprokop (Jarek Prokop)
I have looked at other aspects of the options and inspected the assembly outputted with -mbranch-protection={standard,pac-ret} in Fedora PR's workaround https://src.fedoraproject.org/rpms/ruby/pull-request/167jprokop (Jarek Prokop)
Recently a GH PR was merged <https://github.com/ruby/ruby/pull/9306> For PAC/BTI support on ARM CPUs for Coroutine.S. Without proper compilation support in configure.ac it segfaults Ruby with fibers on CPUs where PAC is supported: htt...jprokop (Jarek Prokop)
With the --deployment option true: This commit introduced the issue: https://github.com/rubygems/rubygems/commit/09b90646f42a6591c280bbd7484c9bb0aa26b6ae This commit fixed the issue: https://github.com/rubygems/rubygems/commit/d55ad9b01...jprokop (Jarek Prokop)