Actions
Bug #17602
closedMinGW builds failing - binutils-2.36 ?
Description
ruby-loco mingw is failing, and a recent PR's here are also failing with similar issue. Log shows:
x86_64-w64-mingw32-gcc: error: language c -DRC_INVOKED -I. -I. -I../src/win32 not recognized
x86_64-w64-mingw32-gcc: error: language c -DRC_INVOKED -I. -I. -I../src/win32 not recognized
C:\msys64\mingw64\bin\windres.exe: preprocessing failed.
compiling ruby.res.o
make: *** [GNUmakefile:49: x64-msvcrt-ruby310.res.o] Error 1
make: *** Waiting for unfinished jobs....
generating table from enc/trans/cesu_8.c
rb_mjit_header.h updated
generating enc/trans/cesu_8.c ...
x86_64-w64-mingw32-gcc: error: language c -DRC_INVOKED -I. -I. -I../src/win32 not recognized
x86_64-w64-mingw32-gcc: error: language c -DRC_INVOKED -I. -I. -I../src/win32 not recognized
C:\msys64\mingw64\bin\windres.exe: preprocessing failed.
make: *** [GNUmakefile:50: ruby.res.o] Error 1
I think the only thing that has changed since the most recent master commit (https://github.com/ruby/ruby/commit/22b8ddfd1049) is an updated package in MSYS2/MinGW, binutils-2.36?
Updated by nobu (Nobuyoshi Nakada) over 3 years ago
- Related to Feature #3943: enabling builds with llvm-gcc added
Updated by nobu (Nobuyoshi Nakada) over 3 years ago
- Status changed from Open to Closed
Applied in changeset git|952b2dcc8804cbf094f8f626e04bcb3f8e151005.
Fix for windres 2.36 [Bug #17602]
Add --preprocessor and --preprocessor-arg for each preprocessor
command arguments, as windres 2.36 requires preprocessor name and
arguments to be separated to respect spaces in these paths.
Updated by naruse (Yui NARUSE) over 3 years ago
- Backport changed from 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: UNKNOWN, 3.0: UNKNOWN to 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: UNKNOWN, 3.0: DONE
ruby_3_0 d1fb0a39537d4536869921383ee2a223cc6dfac9 merged revision(s) 952b2dcc8804cbf094f8f626e04bcb3f8e151005.
Actions
Like0
Like0Like0Like0