* [ruby-core:121745] [Ruby Bug#21286] Windows - MSYS2 just updated to GCC 15.1.0, builds failing
@ 2025-04-27 17:10 MSP-Greg (Greg L) via ruby-core
2025-04-28 6:48 ` [ruby-core:121748] " byroot (Jean Boussier) via ruby-core
` (13 more replies)
0 siblings, 14 replies; 15+ messages in thread
From: MSP-Greg (Greg L) via ruby-core @ 2025-04-27 17:10 UTC (permalink / raw)
To: ruby-core; +Cc: MSP-Greg (Greg L)
Issue #21286 has been reported by MSP-Greg (Greg L).
----------------------------------------
Bug #21286: Windows - MSYS2 just updated to GCC 15.1.0, builds failing
https://bugs.ruby-lang.org/issues/21286
* Author: MSP-Greg (Greg L)
* Status: Open
* ruby -v: master
* Backport: 3.2: UNKNOWN, 3.3: UNKNOWN, 3.4: UNKNOWN
----------------------------------------
MSYS2 just updated to GCC 15.1.0, and the ruby-loco builds failed to compile.
See [MinGW](https://github.com/MSP-Greg/ruby-loco/actions/runs/14693708990/job/41232509740) & [UCRT](https://github.com/MSP-Greg/ruby-loco/actions/runs/14693775816/job/41232662025)
Also, I compiled mswin locally with the recent VS 'preview' release, and the bug has been fixed.
--
https://bugs.ruby-lang.org/
______________________________________________
ruby-core mailing list -- ruby-core@ml.ruby-lang.org
To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org
ruby-core info -- https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/
^ permalink raw reply [flat|nested] 15+ messages in thread
* [ruby-core:121748] [Ruby Bug#21286] Windows - MSYS2 just updated to GCC 15.1.0, builds failing
2025-04-27 17:10 [ruby-core:121745] [Ruby Bug#21286] Windows - MSYS2 just updated to GCC 15.1.0, builds failing MSP-Greg (Greg L) via ruby-core
@ 2025-04-28 6:48 ` byroot (Jean Boussier) via ruby-core
2025-04-28 12:42 ` [ruby-core:121751] " Earlopain (Earlopain _) via ruby-core
` (12 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: byroot (Jean Boussier) via ruby-core @ 2025-04-28 6:48 UTC (permalink / raw)
To: ruby-core; +Cc: byroot (Jean Boussier)
Issue #21286 has been updated by byroot (Jean Boussier).
I'm seeing the same thing on `ruby/json` GitHub Actions builds.
```
bigdecimal.c:2556:1: note: 'BigDecimal_truncate' declared here
2556 | BigDecimal_truncate(int argc, VALUE *argv, VALUE self)
| ^~~~~~~~~~~~~~~~~~~
bigdecimal.c:4636:47: error: passing argument 3 of 'rb_define_method' from
incompatible pointer type [-Wincompatible-pointer-types]
4636 | rb_define_method(rb_cBigDecimal, "_dump", BigDecimal_dump, -1);
| ^~~~~~~~~~~~~~~
| |
| VALUE (*)(int, VALUE *,
VALUE) {aka long long unsigned int (*)(int, long long unsigned int *, long long
unsigned int)}
```
----------------------------------------
Bug #21286: Windows - MSYS2 just updated to GCC 15.1.0, builds failing
https://bugs.ruby-lang.org/issues/21286#change-112804
* Author: MSP-Greg (Greg L)
* Status: Open
* ruby -v: master
* Backport: 3.2: UNKNOWN, 3.3: UNKNOWN, 3.4: UNKNOWN
----------------------------------------
MSYS2 just updated to GCC 15.1.0, and the ruby-loco builds failed to compile.
See [MinGW](https://github.com/MSP-Greg/ruby-loco/actions/runs/14693708990/job/41232509740) & [UCRT](https://github.com/MSP-Greg/ruby-loco/actions/runs/14693775816/job/41232662025)
Also, I compiled mswin locally with the recent VS 'preview' release, and the bug has been fixed.
--
https://bugs.ruby-lang.org/
______________________________________________
ruby-core mailing list -- ruby-core@ml.ruby-lang.org
To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org
ruby-core info -- https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/
^ permalink raw reply [flat|nested] 15+ messages in thread
* [ruby-core:121751] [Ruby Bug#21286] Windows - MSYS2 just updated to GCC 15.1.0, builds failing
2025-04-27 17:10 [ruby-core:121745] [Ruby Bug#21286] Windows - MSYS2 just updated to GCC 15.1.0, builds failing MSP-Greg (Greg L) via ruby-core
2025-04-28 6:48 ` [ruby-core:121748] " byroot (Jean Boussier) via ruby-core
@ 2025-04-28 12:42 ` Earlopain (Earlopain _) via ruby-core
2025-04-28 14:55 ` [ruby-core:121752] " mdalessio (Mike Dalessio) via ruby-core
` (11 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: Earlopain (Earlopain _) via ruby-core @ 2025-04-28 12:42 UTC (permalink / raw)
To: ruby-core; +Cc: Earlopain (Earlopain _)
Issue #21286 has been updated by Earlopain (Earlopain _).
I'm getting the same thing in windows CI runs for a bunch of other first-party gems:
* `date`
* `fiddle`
* `io-console`
* `stringio`
* `racc`
* `prism`
The errors all look similar, for example here it is for `prism`:
```
api_pack.c: In function 'Init_prism_pack':
api_pack.c:269:56: error: passing argument 3 of 'rb_define_singleton_method'
from incompatible pointer type [-Wincompatible-pointer-types]
269 | rb_define_singleton_method(rb_cPrismPack, "parse", pack_parse, 3);
| ^~~~~~~~~~
| |
| VALUE (*)(VALUE,
VALUE, VALUE, VALUE) {aka long long unsigned int (*)(long long unsigned int,
long long unsigned int, long long unsigned int, long long unsigned int)}
In file included from
C:/hostedtoolcache/windows/Ruby/3.4.3/x64/include/ruby-3.4.0/ruby/internal/anyargs.h:76,
from
C:/hostedtoolcache/windows/Ruby/3.4.3/x64/include/ruby-3.4.0/ruby/ruby.h:27,
from
C:/hostedtoolcache/windows/Ruby/3.4.3/x64/include/ruby-3.4.0/ruby.h:38,
from
D:/a/rubocop/rubocop/vendor/bundle/ruby/3.4.0/gems/prism-1.4.0/ext/prism/extension.h:6,
from api_pack.c:1:
C:/hostedtoolcache/windows/Ruby/3.4.3/x64/include/ruby-3.4.0/ruby/internal/intern/class.h:365:68:
note: expected 'VALUE (*)(void)' {aka 'long long unsigned int (*)(void)'} but
argument is of type 'VALUE (*)(VALUE, VALUE, VALUE, VALUE)' {aka 'long long
unsigned int (*)(long long unsigned int, long long unsigned int, long long
unsigned int, long long unsigned int)'}
365 | void rb_define_singleton_method(VALUE obj, const char *mid,
VALUE(*func)(ANYARGS), int arity);
|
~~~~~~~^~~~~~~~~~~~~~
api_pack.c:181:1: note: 'pack_parse' declared here
181 | pack_parse(VALUE self, VALUE version_symbol, VALUE variant_symbol, VALUE
format_string) {
| ^~~~~~~~~~
make: *** [Makefile:251: api_pack.o] Error 1
```
Those are actually almost all gems in my lockfile that have native extensions, so this looks like a very widespread issue (in CI at least)
----------------------------------------
Bug #21286: Windows - MSYS2 just updated to GCC 15.1.0, builds failing
https://bugs.ruby-lang.org/issues/21286#change-112807
* Author: MSP-Greg (Greg L)
* Status: Open
* ruby -v: master
* Backport: 3.2: UNKNOWN, 3.3: UNKNOWN, 3.4: UNKNOWN
----------------------------------------
MSYS2 just updated to GCC 15.1.0, and the ruby-loco builds failed to compile.
See [MinGW](https://github.com/MSP-Greg/ruby-loco/actions/runs/14693708990/job/41232509740) & [UCRT](https://github.com/MSP-Greg/ruby-loco/actions/runs/14693775816/job/41232662025)
Also, I compiled mswin locally with the recent VS 'preview' release, and the bug has been fixed.
--
https://bugs.ruby-lang.org/
______________________________________________
ruby-core mailing list -- ruby-core@ml.ruby-lang.org
To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org
ruby-core info -- https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/
^ permalink raw reply [flat|nested] 15+ messages in thread
* [ruby-core:121752] [Ruby Bug#21286] Windows - MSYS2 just updated to GCC 15.1.0, builds failing
2025-04-27 17:10 [ruby-core:121745] [Ruby Bug#21286] Windows - MSYS2 just updated to GCC 15.1.0, builds failing MSP-Greg (Greg L) via ruby-core
2025-04-28 6:48 ` [ruby-core:121748] " byroot (Jean Boussier) via ruby-core
2025-04-28 12:42 ` [ruby-core:121751] " Earlopain (Earlopain _) via ruby-core
@ 2025-04-28 14:55 ` mdalessio (Mike Dalessio) via ruby-core
2025-04-28 15:23 ` [ruby-core:121753] " MSP-Greg (Greg L) via ruby-core
` (10 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: mdalessio (Mike Dalessio) via ruby-core @ 2025-04-28 14:55 UTC (permalink / raw)
To: ruby-core; +Cc: mdalessio (Mike Dalessio)
Issue #21286 has been updated by mdalessio (Mike Dalessio).
I wonder if `-Werror` is being set implicitly?
I'm seeing similar failures up and down my CI pipelines for the gems mentioned by @Earlopain, in addition to libxml2 compilation in Nokogiri's upstream integration testing.
----------------------------------------
Bug #21286: Windows - MSYS2 just updated to GCC 15.1.0, builds failing
https://bugs.ruby-lang.org/issues/21286#change-112810
* Author: MSP-Greg (Greg L)
* Status: Open
* ruby -v: master
* Backport: 3.2: UNKNOWN, 3.3: UNKNOWN, 3.4: UNKNOWN
----------------------------------------
MSYS2 just updated to GCC 15.1.0, and the ruby-loco builds failed to compile.
See [MinGW](https://github.com/MSP-Greg/ruby-loco/actions/runs/14693708990/job/41232509740) & [UCRT](https://github.com/MSP-Greg/ruby-loco/actions/runs/14693775816/job/41232662025)
Also, I compiled mswin locally with the recent VS 'preview' release, and the bug has been fixed.
--
https://bugs.ruby-lang.org/
______________________________________________
ruby-core mailing list -- ruby-core@ml.ruby-lang.org
To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org
ruby-core info -- https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/
^ permalink raw reply [flat|nested] 15+ messages in thread
* [ruby-core:121753] [Ruby Bug#21286] Windows - MSYS2 just updated to GCC 15.1.0, builds failing
2025-04-27 17:10 [ruby-core:121745] [Ruby Bug#21286] Windows - MSYS2 just updated to GCC 15.1.0, builds failing MSP-Greg (Greg L) via ruby-core
` (2 preceding siblings ...)
2025-04-28 14:55 ` [ruby-core:121752] " mdalessio (Mike Dalessio) via ruby-core
@ 2025-04-28 15:23 ` MSP-Greg (Greg L) via ruby-core
2025-04-28 19:33 ` [ruby-core:121756] " MSP-Greg (Greg L) via ruby-core
` (9 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: MSP-Greg (Greg L) via ruby-core @ 2025-04-28 15:23 UTC (permalink / raw)
To: ruby-core; +Cc: MSP-Greg (Greg L)
Issue #21286 has been updated by MSP-Greg (Greg L).
Maybe gcc-15 could be added to https://github.com/ruby/ruby/blob/master/.github/workflows/compilers.yml?
We don't know if this is a Windows only issue or if this is an issue with all OS's using gcc.
Also, see info in [Porting to GCC 15](https://gcc.gnu.org/gcc-15/porting_to.html)?
We could force setup-ruby to install gcc-14, and bypass the upgrade to gcc-15? It would take a little work...
----------------------------------------
Bug #21286: Windows - MSYS2 just updated to GCC 15.1.0, builds failing
https://bugs.ruby-lang.org/issues/21286#change-112811
* Author: MSP-Greg (Greg L)
* Status: Open
* ruby -v: master
* Backport: 3.2: UNKNOWN, 3.3: UNKNOWN, 3.4: UNKNOWN
----------------------------------------
MSYS2 just updated to GCC 15.1.0, and the ruby-loco builds failed to compile.
See [MinGW](https://github.com/MSP-Greg/ruby-loco/actions/runs/14693708990/job/41232509740) & [UCRT](https://github.com/MSP-Greg/ruby-loco/actions/runs/14693775816/job/41232662025)
Also, I compiled mswin locally with the recent VS 'preview' release, and the bug has been fixed.
--
https://bugs.ruby-lang.org/
______________________________________________
ruby-core mailing list -- ruby-core@ml.ruby-lang.org
To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org
ruby-core info -- https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/
^ permalink raw reply [flat|nested] 15+ messages in thread
* [ruby-core:121756] [Ruby Bug#21286] Windows - MSYS2 just updated to GCC 15.1.0, builds failing
2025-04-27 17:10 [ruby-core:121745] [Ruby Bug#21286] Windows - MSYS2 just updated to GCC 15.1.0, builds failing MSP-Greg (Greg L) via ruby-core
` (3 preceding siblings ...)
2025-04-28 15:23 ` [ruby-core:121753] " MSP-Greg (Greg L) via ruby-core
@ 2025-04-28 19:33 ` MSP-Greg (Greg L) via ruby-core
2025-04-29 13:07 ` [ruby-core:121770] " alanwu (Alan Wu) via ruby-core
` (8 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: MSP-Greg (Greg L) via ruby-core @ 2025-04-28 19:33 UTC (permalink / raw)
To: ruby-core; +Cc: MSP-Greg (Greg L)
Issue #21286 has been updated by MSP-Greg (Greg L).
I just updated the code in https://github.com/ruby/setup-msys2-gcc (the repo that assembles Windows build tool archive files), it is now downgrading to gcc 14.
I think this should fix the issue. I checked with Puma (extension gem), as it was affected.
At some point, I assume we'll be able to re-enable gcc-15 for a limited set of Ruby versions.
Lastly, I added `-std=gnu17` to `CFLAGS` (as per the above 'Porting to GCC 15'), and Ruby master built locally.
----------------------------------------
Bug #21286: Windows - MSYS2 just updated to GCC 15.1.0, builds failing
https://bugs.ruby-lang.org/issues/21286#change-112814
* Author: MSP-Greg (Greg L)
* Status: Open
* ruby -v: master
* Backport: 3.2: UNKNOWN, 3.3: UNKNOWN, 3.4: UNKNOWN
----------------------------------------
MSYS2 just updated to GCC 15.1.0, and the ruby-loco builds failed to compile.
See [MinGW](https://github.com/MSP-Greg/ruby-loco/actions/runs/14693708990/job/41232509740) & [UCRT](https://github.com/MSP-Greg/ruby-loco/actions/runs/14693775816/job/41232662025)
Also, I compiled mswin locally with the recent VS 'preview' release, and the bug has been fixed.
--
https://bugs.ruby-lang.org/
______________________________________________
ruby-core mailing list -- ruby-core@ml.ruby-lang.org
To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org
ruby-core info -- https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/
^ permalink raw reply [flat|nested] 15+ messages in thread
* [ruby-core:121770] [Ruby Bug#21286] Windows - MSYS2 just updated to GCC 15.1.0, builds failing
2025-04-27 17:10 [ruby-core:121745] [Ruby Bug#21286] Windows - MSYS2 just updated to GCC 15.1.0, builds failing MSP-Greg (Greg L) via ruby-core
` (4 preceding siblings ...)
2025-04-28 19:33 ` [ruby-core:121756] " MSP-Greg (Greg L) via ruby-core
@ 2025-04-29 13:07 ` alanwu (Alan Wu) via ruby-core
2025-04-29 14:25 ` [ruby-core:121771] " MSP-Greg (Greg L) via ruby-core
` (7 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: alanwu (Alan Wu) via ruby-core @ 2025-04-29 13:07 UTC (permalink / raw)
To: ruby-core; +Cc: alanwu (Alan Wu)
Issue #21286 has been updated by alanwu (Alan Wu).
I sent https://github.com/ruby/ruby/pull/13202 which I believe should fix compatibility with GCC 15 on MinGW (it passed CI with `-std=c23` on GCC 14). Is there a way to explicitly pick GCC 15 on CI with setup-ruby?
> We don't know if this is a Windows only issue or if this is an issue with all OS's using gcc.
It's a bit of both, but Windows gets more exposure. See #21293
----------------------------------------
Bug #21286: Windows - MSYS2 just updated to GCC 15.1.0, builds failing
https://bugs.ruby-lang.org/issues/21286#change-112828
* Author: MSP-Greg (Greg L)
* Status: Open
* ruby -v: master
* Backport: 3.2: UNKNOWN, 3.3: UNKNOWN, 3.4: UNKNOWN
----------------------------------------
MSYS2 just updated to GCC 15.1.0, and the ruby-loco builds failed to compile.
See [MinGW](https://github.com/MSP-Greg/ruby-loco/actions/runs/14693708990/job/41232509740) & [UCRT](https://github.com/MSP-Greg/ruby-loco/actions/runs/14693775816/job/41232662025)
Also, I compiled mswin locally with the recent VS 'preview' release, and the bug has been fixed.
--
https://bugs.ruby-lang.org/
______________________________________________
ruby-core mailing list -- ruby-core@ml.ruby-lang.org
To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org
ruby-core info -- https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/
^ permalink raw reply [flat|nested] 15+ messages in thread
* [ruby-core:121771] [Ruby Bug#21286] Windows - MSYS2 just updated to GCC 15.1.0, builds failing
2025-04-27 17:10 [ruby-core:121745] [Ruby Bug#21286] Windows - MSYS2 just updated to GCC 15.1.0, builds failing MSP-Greg (Greg L) via ruby-core
` (5 preceding siblings ...)
2025-04-29 13:07 ` [ruby-core:121770] " alanwu (Alan Wu) via ruby-core
@ 2025-04-29 14:25 ` MSP-Greg (Greg L) via ruby-core
2025-04-30 5:12 ` [ruby-core:121777] " hsbt (Hiroshi SHIBATA) via ruby-core
` (6 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: MSP-Greg (Greg L) via ruby-core @ 2025-04-29 14:25 UTC (permalink / raw)
To: ruby-core; +Cc: MSP-Greg (Greg L)
Issue #21286 has been updated by MSP-Greg (Greg L).
@alanwu
Thanks for working on this.
> it passed CI with -std=c23 on GCC 14
I'm not that familiar with gcc, especially in terms of issues like this. Are you pretty certain that `-std=c23 on GCC 14` is the same as `GCC 15`? I can check that locally...
> Is there a way to explicitly pick GCC 15 on CI with setup-ruby?
At present, no. One could use `setup-ruby-pkgs`, let me try that with your PR.
Going forward, I see a need to be able to use GCC 14 with older Rubies, and GCC 15 with newer ones. The selection should be automatic, but along with it, an override would be helpful, especially for building Ruby.
An override example would be a base Ruby that was UCRT (loaded with setup-ruby), but the script was building an MSWIN Ruby. Having the override would elimination a chicken/egg problem that often exists.
Some background:
The code that creates 7z packages of build tools (stored in a release) is contained in `ruby/setup-msys2-gcc`. The code in `setup-ruby` downloads and extracts the correct 7z files based on the Ruby version (no functioning override yet).
At present, there are two 'vectors' of build tool selections, [ucrt, mingw] and [OpenSSL 1.1, OpenSSL 3.y], which creates four different build tool packages. Now, I need another for GCC version [14, 15]. We're also adding arm64 packages.
I'll move forward with creating packages accounting for GCC 14 and GCC 15.
----------------------------------------
Bug #21286: Windows - MSYS2 just updated to GCC 15.1.0, builds failing
https://bugs.ruby-lang.org/issues/21286#change-112830
* Author: MSP-Greg (Greg L)
* Status: Open
* ruby -v: master
* Backport: 3.2: UNKNOWN, 3.3: UNKNOWN, 3.4: UNKNOWN
----------------------------------------
MSYS2 just updated to GCC 15.1.0, and the ruby-loco builds failed to compile.
See [MinGW](https://github.com/MSP-Greg/ruby-loco/actions/runs/14693708990/job/41232509740) & [UCRT](https://github.com/MSP-Greg/ruby-loco/actions/runs/14693775816/job/41232662025)
Also, I compiled mswin locally with the recent VS 'preview' release, and the bug has been fixed.
--
https://bugs.ruby-lang.org/
______________________________________________
ruby-core mailing list -- ruby-core@ml.ruby-lang.org
To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org
ruby-core info -- https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/
^ permalink raw reply [flat|nested] 15+ messages in thread
* [ruby-core:121777] [Ruby Bug#21286] Windows - MSYS2 just updated to GCC 15.1.0, builds failing
2025-04-27 17:10 [ruby-core:121745] [Ruby Bug#21286] Windows - MSYS2 just updated to GCC 15.1.0, builds failing MSP-Greg (Greg L) via ruby-core
` (6 preceding siblings ...)
2025-04-29 14:25 ` [ruby-core:121771] " MSP-Greg (Greg L) via ruby-core
@ 2025-04-30 5:12 ` hsbt (Hiroshi SHIBATA) via ruby-core
2025-05-02 17:18 ` [ruby-core:121800] " johnnyshields (Johnny Shields) via ruby-core
` (5 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: hsbt (Hiroshi SHIBATA) via ruby-core @ 2025-04-30 5:12 UTC (permalink / raw)
To: ruby-core; +Cc: hsbt (Hiroshi SHIBATA)
Issue #21286 has been updated by hsbt (Hiroshi SHIBATA).
I added `gcc-15` to our CI: https://github.com/ruby/ruby/actions/runs/14746546198/job/41394898928#step:7:670
It's working fine with Ubuntu-25.04. This issue only happened with MSYS2 or Windows environment.
----------------------------------------
Bug #21286: Windows - MSYS2 just updated to GCC 15.1.0, builds failing
https://bugs.ruby-lang.org/issues/21286#change-112834
* Author: MSP-Greg (Greg L)
* Status: Open
* ruby -v: master
* Backport: 3.2: UNKNOWN, 3.3: UNKNOWN, 3.4: UNKNOWN
----------------------------------------
MSYS2 just updated to GCC 15.1.0, and the ruby-loco builds failed to compile.
See [MinGW](https://github.com/MSP-Greg/ruby-loco/actions/runs/14693708990/job/41232509740) & [UCRT](https://github.com/MSP-Greg/ruby-loco/actions/runs/14693775816/job/41232662025)
Also, I compiled mswin locally with the recent VS 'preview' release, and the bug has been fixed.
--
https://bugs.ruby-lang.org/
______________________________________________
ruby-core mailing list -- ruby-core@ml.ruby-lang.org
To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org
ruby-core info -- https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/
^ permalink raw reply [flat|nested] 15+ messages in thread
* [ruby-core:121800] [Ruby Bug#21286] Windows - MSYS2 just updated to GCC 15.1.0, builds failing
2025-04-27 17:10 [ruby-core:121745] [Ruby Bug#21286] Windows - MSYS2 just updated to GCC 15.1.0, builds failing MSP-Greg (Greg L) via ruby-core
` (7 preceding siblings ...)
2025-04-30 5:12 ` [ruby-core:121777] " hsbt (Hiroshi SHIBATA) via ruby-core
@ 2025-05-02 17:18 ` johnnyshields (Johnny Shields) via ruby-core
2025-05-06 3:11 ` [ruby-core:121836] " nagachika (Tomoyuki Chikanaga) via ruby-core
` (4 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: johnnyshields (Johnny Shields) via ruby-core @ 2025-05-02 17:18 UTC (permalink / raw)
To: ruby-core; +Cc: johnnyshields (Johnny Shields)
Issue #21286 has been updated by johnnyshields (Johnny Shields).
May this please be backported to all actively maintained versions (3.2, 3.3, 3.4)? Since MSYS2 in independent of Ruby, users installing any Ruby version on Windows will face the same problem (inability to compile native gems).
----------------------------------------
Bug #21286: Windows - MSYS2 just updated to GCC 15.1.0, builds failing
https://bugs.ruby-lang.org/issues/21286#change-112865
* Author: MSP-Greg (Greg L)
* Status: Closed
* ruby -v: master
* Backport: 3.2: UNKNOWN, 3.3: UNKNOWN, 3.4: UNKNOWN
----------------------------------------
MSYS2 just updated to GCC 15.1.0, and the ruby-loco builds failed to compile.
See [MinGW](https://github.com/MSP-Greg/ruby-loco/actions/runs/14693708990/job/41232509740) & [UCRT](https://github.com/MSP-Greg/ruby-loco/actions/runs/14693775816/job/41232662025)
Also, I compiled mswin locally with the recent VS 'preview' release, and the bug has been fixed.
--
https://bugs.ruby-lang.org/
______________________________________________
ruby-core mailing list -- ruby-core@ml.ruby-lang.org
To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org
ruby-core info -- https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/
^ permalink raw reply [flat|nested] 15+ messages in thread
* [ruby-core:121836] [Ruby Bug#21286] Windows - MSYS2 just updated to GCC 15.1.0, builds failing
2025-04-27 17:10 [ruby-core:121745] [Ruby Bug#21286] Windows - MSYS2 just updated to GCC 15.1.0, builds failing MSP-Greg (Greg L) via ruby-core
` (8 preceding siblings ...)
2025-05-02 17:18 ` [ruby-core:121800] " johnnyshields (Johnny Shields) via ruby-core
@ 2025-05-06 3:11 ` nagachika (Tomoyuki Chikanaga) via ruby-core
2025-05-08 9:59 ` [ruby-core:121904] " alanwu (Alan Wu) via ruby-core
` (3 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: nagachika (Tomoyuki Chikanaga) via ruby-core @ 2025-05-06 3:11 UTC (permalink / raw)
To: ruby-core; +Cc: nagachika (Tomoyuki Chikanaga)
Issue #21286 has been updated by nagachika (Tomoyuki Chikanaga).
Backport changed from 3.2: REQUIRED, 3.3: REQUIRED, 3.4: REQUIRED to 3.2: REQUIRED, 3.3: DONE, 3.4: REQUIRED
ruby_3_3 commit:ffd469bd6d06df10057325a5b8c773fca009af8d merged revision(s) commit:719486a642f0e282b02b958069b8b39b85b3aa1e.
----------------------------------------
Bug #21286: Windows - MSYS2 just updated to GCC 15.1.0, builds failing
https://bugs.ruby-lang.org/issues/21286#change-112897
* Author: MSP-Greg (Greg L)
* Status: Closed
* ruby -v: master
* Backport: 3.2: REQUIRED, 3.3: DONE, 3.4: REQUIRED
----------------------------------------
MSYS2 just updated to GCC 15.1.0, and the ruby-loco builds failed to compile.
See [MinGW](https://github.com/MSP-Greg/ruby-loco/actions/runs/14693708990/job/41232509740) & [UCRT](https://github.com/MSP-Greg/ruby-loco/actions/runs/14693775816/job/41232662025)
Also, I compiled mswin locally with the recent VS 'preview' release, and the bug has been fixed.
--
https://bugs.ruby-lang.org/
______________________________________________
ruby-core mailing list -- ruby-core@ml.ruby-lang.org
To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org
ruby-core info -- https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/
^ permalink raw reply [flat|nested] 15+ messages in thread
* [ruby-core:121904] [Ruby Bug#21286] Windows - MSYS2 just updated to GCC 15.1.0, builds failing
2025-04-27 17:10 [ruby-core:121745] [Ruby Bug#21286] Windows - MSYS2 just updated to GCC 15.1.0, builds failing MSP-Greg (Greg L) via ruby-core
` (9 preceding siblings ...)
2025-05-06 3:11 ` [ruby-core:121836] " nagachika (Tomoyuki Chikanaga) via ruby-core
@ 2025-05-08 9:59 ` alanwu (Alan Wu) via ruby-core
2025-05-12 10:02 ` [ruby-core:122024] " larskanis (Lars Kanis) via ruby-core
` (2 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: alanwu (Alan Wu) via ruby-core @ 2025-05-08 9:59 UTC (permalink / raw)
To: ruby-core; +Cc: alanwu (Alan Wu)
Issue #21286 has been updated by alanwu (Alan Wu).
Backport changed from 3.2: REQUIRED, 3.3: DONE, 3.4: REQUIRED to 3.2: REQUIRED, 3.3: DONE, 3.4: DONE
ruby_3_4 merged commit:7e44df91b6d01be68391a029997f5ccdabe80603
----------------------------------------
Bug #21286: Windows - MSYS2 just updated to GCC 15.1.0, builds failing
https://bugs.ruby-lang.org/issues/21286#change-112973
* Author: MSP-Greg (Greg L)
* Status: Closed
* ruby -v: master
* Backport: 3.2: REQUIRED, 3.3: DONE, 3.4: DONE
----------------------------------------
MSYS2 just updated to GCC 15.1.0, and the ruby-loco builds failed to compile.
See [MinGW](https://github.com/MSP-Greg/ruby-loco/actions/runs/14693708990/job/41232509740) & [UCRT](https://github.com/MSP-Greg/ruby-loco/actions/runs/14693775816/job/41232662025)
Also, I compiled mswin locally with the recent VS 'preview' release, and the bug has been fixed.
--
https://bugs.ruby-lang.org/
______________________________________________
ruby-core mailing list -- ruby-core@ml.ruby-lang.org
To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org
ruby-core info -- https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/
^ permalink raw reply [flat|nested] 15+ messages in thread
* [ruby-core:122024] [Ruby Bug#21286] Windows - MSYS2 just updated to GCC 15.1.0, builds failing
2025-04-27 17:10 [ruby-core:121745] [Ruby Bug#21286] Windows - MSYS2 just updated to GCC 15.1.0, builds failing MSP-Greg (Greg L) via ruby-core
` (10 preceding siblings ...)
2025-05-08 9:59 ` [ruby-core:121904] " alanwu (Alan Wu) via ruby-core
@ 2025-05-12 10:02 ` larskanis (Lars Kanis) via ruby-core
2025-05-12 18:15 ` [ruby-core:122029] " k0kubun (Takashi Kokubun) via ruby-core
2025-05-13 2:20 ` [ruby-core:122035] " hsbt (Hiroshi SHIBATA) via ruby-core
13 siblings, 0 replies; 15+ messages in thread
From: larskanis (Lars Kanis) via ruby-core @ 2025-05-12 10:02 UTC (permalink / raw)
To: ruby-core; +Cc: larskanis (Lars Kanis)
Issue #21286 has been updated by larskanis (Lars Kanis).
Will you create new ruby stable releases in the next days? I'm asking because I've seen many CI failures and bug reports due to this GCC-15 issue and I wonder if I should release a new RubyInstaller series with this patch or if there will be an official new ruby patch release. There's also the [net-imap CVE](https://www.ruby-lang.org/en/news/2025/04/28/dos-net-imap-cve-2025-43857/) pending a new release.
----------------------------------------
Bug #21286: Windows - MSYS2 just updated to GCC 15.1.0, builds failing
https://bugs.ruby-lang.org/issues/21286#change-113145
* Author: MSP-Greg (Greg L)
* Status: Closed
* ruby -v: master
* Backport: 3.2: REQUIRED, 3.3: DONE, 3.4: DONE
----------------------------------------
MSYS2 just updated to GCC 15.1.0, and the ruby-loco builds failed to compile.
See [MinGW](https://github.com/MSP-Greg/ruby-loco/actions/runs/14693708990/job/41232509740) & [UCRT](https://github.com/MSP-Greg/ruby-loco/actions/runs/14693775816/job/41232662025)
Also, I compiled mswin locally with the recent VS 'preview' release, and the bug has been fixed.
--
https://bugs.ruby-lang.org/
______________________________________________
ruby-core mailing list -- ruby-core@ml.ruby-lang.org
To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org
ruby-core info -- https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/
^ permalink raw reply [flat|nested] 15+ messages in thread
* [ruby-core:122029] [Ruby Bug#21286] Windows - MSYS2 just updated to GCC 15.1.0, builds failing
2025-04-27 17:10 [ruby-core:121745] [Ruby Bug#21286] Windows - MSYS2 just updated to GCC 15.1.0, builds failing MSP-Greg (Greg L) via ruby-core
` (11 preceding siblings ...)
2025-05-12 10:02 ` [ruby-core:122024] " larskanis (Lars Kanis) via ruby-core
@ 2025-05-12 18:15 ` k0kubun (Takashi Kokubun) via ruby-core
2025-05-13 2:20 ` [ruby-core:122035] " hsbt (Hiroshi SHIBATA) via ruby-core
13 siblings, 0 replies; 15+ messages in thread
From: k0kubun (Takashi Kokubun) via ruby-core @ 2025-05-12 18:15 UTC (permalink / raw)
To: ruby-core; +Cc: k0kubun (Takashi Kokubun)
Issue #21286 has been updated by k0kubun (Takashi Kokubun).
I will :) I'm planning to cut an early Ruby 3.4 release this week.
----------------------------------------
Bug #21286: Windows - MSYS2 just updated to GCC 15.1.0, builds failing
https://bugs.ruby-lang.org/issues/21286#change-113150
* Author: MSP-Greg (Greg L)
* Status: Closed
* ruby -v: master
* Backport: 3.2: REQUIRED, 3.3: DONE, 3.4: DONE
----------------------------------------
MSYS2 just updated to GCC 15.1.0, and the ruby-loco builds failed to compile.
See [MinGW](https://github.com/MSP-Greg/ruby-loco/actions/runs/14693708990/job/41232509740) & [UCRT](https://github.com/MSP-Greg/ruby-loco/actions/runs/14693775816/job/41232662025)
Also, I compiled mswin locally with the recent VS 'preview' release, and the bug has been fixed.
--
https://bugs.ruby-lang.org/
______________________________________________
ruby-core mailing list -- ruby-core@ml.ruby-lang.org
To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org
ruby-core info -- https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/
^ permalink raw reply [flat|nested] 15+ messages in thread
* [ruby-core:122035] [Ruby Bug#21286] Windows - MSYS2 just updated to GCC 15.1.0, builds failing
2025-04-27 17:10 [ruby-core:121745] [Ruby Bug#21286] Windows - MSYS2 just updated to GCC 15.1.0, builds failing MSP-Greg (Greg L) via ruby-core
` (12 preceding siblings ...)
2025-05-12 18:15 ` [ruby-core:122029] " k0kubun (Takashi Kokubun) via ruby-core
@ 2025-05-13 2:20 ` hsbt (Hiroshi SHIBATA) via ruby-core
13 siblings, 0 replies; 15+ messages in thread
From: hsbt (Hiroshi SHIBATA) via ruby-core @ 2025-05-13 2:20 UTC (permalink / raw)
To: ruby-core; +Cc: hsbt (Hiroshi SHIBATA)
Issue #21286 has been updated by hsbt (Hiroshi SHIBATA).
Backport changed from 3.2: REQUIRED, 3.3: DONE, 3.4: DONE to 3.2: DONE, 3.3: DONE, 3.4: DONE
ruby_3_2 commit:53c09781495b0096eec88e4268a48a13b245097a merged revision(s) commit:719486a642f0e282b02b958069b8b39b85b3aa1e.
----------------------------------------
Bug #21286: Windows - MSYS2 just updated to GCC 15.1.0, builds failing
https://bugs.ruby-lang.org/issues/21286#change-113185
* Author: MSP-Greg (Greg L)
* Status: Closed
* ruby -v: master
* Backport: 3.2: DONE, 3.3: DONE, 3.4: DONE
----------------------------------------
MSYS2 just updated to GCC 15.1.0, and the ruby-loco builds failed to compile.
See [MinGW](https://github.com/MSP-Greg/ruby-loco/actions/runs/14693708990/job/41232509740) & [UCRT](https://github.com/MSP-Greg/ruby-loco/actions/runs/14693775816/job/41232662025)
Also, I compiled mswin locally with the recent VS 'preview' release, and the bug has been fixed.
--
https://bugs.ruby-lang.org/
______________________________________________
ruby-core mailing list -- ruby-core@ml.ruby-lang.org
To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org
ruby-core info -- https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/
^ permalink raw reply [flat|nested] 15+ messages in thread
end of thread, other threads:[~2025-05-13 2:21 UTC | newest]
Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-04-27 17:10 [ruby-core:121745] [Ruby Bug#21286] Windows - MSYS2 just updated to GCC 15.1.0, builds failing MSP-Greg (Greg L) via ruby-core
2025-04-28 6:48 ` [ruby-core:121748] " byroot (Jean Boussier) via ruby-core
2025-04-28 12:42 ` [ruby-core:121751] " Earlopain (Earlopain _) via ruby-core
2025-04-28 14:55 ` [ruby-core:121752] " mdalessio (Mike Dalessio) via ruby-core
2025-04-28 15:23 ` [ruby-core:121753] " MSP-Greg (Greg L) via ruby-core
2025-04-28 19:33 ` [ruby-core:121756] " MSP-Greg (Greg L) via ruby-core
2025-04-29 13:07 ` [ruby-core:121770] " alanwu (Alan Wu) via ruby-core
2025-04-29 14:25 ` [ruby-core:121771] " MSP-Greg (Greg L) via ruby-core
2025-04-30 5:12 ` [ruby-core:121777] " hsbt (Hiroshi SHIBATA) via ruby-core
2025-05-02 17:18 ` [ruby-core:121800] " johnnyshields (Johnny Shields) via ruby-core
2025-05-06 3:11 ` [ruby-core:121836] " nagachika (Tomoyuki Chikanaga) via ruby-core
2025-05-08 9:59 ` [ruby-core:121904] " alanwu (Alan Wu) via ruby-core
2025-05-12 10:02 ` [ruby-core:122024] " larskanis (Lars Kanis) via ruby-core
2025-05-12 18:15 ` [ruby-core:122029] " k0kubun (Takashi Kokubun) via ruby-core
2025-05-13 2:20 ` [ruby-core:122035] " hsbt (Hiroshi SHIBATA) via ruby-core
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).