I have the same issue. Found config.log here:
~/Library/Logs/Homebrew/game-porting-toolkit/wine64-build
log:
InstalledDir: /Users/user/homebrew/opt/game-porting-toolkit-compiler/bin
configure:5077: $? = 0
configure:5066: /Users/user/homebrew/opt/game-porting-toolkit-compiler/bin/clang -V >&5
clang-8: error: argument to '-V' is missing (expected 1 value)
clang-8: error: no input files
configure:5077: $? = 1
configure:5066: /Users/user/homebrew/opt/game-porting-toolkit-compiler/bin/clang -qversion >&5
clang-8: error: unknown argument '-qversion', did you mean '--version'?
clang-8: error: no input files
configure:5077: $? = 1
configure:5066: /Users/user/homebrew/opt/game-porting-toolkit-compiler/bin/clang -version >&5
clang-8: error: unknown argument '-version', did you mean '--version'?
clang-8: error: no input files
configure:5077: $? = 1
configure:5097: checking whether the C compiler works
configure:5119: /Users/user/homebrew/opt/game-porting-toolkit-compiler/bin/clang -I/Users/user/homebrew/opt/zlib/include -I/Users/user/homebrew/opt/freetype/include -I/Users/user/homebrew/opt/sdl2/include -I/Users/user/homebrew/opt/libgphoto2/include -I/Users/user/homebrew/opt/faudio/include -I/Users/user/homebrew/opt/jpeg/include -I/Users/user/homebrew/opt/libpng/include -I/Users/user/homebrew/opt/mpg123/include -I/Users/user/homebrew/opt/libtiff/include -I/Users/user/homebrew/opt/libgsm/include -I/Users/user/homebrew/opt/glib/include -I/Users/user/homebrew/opt/gnutls/include -I/Users/user/homebrew/opt/libusb/include -I/Users/user/homebrew/opt/gettext/include -I/Users/user/homebrew/opt/openssl@1.1/include -I/Users/user/homebrew/opt/sane-backends/include -O3 -Wno-implicit-function-declaration -Wno-format -Wno-deprecated-declarations -Wno-incompatible-pointer-types -L/Users/user/homebrew/opt/zlib/lib -L/Users/user/homebrew/opt/freetype/lib -L/Users/user/homebrew/opt/sdl2/lib -L/Users/user/homebrew/opt/libgphoto2/lib -L/Users/user/homebrew/opt/faudio/lib -L/Users/user/homebrew/opt/jpeg/lib -L/Users/user/homebrew/opt/libpng/lib -L/Users/user/homebrew/opt/mpg123/lib -L/Users/user/homebrew/opt/libtiff/lib -L/Users/user/homebrew/opt/libgsm/lib -L/Users/user/homebrew/opt/glib/lib -L/Users/user/homebrew/opt/gnutls/lib -L/Users/user/homebrew/opt/libusb/lib -L/Users/user/homebrew/opt/gettext/lib -L/Users/user/homebrew/opt/openssl@1.1/lib -L/Users/user/homebrew/opt/sane-backends/lib -lSystem -L/Users/user/homebrew/lib -Wl,-rpath,/Users/user/homebrew/lib -Wl,-rpath,@executable_path/../lib/external conftest.c >&5
-macosx_version_min has been renamed to -macos_version_min
dyld[10626]: Symbol not found: _lto_codegen_debug_options_array
Referenced from: <E33DCAC4-3116-3019-8003-432FB3E66FB4> /Library/Developer/CommandLineTools/usr/bin/ld
Expected in: <51CDDA4C-8BA9-3C80-A4B9-301C4D6109F4> /Users/user/homebrew/Cellar/game-porting-toolkit-compiler/0.1/lib/libLTO.dylib
clang-8: error: unable to execute command: Abort trap: 6
clang-8: error: linker command failed due to signal (use -v to see invocation)
configure:5123: $? = 254
configure:5163: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Wine"
| #define PACKAGE_TARNAME "wine"
| #define PACKAGE_VERSION "7.7"
| #define PACKAGE_STRING "Wine 7.7"
| #define PACKAGE_BUGREPORT "wine-devel@winehq.org"
| #define PACKAGE_URL "https://www.winehq.org"
| /* end confdefs.h. */
|
| int
| main (void)
| {
|
| ;
| return 0;
| }
configure:5168: error: in `/private/tmp/game-porting-toolkit-20241004-10197-4dhhky/wine64-build':
configure:5170: error: C compiler cannot create executables