https://bugs.documentfoundation.org/show_bug.cgi?id=160992

--- Comment #8 from Ryan Landay <[email protected]> ---
I am unable to build my checkout because the version of make installed by LODE
is immediately segfaulting when it reads the makefile:

macOS Tahoe 26.0.1

make --version
GNU Make 4.4
Built for x86_64-apple-darwin25.0.0
Copyright (C) 1988-2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.


(lldb) frame variable
(char **) stringp = <variable not available>

(size_t) size = 16
(int) stopmap = 1
(const char *) prefix = <variable not available>

(int) flags = 25
(glob_t) gl = {
  gl_pathc = 1
  gl_pathv = 0x0000000000000001
  gl_offs = 0
  gl_flags = 512
  gl_closedir = 0x00006000030440a0
  gl_readdir = 0x0000000000000000
  gl_opendir = 0x00000001000037c0 (make`open_dirstream at dir.c:1216)
  gl_lstat = 0x00007ff81b46de1c (libsystem_kernel.dylib`lstat$INODE64)
  gl_stat = 0x00007ff81b4680c0 (libsystem_kernel.dylib`stat$INODE64)
}
(nameseq *) new = NULL
(nameseq **) newp = 0x00007ff7bfefd3f0
(int) found_wait = 0
(int) findmap = <variable not available>

(char *) p = <variable not available>

(char *) tp = <variable not available>

(int) cachep = <no location, value may have been optimized out>

(char *) memname = <variable not available>

(char *) arname = <variable not available>

(int) globme = <variable not available>

(char *) tildep = 0x0000000000000000
(const char **) nlist = <variable not available>

(char *) s = <variable not available>

(size_t) nlen = <variable not available>

(const char *) name = <variable not available>

(int) i = 0
(int) tot = <variable not available>

(nameseq *) _ns = 0x00006000030440b0
(const char *) __n = <variable not available>

(lldb) bt
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS
(code=1, address=0x1)
  * frame #0: 0x000000010001b84e make`parse_file_seq(stringp=<unavailable>,
size=16, stopmap=1, prefix=<unavailable>, flags=25) at read.c:3532:11 [opt]
    frame #1: 0x0000000100009876
make`string_glob(line="/Users/rlanday/Documents/source/lode/dev/core/.git") at
function.c:365:11 [opt] [inlined]
    frame #2: 0x000000010000985f make`func_wildcard(o="", argv=<unavailable>,
funcname=<unavailable>) at function.c:1534:14 [opt]
    frame #3: 0x000000010000817c make`handle_function(op=0x00007ff7bfefd5e8,
stringp=0x00007ff7bfefd5e0) at function.c:2668:9 [opt]
    frame #4: 0x000000010000405f
make`variable_expand_string(line=<unavailable>, string=<unavailable>,
length=<unavailable>) at expand.c:282:17 [opt]
    frame #5: 0x0000000100004489 make`variable_expand(line="$(wildcard
$(SRCDIR)/.git)") at expand.c:441:10 [opt] [inlined]
    frame #6: 0x0000000100004478 make`variable_expand_for_file(line="$(wildcard
$(SRCDIR)/.git)", file=0x0000000000000000) at expand.c:488:12 [opt] [inlined]
    frame #7: 0x0000000100004478
make`allocated_variable_expand_for_file(line="$(wildcard $(SRCDIR)/.git)",
file=0x0000000000000000) at expand.c:590:11 [opt] [inlined]
    frame #8: 0x0000000100004460 make`expand_argument(str="$(wildcard
$(SRCDIR)/.git)", end=<unavailable>) at expand.c:460:12 [opt]
    frame #9: 0x000000010000a736 make`func_if(o="", argv=0x00007ff7bfefd6e0,
funcname=<unavailable>) at function.c:1400:25 [opt]
    frame #10: 0x000000010000817c make`handle_function(op=0x00007ff7bfefd7b8,
stringp=0x00007ff7bfefd7b0) at function.c:2668:9 [opt]
    frame #11: 0x000000010000405f
make`variable_expand_string(line=<unavailable>, string=<unavailable>,
length=<unavailable>) at expand.c:282:17 [opt]
    frame #12: 0x0000000100003e09 make`variable_expand(line=<unavailable>) at
expand.c:441:10 [opt] [inlined]
    frame #13: 0x0000000100003df8
make`variable_expand_for_file(line=<unavailable>, file=<unavailable>) at
expand.c:488:12 [opt] [inlined]
    frame #14: 0x0000000100003d99
make`allocated_variable_expand_for_file(line=<unavailable>,
file=0x0000000000000000) at expand.c:590:11 [opt]
    frame #15: 0x000000010002307e
make`do_variable_definition(flocp=0x00007ff7bfefdb90, varname="GIT_BUILD",
value=<unavailable>, origin=o_file, flavor=f_simple, target_var=0) at
variable.c:1279:25 [opt]
    frame #16: 0x00000001000246c7
make`try_variable_definition(flocp=0x00007ff7bfefdb90, line="GIT_BUILD := $(if
$(wildcard $(SRCDIR)/.git),T)", origin=o_file, target_var=0) at
variable.c:1766:8 [opt]
    frame #17: 0x00000001000196dd make`eval(ebuf=0x00007ff7bfefdb68,
set_default=<unavailable>) at read.c:758:17 [opt]
    frame #18: 0x0000000100019138 make`eval_makefile(filename="Makefile",
flags=0) at read.c:442:3 [opt]
    frame #19: 0x0000000100018ceb
make`read_all_makefiles(makefiles=<unavailable>) at read.c:261:11 [opt]
    frame #20: 0x0000000100014003 make`main(argc=1, argv=0x00007ff7bfefef60,
envp=0x00007ff7ffffffff) at main.c:2069:18 [opt]
    frame #21: 0x00007ff81b0dd781 dyld`start + 3457
(lldb) frame select 0
frame #0: 0x000000010001b84e make`parse_file_seq(stringp=<unavailable>,
size=16, stopmap=1, prefix=<unavailable>, flags=25) at read.c:3532:11 [opt]
   3529           }
   3530         else
   3531 #endif /* !NO_ARCHIVES */
-> 3532           NEWELT (concat (2, prefix, nlist[i]));
   3533 
   3534       if (globme)
   3535         globfree (&gl);
(lldb) source list
   3536 
   3537 #ifndef NO_ARCHIVES
   3538       free (arname);
   3539 #endif
   3540 
   3541       free (tildep);
   3542     }

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to