https://bugs.winehq.org/show_bug.cgi?id=53916
Bug ID: 53916 Summary: makedep crashes on FreeBSD since b1f59bc679 "makefiles: Add support for multiple PE architectures" Product: Wine Version: unspecified Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: joel@airwebreathe.org.uk Distribution: ---
Since the patch b1f59bc679 "makefiles: Add support for multiple PE architectures", makedep now crashes due to a null pointer derference on FreeBSD 13.1:
Program received signal SIGSEGV, Segmentation fault. Address not mapped to object. 0x2823e24d in strlen () from /usr/lib32/libc.so.7 (gdb) bt #0 0x2823e24d in strlen () from /usr/lib32/libc.so.7 #1 0x0804a2af in output_filename (name=0x0) at tools/makedep.c:389 #2 0x0804c533 in output_filenames (array=..., array=...) at tools/makedep.c:406 #3 output_winegcc_command (arch=arch@entry=1, make=0x28275300) at tools/makedep.c:2425 #4 0x08056438 in output_module (make=make@entry=0x28275300, arch=arch@entry=1) at tools/makedep.c:3335 #5 0x08057649 in output_sources (make=0x28275300) at tools/makedep.c:3847 #6 0x08059de0 in output_top_makefile (make=make@entry=0x28275000) at tools/makedep.c:4195 #7 0x0805a7cc in output_dependencies (make=0x28275000) at tools/makedep.c:4215 #8 0x08049864 in main (argc=<optimized out>, argv=0xffffda40) at tools/makedep.c:4547