On Tue, 7 Mar 2023, Satish Balay wrote: > On Tue, 7 Mar 2023, Satish Balay wrote: > > > On Tue, 7 Mar 2023, Paul Smith wrote: > > > > > FYI I tested on a system I have access to: > > > > but it worked fine with the makefile provided (of course I don't know > > > what the directory structure is where you're running this so I couldn't > > > reproduce that. > > > Its strange that it works on some systems [yours and another one mentioned > > earlier :arm64-apple-darwin22.3.0 with "Apple clang version 14.0.0 > > (clang-1400.0.29.202)"] but not on the systems I have access to. [also > > listed earlier..] > > Attaching build logs [perhaps there are differences here that result in > different behavior] > > balay@ypro make-4.4.1 % ./configure >& configure-out.log && make -j8 > CFLAGS=-g >& make.log
gcc -D_THREAD_SAFE -I/usr/local/Cellar/guile/3.0.7_2/include/guile/3.0 -I/usr/local/opt/gmp -I/usr/local/opt/gmp/include -I/usr/local/opt/readline/include -I/usr/local/opt/bdw-gc/include -g -rdynamic -o make src/ar.o src/arscan.o src/commands.o src/default.o src/dir.o src/expand.o src/file.o src/function.o src/getopt.o src/getopt1.o src/guile.o src/hash.o src/implicit.o src/job.o src/load.o src/loadapi.o src/main.o src/misc.o src/output.o src/read.o src/remake.o src/rule.o src/shuffle.o src/signame.o src/strcache.o src/variable.o src/version.o src/vpath.o src/posixos.o src/remote-stub.o -L/usr/local/Cellar/guile/3.0.7_2/lib -L/usr/local/opt/bdw-gc/lib -lguile-3.0 -lgc -lpthread lib/libgnu.a -L/usr/local/lib -lintl -Wl,-framework -Wl,CoreFoundation Ok - try a build without guile: balay@ypro make-4.4.1 % ./configure --without-guile && make -j8 Now it works! : balay@ypro ~ % ./make-4.4.1/make CONFIGDIR: /Users/balay/testdir/share/config balay@ypro ~ % So there must be some bad interaction with picking up brew installed guile libs here... Satish