Skip to content

Commit 96fe3f0

Browse files
committed
Remove x86-mingw32 from binary builds
It fails with OpenSSL linker error: ``` configure:13021: i686-w64-mingw32-gcc -o conftest.exe -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -I/home/runner/work/ruby-pg/ruby-pg/ports/x86-mingw32/include -D_POSIX_C_SOURCE -I./src/include/port/win32 -L/home/runner/work/ruby-pg/ruby-pg/ports/x86-mingw32/lib -L/home/runner/work/ruby-pg/ruby-pg/ports/x86-mingw32/lib64 -L/home/runner/work/ruby-pg/ruby-pg/ports/x86-mingw32/lib-arm64 -Wl,--allow-multiple-definition -Wl,--disable-auto-import conftest.c -lcrypto -lm -lssl -lwsock32 -lgdi32 -lws2_32 -lcrypt32 >&5 /usr/bin/i686-w64-mingw32-ld: /home/runner/work/ruby-pg/ruby-pg/ports/x86-mingw32/lib/libcrypto.a(libdefault-lib-cipher_aes_cfb_hw.obj):cipher_aes_cfb_hw.c:(.text+0x1ea): undefined reference to `ossl_aes_cfb128_vaes_enc' /usr/bin/i686-w64-mingw32-ld: /home/runner/work/ruby-pg/ruby-pg/ports/x86-mingw32/lib/libcrypto.a(libdefault-lib-cipher_aes_cfb_hw.obj):cipher_aes_cfb_hw.c:(.text+0x220): undefined reference to `ossl_aes_cfb128_vaes_dec' ``` x86-mingw32 is no longer supported by RubyInstaller-4.0 and it seems to be more effort than use.
1 parent 551f185 commit 96fe3f0

File tree

3 files changed

+0
-5
lines changed

3 files changed

+0
-5
lines changed

.github/workflows/binary-gems.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ jobs:
2828
include:
2929
- platform: "x64-mingw-ucrt"
3030
- platform: "x64-mingw32"
31-
- platform: "x86-mingw32"
3231
- platform: "x86_64-linux"
3332
- platform: "x86_64-linux-musl"
3433
- platform: "aarch64-linux"
@@ -69,10 +68,6 @@ jobs:
6968
- os: windows-latest
7069
ruby: "4.0"
7170
platform: "x64-mingw-ucrt"
72-
- os: windows-latest
73-
ruby: "3.2.9-1"
74-
platform: "x86-mingw32"
75-
PGVERSION: 10.20-1-windows
7671
- os: windows-latest
7772
ruby: "3.2"
7873
platform: "x64-mingw-ucrt"

ports/patches/postgresql/17.6/0001-Use-workaround-of-__builtin_setjmp-only-on-MINGW-on-.patch renamed to ports/patches/18.1/0001-Use-workaround-of-__builtin_setjmp-only-on-MINGW-on-.patch

File renamed without changes.

ports/patches/postgresql/17.6/0001-libpq-Process-buffered-SSL-read-bytes-to-support-rec.patch renamed to ports/patches/18.1/0001-libpq-Process-buffered-SSL-read-bytes-to-support-rec.patch

File renamed without changes.

0 commit comments

Comments
 (0)