https://bugs.winehq.org/show_bug.cgi?id=52695
--- Comment #15 from enni enni@telsh.de --- Created attachment 72127 --> https://bugs.winehq.org/attachment.cgi?id=72127 config.log for WINE 7.5 (git)
Found some lines in the config.log that might help to resolve/debug:
1) gcc option "-li386" configure:7531: checking for i386_set_ldt in -li386 configure:7554: gcc -m32 -o conftest -g -O2 conftest.c -li386 >&5 /usr/bin/ld: cannot find -li386: No such file or directory collect2: error: ld returned 1 exit status configure:7554: $? = 1
2) checking for _FILE_OFFSET_BITS value needed for large files conftest.c:16:7: error: variably modified 'off_t_is_large' at file scope 16 | int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 | ^~~~~~~~~~~~~~ configure:7665: $? = 1
3) header files missing conftest.c:50:10: fatal error: ApplicationServices/ApplicationServices.h: No such file or directory same for: CL/cl.h: No such file or directory Carbon/Carbon.h: No such file or directory CoreAudio/CoreAudio.h: No such file or directory DiskArbitration/DiskArbitration.h: No such file or directory IOKit/IOKitLib.h: No such file or directory IOKit/hid/IOHIDLib.h: No such file or directory OpenAL/al.h: No such file or directory OpenCL/opencl.h: No such file or directory Security/Security.h: No such file or directory SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h: No such file or directory SystemConfiguration/SCNetworkConfiguration.h: No such file or directory asm/user.h: No such file or directory libproc.h: No such file or directory linux/ucdrom.h: No such file or directory lwp.h: No such file or directory mach-o/loader.h: No such file or directory mach/mach.h: No such file or directory machine/cpu.h: No such file or directory machine/sysarch.h: No such file or directory netinet/tcp_fsm.h: No such file or directory port.h: No such file or directory sys/attr.h: No such file or directory sys/cdio.h: No such file or directory sys/event.h: No such file or directory sys/filio.h: No such file or directory sys/link.h: No such file or directory sys/modem.h: No such file or directory sys/scsiio.h: No such file or directory sys/sockio.h: No such file or directory sys/strtio.h: No such file or directory sys/vnode.h: No such file or directory valgrind/memcheck.h: No such file or directory valgrind/valgrind.h: No such file or directory sys/mkdev.h: No such file or directory sys/conf.h: No such file or directory sys/sysctl.h: No such file or directory net/if_dl.h: No such file or directory net/if_types.h: No such file or directory netinet/in_pcb.h: No such file or directory netinet/ip_var.h: No such file or directory netinet/udp_var.h: No such file or directory netinet/icmp_var.h: No such file or directory netinet/tcp_var.h: No such file or directory linux/ipx.h: No such file or directory linux/irda.h: No such file or directory sys/thr.h: No such file or directory pthread_np.h: No such file or directory libprocstat.h: No such file or directory
ac_nonexistent.h: No such file or directory
4) cross-compiler support configure:10670: checking whether the cross-compiler supports -target i686-windows -fuse-ld=lld -Wl,-subsystem:console configure:10686: clang -o conftest.exe -g -O2 -D__WINE_PE_BUILD -Wall -nostartfiles -nodefaultlibs -target i686-windows -fuse-ld=lld -Wl,-subsystem:console conftest.c >&5 clang-13: error: unable to execute command: Executable "lld-link" doesn't exist!
5) struct/scalar configure:15445: checking for XEvent.xcookie configure:15445: gcc -m32 -c -g -O2 conftest.c >&5 conftest.c: In function 'main': conftest.c:137:5: error: used struct type value where scalar is required 137 | if (ac_aggr.xcookie) | ^~~~~~~
6) /usr/bin/ld: skipping incompatible It looks like /usr/lib32 is not searched for libs but only /usr/lib is
7) __clear_cache pointers (reason for crash after ~30 minutes?) configure:20754: checking for __clear_cache configure:20771: gcc -m32 -o conftest -g -O2 conftest.c >&5 conftest.c: In function 'main': conftest.c:207:1: error: both arguments to '__builtin___clear_cache' must be pointers 207 | __clear_cache((void*)0, (void*)0); return 0; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ configure:20771: $? = 1