rakudo / star

Rakudo Star (Raku distribution)
https://rakudo.org/
Artistic License 2.0
265 stars 41 forks source link

[macOS 10.13.6, star 2023-11-01] Compile/Link failure #195

Closed habere-et-dispertire closed 4 months ago

habere-et-dispertire commented 8 months ago

Rakudo star build instructions are stellar. This is the first build to fail for me. If we no longer support 10.13.6, then that's okay. We should note it and perhaps fail with a more awesome error message upfront.

Log

linking libmoar.dylib
Undefined symbols for architecture x86_64:
  "_preadv", referenced from:
      _uv__fs_work in libuv.a(fs.o)
  "_pwritev", referenced from:
      _uv__fs_work in libuv.a(fs.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [libmoar.dylib] Error 1

Output of rstar sysinfo

make            make
version         17.7.0
term            xterm-256color
key             darwin
os              darwin
arch            x86_64

Full Output of Install Logs

Welcome to MoarVM!

Configuring native build environment ................... 
    trying to compile a simple C program ............... YES
    probing stdatomic .................................. NO
did not find libzstd; will not use heap snapshot format version 3
Defaulting to libc malloc because <stdatomic.h> was not found.
OK

    probing whether your compiler thinks that it is gcc  YES
    probing how your compiler does static inline ....... static __inline__
    probing if your compiler offers thread local storage  _Thread_local
    probing if your pow() handles NaN and Inf corner cases  YES
    probing if your log() returns NaN for negative values  YES
    probing if your log10() returns NaN for negative values  YES
    probing if your asin() returns NaN for negative values  YES
    probing if your acos() returns NaN for negative values  YES
    probing if you have isnan .......................... YES
    probing if you have isinf .......................... YES
    probing if you have signbit ........................ YES
    your CPU can read unaligned values for all of int32 int64 num64
    probing the size of pointers ....................... 8
    probing C type support for booleans ................ _Bool
    probing computed goto support ...................... YES
    probing pthread_yield support ...................... NO
    probing pthread_setname_np support (optional) ...... NO
    probing existance of optional malloc_trim() ........ NO
    probing support of rdtscp intrinsic ................ NO

        make: /usr/bin/make
     compile: clang -fno-omit-frame-pointer -fno-optimize-sibling-calls -Werror=vla -O3 -DNDEBUG -Wno-logical-op-parentheses -D_DARWIN_USE_64_BIT_INODE=1  -gdwarf-4 -DMVM_HEAPSNAPSHOT_FORMAT=2 -D_GNU_SOURCE
    includes:   -I3rdparty/libuv/include -I3rdparty/libuv/src -I3rdparty/libatomicops/src -I3rdparty/libtommath -I3rdparty/dyncall/dynload -I3rdparty/dyncall/dyncall -I3rdparty/dyncall/dyncallback
        link: clang  -O3 -DNDEBUG -Wl,-rpath,@executable_path/../lib
        libs:  -lpthread

  byte order: little endian

Checking perl5 modules ................................. OK
Configuring 3rdparty libs .............................. OK

  3rdparty: 3rdparty/cmp/libcmp.a
            3rdparty/dyncall/dyncall/libdyncall_s.a
            3rdparty/dyncall/dyncallback/libdyncallback_s.a
            3rdparty/dyncall/dynload/libdynload_s.a
            3rdparty/libatomicops/src/libatomic_ops.a
            3rdparty/libtommath/libtommath.a
            3rdparty/libuv/libuv.a
            3rdparty/sha1/libsha1.a

Generating src/gen/config.c ............................ OK
Generating src/gen/config.h ............................ OK
Generating Makefile .................................... OK
Generating tools/check.mk .............................. OK
Generating build/mk-moar-pc.pl ......................... OK

Configuration SUCCESS.

Type '/usr/bin/make' to build and '/usr/bin/make help' to see a list of
available make targets.
compiling src/main.o
compiling src/core/callsite.o
compiling src/core/args.o
compiling src/core/exceptions.o
compiling src/core/interp.o
compiling src/core/str_hash_table.o
compiling src/core/fixkey_hash_table.o
compiling src/core/index_hash_table.o
compiling src/core/ptr_hash_table.o
compiling src/core/uni_hash_table.o
compiling src/core/threadcontext.o
compiling src/core/compunit.o
compiling src/core/bytecode.o
compiling src/core/frame.o
compiling src/core/callstack.o
compiling src/core/validation.o
compiling src/core/bytecodedump.o
compiling src/core/threads.o
compiling src/core/ops.o
compiling src/core/hll.o
compiling src/core/loadbytecode.o
compiling src/core/coerce.o
compiling src/core/dll.o
compiling src/core/ext.o
compiling src/core/nativecall.o
compiling src/core/nativecall_dyncall.o
compiling src/core/continuation.o
compiling src/core/intcache.o
compiling src/core/regionalloc.o
compiling src/debug/debugserver.o
compiling src/gen/config.o
compiling src/gc/orchestrate.o
compiling src/gc/allocation.o
compiling src/gc/worklist.o
compiling src/gc/roots.o
compiling src/gc/collect.o
compiling src/gc/gen2.o
compiling src/gc/wb.o
compiling src/gc/objectid.o
compiling src/gc/finalize.o
compiling src/gc/debug.o
compiling src/io/io.o
compiling src/io/eventloop.o
compiling src/io/syncfile.o
compiling src/io/syncsocket.o
compiling src/io/fileops.o
compiling src/io/dirops.o
compiling src/io/procops.o
compiling src/io/timers.o
compiling src/io/filewatchers.o
compiling src/io/signals.o
compiling src/io/asyncsocket.o
compiling src/io/asyncsocketudp.o
compiling src/6model/reprs.o
compiling src/6model/reprconv.o
compiling src/6model/containers.o
compiling src/6model/parametric.o
compiling src/6model/reprs/MVMString.o
compiling src/6model/reprs/VMArray.o
compiling src/6model/reprs/MVMHash.o
compiling src/6model/reprs/MVMCFunction.o
compiling src/6model/reprs/KnowHOWREPR.o
compiling src/6model/reprs/KnowHOWAttributeREPR.o
compiling src/6model/reprs/P6str.o
compiling src/6model/reprs/P6opaque.o
compiling src/6model/reprs/MVMCode.o
compiling src/6model/reprs/MVMOSHandle.o
compiling src/6model/reprs/MVMCompUnit.o
compiling src/6model/reprs/MVMStaticFrame.o
compiling src/6model/reprs/P6int.o
compiling src/6model/reprs/P6num.o
compiling src/6model/reprs/Uninstantiable.o
compiling src/6model/reprs/HashAttrStore.o
compiling src/6model/reprs/MVMThread.o
compiling src/6model/reprs/MVMIter.o
compiling src/6model/reprs/MVMContext.o
compiling src/6model/reprs/SCRef.o
compiling src/6model/reprs/P6bigint.o
compiling src/6model/reprs/NFA.o
compiling src/6model/reprs/MVMException.o
compiling src/6model/reprs/MVMDLLSym.o
compiling src/6model/reprs/MVMContinuation.o
compiling src/6model/reprs/NativeCall.o
compiling src/6model/reprs/CPointer.o
compiling src/6model/reprs/CStr.o
compiling src/6model/reprs/CArray.o
compiling src/6model/reprs/CStruct.o
compiling src/6model/reprs/CUnion.o
compiling src/6model/reprs/ReentrantMutex.o
compiling src/6model/reprs/ConditionVariable.o
compiling src/6model/reprs/Semaphore.o
compiling src/6model/reprs/ConcBlockingQueue.o
compiling src/6model/reprs/MVMAsyncTask.o
compiling src/6model/reprs/MVMNull.o
compiling src/6model/reprs/CPPStruct.o
compiling src/6model/reprs/NativeRef.o
src/6model/reprs/NativeRef.c:578:116: warning: format specifies type 'long' but the argument has type 'MVMint64' (aka 'long long') [-Wformat]
            MVM_exception_throw_adhoc(tc, "Attempting to MVM_nativeref_write_lex_i (%ld) to an unsigned variable", value);
                                                                                    ~~~                            ^~~~~
                                                                                    %lld
src/6model/reprs/NativeRef.c:602:113: warning: format specifies type 'unsigned long' but the argument has type 'MVMuint64' (aka 'unsigned long long') [-Wformat]
            MVM_exception_throw_adhoc(tc, "Attempting to MVM_nativeref_write_lex_u (%lu) to a signed variable", value);
                                                                                    ~~~                         ^~~~~
                                                                                    %llu
2 warnings generated.
compiling src/6model/reprs/MultiDimArray.o
compiling src/6model/reprs/Decoder.o
compiling src/6model/reprs/MVMSpeshLog.o
compiling src/6model/reprs/MVMStaticFrameSpesh.o
compiling src/6model/reprs/MVMCapture.o
compiling src/6model/reprs/MVMTracked.o
compiling src/6model/reprs/MVMStat.o
compiling src/6model/6model.o
compiling src/6model/bootstrap.o
compiling src/6model/sc.o
compiling src/6model/serialization.o
compiling src/disp/boot.o
compiling src/disp/registry.o
compiling src/disp/inline_cache.o
compiling src/disp/program.o
compiling src/disp/syscall.o
compiling src/disp/resume.o
compiling src/spesh/dump.o
compiling src/spesh/graph.o
compiling src/spesh/codegen.o
compiling src/spesh/manipulate.o
compiling src/spesh/args.o
compiling src/spesh/usages.o
compiling src/spesh/facts.o
compiling src/spesh/optimize.o
compiling src/spesh/dead_bb_elimination.o
compiling src/spesh/dead_ins_elimination.o
compiling src/spesh/deopt.o
compiling src/spesh/log.o
compiling src/spesh/threshold.o
compiling src/spesh/inline.o
compiling src/spesh/osr.o
compiling src/spesh/lookup.o
compiling src/spesh/iterator.o
compiling src/spesh/worker.o
compiling src/spesh/debug.o
compiling src/spesh/stats.o
compiling src/spesh/plan.o
compiling src/spesh/arg_guard.o
compiling src/spesh/frame_walker.o
compiling src/spesh/pea.o
compiling src/6model/reprs/MVMSpeshCandidate.o
compiling src/spesh/disp.o
compiling src/strings/decode_stream.o
compiling src/strings/ascii.o
compiling src/strings/parse_num.o
compiling src/strings/utf8.o
compiling src/strings/utf8_c8.o
compiling src/strings/nfg.o
compiling src/strings/ops.o
compiling src/strings/unicode.o
compiling src/strings/normalize.o
compiling src/strings/latin1.o
compiling src/strings/utf16.o
compiling src/strings/windows1252.o
compiling src/strings/shiftjis.o
compiling src/strings/gb2312.o
compiling src/strings/gb18030.o
compiling src/math/bigintops.o
compiling src/profiler/instrument.o
compiling src/profiler/log.o
compiling src/profiler/profile.o
compiling src/profiler/heapsnapshot.o
compiling src/profiler/telemeh.o
compiling src/profiler/configuration.o
compiling src/instrument/crossthreadwrite.o
compiling src/instrument/line_coverage.o
compiling src/platform/sys.o
compiling src/platform/random.o
compiling src/platform/memmem32.o
compiling 3rdparty/freebsd/memmem.o
compiling 3rdparty/ryu/ryu/d2s.o
compiling src/platform/malloc_trim.o
compiling src/moar.o
compiling src/platform/posix/mmap.o
compiling src/platform/posix/time.o
compiling src/platform/posix/io.o
compiling src/platform/posix/fork.o
compiling src/jit/graph.o
compiling src/jit/label.o
compiling src/jit/compile.o
compiling src/jit/dump.o
Precompiling templates from src/jit/core_templates.expr
compiling src/jit/expr.o
Building tile tables from src/jit/x64/tile_pattern.tile
compiling src/jit/tile.o
compiling src/jit/linear_scan.o
compiling src/jit/interface.o
clang  3rdparty/dynasm/minilua.c -lm -o 3rdparty/dynasm/minilua
preprocessing src/jit/x64/emit.dasc
compiling src/jit/x64/emit.o
compiling src/jit/x64/arch.o
compiling 3rdparty/cmp/cmp.o
linking 3rdparty/cmp/libcmp.a
building dyncall...
Configuration written to Makefile.config
done.
linking 3rdparty/libatomicops/src/libatomic_ops.a
checking build system type... x86_64-apple-darwin17.7.0
checking host system type... x86_64-apple-darwin17.7.0
checking target system type... x86_64-apple-darwin17.7.0
checking for a BSD-compatible install... /Users/XXX/.nix-profile/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /Users/XXX/.nix-profile/bin/mkdir -p
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether /usr/bin/make  sets $(MAKE)... yes
checking whether /usr/bin/make  supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by /usr/bin/make ... GNU
checking for gcc... clang
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether clang accepts -g... yes
checking for clang option to accept ISO C89... none needed
checking whether clang understands -c and -o together... rm: cannot remove 'conftest.dSYM': Is a directory
yes
checking dependency style of clang... gcc3
checking dependency style of clang... gcc3
checking for ranlib... ranlib
checking how to run the C preprocessor... clang -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... rm: cannot remove 'conftest.dSYM': Is a directory
rm: cannot remove 'conftest.dSYM': Is a directory
yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for getpagesize... yes
checking for working mmap... yes
checking for PIC compiler flag... -fPIC
checking whether gcc -fPIC causes __PIC__ definition... yes
checking for gcc -Wextra... yes
checking for pthread_self in -lpthread... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating src/Makefile
config.status: creating src/config.h
config.status: executing depfiles commands
config.status: executing default commands
/Applications/Xcode.app/Contents/Developer/usr/bin/make  all-am
clang -DHAVE_CONFIG_H   -I../src -I../src  -fPIC -Wall -Wextra -fno-omit-frame-pointer -fno-optimize-sibling-calls -Werror=vla -O3 -DNDEBUG -Wno-logical-op-parentheses -D_DARWIN_USE_64_BIT_INODE=1  -gdwarf-4 -DMVM_HEAPSNAPSHOT_FORMAT=2 -D_GNU_SOURCE -DMVM_TRACING=0 -DMVM_CGOTO=1 -MT atomic_ops.o -MD -MP -MF .deps/atomic_ops.Tpo -c -o atomic_ops.o atomic_ops.c
mv -f .deps/atomic_ops.Tpo .deps/atomic_ops.Po
rm -f libatomic_ops.a
ar cru libatomic_ops.a atomic_ops.o 
ranlib libatomic_ops.a
compiling 3rdparty/sha1/sha1.o
linking 3rdparty/sha1/libsha1.a
compiling 3rdparty/libtommath/bn_cutoffs.o
compiling 3rdparty/libtommath/bn_deprecated.o
compiling 3rdparty/libtommath/bn_mp_2expt.o
compiling 3rdparty/libtommath/bn_mp_abs.o
compiling 3rdparty/libtommath/bn_mp_add.o
compiling 3rdparty/libtommath/bn_mp_add_d.o
compiling 3rdparty/libtommath/bn_mp_addmod.o
compiling 3rdparty/libtommath/bn_mp_and.o
compiling 3rdparty/libtommath/bn_mp_clamp.o
compiling 3rdparty/libtommath/bn_mp_clear.o
compiling 3rdparty/libtommath/bn_mp_clear_multi.o
compiling 3rdparty/libtommath/bn_mp_cmp.o
compiling 3rdparty/libtommath/bn_mp_cmp_d.o
compiling 3rdparty/libtommath/bn_mp_cmp_mag.o
compiling 3rdparty/libtommath/bn_mp_cnt_lsb.o
compiling 3rdparty/libtommath/bn_mp_complement.o
compiling 3rdparty/libtommath/bn_mp_copy.o
compiling 3rdparty/libtommath/bn_mp_count_bits.o
compiling 3rdparty/libtommath/bn_mp_decr.o
compiling 3rdparty/libtommath/bn_mp_div.o
compiling 3rdparty/libtommath/bn_mp_div_2.o
compiling 3rdparty/libtommath/bn_mp_div_2d.o
compiling 3rdparty/libtommath/bn_mp_div_3.o
compiling 3rdparty/libtommath/bn_mp_div_d.o
compiling 3rdparty/libtommath/bn_mp_dr_is_modulus.o
compiling 3rdparty/libtommath/bn_mp_dr_reduce.o
compiling 3rdparty/libtommath/bn_mp_dr_setup.o
compiling 3rdparty/libtommath/bn_mp_error_to_string.o
compiling 3rdparty/libtommath/bn_mp_exch.o
compiling 3rdparty/libtommath/bn_mp_expt_u32.o
compiling 3rdparty/libtommath/bn_mp_exptmod.o
compiling 3rdparty/libtommath/bn_mp_exteuclid.o
compiling 3rdparty/libtommath/bn_mp_fread.o
compiling 3rdparty/libtommath/bn_mp_from_sbin.o
compiling 3rdparty/libtommath/bn_mp_from_ubin.o
compiling 3rdparty/libtommath/bn_mp_fwrite.o
compiling 3rdparty/libtommath/bn_mp_gcd.o
compiling 3rdparty/libtommath/bn_mp_get_double.o
compiling 3rdparty/libtommath/bn_mp_get_i32.o
compiling 3rdparty/libtommath/bn_mp_get_i64.o
compiling 3rdparty/libtommath/bn_mp_get_l.o
compiling 3rdparty/libtommath/bn_mp_get_ll.o
compiling 3rdparty/libtommath/bn_mp_get_mag_u32.o
compiling 3rdparty/libtommath/bn_mp_get_mag_u64.o
compiling 3rdparty/libtommath/bn_mp_get_mag_ul.o
compiling 3rdparty/libtommath/bn_mp_get_mag_ull.o
compiling 3rdparty/libtommath/bn_mp_grow.o
compiling 3rdparty/libtommath/bn_mp_incr.o
compiling 3rdparty/libtommath/bn_mp_init.o
compiling 3rdparty/libtommath/bn_mp_init_copy.o
compiling 3rdparty/libtommath/bn_mp_init_i32.o
compiling 3rdparty/libtommath/bn_mp_init_i64.o
compiling 3rdparty/libtommath/bn_mp_init_l.o
compiling 3rdparty/libtommath/bn_mp_init_ll.o
compiling 3rdparty/libtommath/bn_mp_init_multi.o
compiling 3rdparty/libtommath/bn_mp_init_set.o
compiling 3rdparty/libtommath/bn_mp_init_size.o
compiling 3rdparty/libtommath/bn_mp_init_u32.o
compiling 3rdparty/libtommath/bn_mp_init_u64.o
compiling 3rdparty/libtommath/bn_mp_init_ul.o
compiling 3rdparty/libtommath/bn_mp_init_ull.o
compiling 3rdparty/libtommath/bn_mp_invmod.o
compiling 3rdparty/libtommath/bn_mp_is_square.o
compiling 3rdparty/libtommath/bn_mp_iseven.o
compiling 3rdparty/libtommath/bn_mp_isodd.o
compiling 3rdparty/libtommath/bn_mp_kronecker.o
compiling 3rdparty/libtommath/bn_mp_lcm.o
compiling 3rdparty/libtommath/bn_mp_log_u32.o
compiling 3rdparty/libtommath/bn_mp_lshd.o
compiling 3rdparty/libtommath/bn_mp_mod.o
compiling 3rdparty/libtommath/bn_mp_mod_2d.o
compiling 3rdparty/libtommath/bn_mp_mod_d.o
compiling 3rdparty/libtommath/bn_mp_montgomery_calc_normalization.o
compiling 3rdparty/libtommath/bn_mp_montgomery_reduce.o
compiling 3rdparty/libtommath/bn_mp_montgomery_setup.o
compiling 3rdparty/libtommath/bn_mp_mul.o
compiling 3rdparty/libtommath/bn_mp_mul_2.o
compiling 3rdparty/libtommath/bn_mp_mul_2d.o
compiling 3rdparty/libtommath/bn_mp_mul_d.o
compiling 3rdparty/libtommath/bn_mp_mulmod.o
compiling 3rdparty/libtommath/bn_mp_neg.o
compiling 3rdparty/libtommath/bn_mp_or.o
compiling 3rdparty/libtommath/bn_mp_pack.o
compiling 3rdparty/libtommath/bn_mp_pack_count.o
compiling 3rdparty/libtommath/bn_mp_prime_fermat.o
compiling 3rdparty/libtommath/bn_mp_prime_frobenius_underwood.o
compiling 3rdparty/libtommath/bn_mp_prime_is_prime.o
compiling 3rdparty/libtommath/bn_mp_prime_miller_rabin.o
compiling 3rdparty/libtommath/bn_mp_prime_next_prime.o
compiling 3rdparty/libtommath/bn_mp_prime_rabin_miller_trials.o
compiling 3rdparty/libtommath/bn_mp_prime_rand.o
compiling 3rdparty/libtommath/bn_mp_prime_strong_lucas_selfridge.o
compiling 3rdparty/libtommath/bn_mp_radix_size.o
compiling 3rdparty/libtommath/bn_mp_radix_smap.o
compiling 3rdparty/libtommath/bn_mp_rand.o
compiling 3rdparty/libtommath/bn_mp_read_radix.o
compiling 3rdparty/libtommath/bn_mp_reduce.o
compiling 3rdparty/libtommath/bn_mp_reduce_2k.o
compiling 3rdparty/libtommath/bn_mp_reduce_2k_l.o
compiling 3rdparty/libtommath/bn_mp_reduce_2k_setup.o
compiling 3rdparty/libtommath/bn_mp_reduce_2k_setup_l.o
compiling 3rdparty/libtommath/bn_mp_reduce_is_2k.o
compiling 3rdparty/libtommath/bn_mp_reduce_is_2k_l.o
compiling 3rdparty/libtommath/bn_mp_reduce_setup.o
compiling 3rdparty/libtommath/bn_mp_root_u32.o
compiling 3rdparty/libtommath/bn_mp_rshd.o
compiling 3rdparty/libtommath/bn_mp_sbin_size.o
compiling 3rdparty/libtommath/bn_mp_set.o
compiling 3rdparty/libtommath/bn_mp_set_double.o
compiling 3rdparty/libtommath/bn_mp_set_i32.o
compiling 3rdparty/libtommath/bn_mp_set_i64.o
compiling 3rdparty/libtommath/bn_mp_set_l.o
compiling 3rdparty/libtommath/bn_mp_set_ll.o
compiling 3rdparty/libtommath/bn_mp_set_u32.o
compiling 3rdparty/libtommath/bn_mp_set_u64.o
compiling 3rdparty/libtommath/bn_mp_set_ul.o
compiling 3rdparty/libtommath/bn_mp_set_ull.o
compiling 3rdparty/libtommath/bn_mp_shrink.o
compiling 3rdparty/libtommath/bn_mp_signed_rsh.o
compiling 3rdparty/libtommath/bn_mp_sqr.o
compiling 3rdparty/libtommath/bn_mp_sqrmod.o
compiling 3rdparty/libtommath/bn_mp_sqrt.o
compiling 3rdparty/libtommath/bn_mp_sqrtmod_prime.o
compiling 3rdparty/libtommath/bn_mp_sub.o
compiling 3rdparty/libtommath/bn_mp_sub_d.o
compiling 3rdparty/libtommath/bn_mp_submod.o
compiling 3rdparty/libtommath/bn_mp_to_radix.o
compiling 3rdparty/libtommath/bn_mp_to_sbin.o
compiling 3rdparty/libtommath/bn_mp_to_ubin.o
compiling 3rdparty/libtommath/bn_mp_ubin_size.o
compiling 3rdparty/libtommath/bn_mp_unpack.o
compiling 3rdparty/libtommath/bn_mp_xor.o
compiling 3rdparty/libtommath/bn_mp_zero.o
compiling 3rdparty/libtommath/bn_prime_tab.o
compiling 3rdparty/libtommath/bn_s_mp_add.o
compiling 3rdparty/libtommath/bn_s_mp_balance_mul.o
compiling 3rdparty/libtommath/bn_s_mp_exptmod.o
compiling 3rdparty/libtommath/bn_s_mp_exptmod_fast.o
compiling 3rdparty/libtommath/bn_s_mp_get_bit.o
compiling 3rdparty/libtommath/bn_s_mp_invmod_fast.o
compiling 3rdparty/libtommath/bn_s_mp_invmod_slow.o
compiling 3rdparty/libtommath/bn_s_mp_karatsuba_mul.o
compiling 3rdparty/libtommath/bn_s_mp_karatsuba_sqr.o
compiling 3rdparty/libtommath/bn_s_mp_montgomery_reduce_fast.o
compiling 3rdparty/libtommath/bn_s_mp_mul_digs.o
compiling 3rdparty/libtommath/bn_s_mp_mul_digs_fast.o
compiling 3rdparty/libtommath/bn_s_mp_mul_high_digs.o
compiling 3rdparty/libtommath/bn_s_mp_mul_high_digs_fast.o
compiling 3rdparty/libtommath/bn_s_mp_prime_is_divisible.o
compiling 3rdparty/libtommath/bn_s_mp_rand_jenkins.o
compiling 3rdparty/libtommath/bn_s_mp_rand_platform.o
compiling 3rdparty/libtommath/bn_s_mp_reverse.o
compiling 3rdparty/libtommath/bn_s_mp_sqr.o
compiling 3rdparty/libtommath/bn_s_mp_sqr_fast.o
compiling 3rdparty/libtommath/bn_s_mp_sub.o
compiling 3rdparty/libtommath/bn_s_mp_toom_mul.o
compiling 3rdparty/libtommath/bn_s_mp_toom_sqr.o
linking 3rdparty/libtommath/libtommath.a
compiling 3rdparty/libuv/src/unix/darwin.o
compiling 3rdparty/libuv/src/unix/darwin-proctitle.o
compiling 3rdparty/libuv/src/unix/fsevents.o
compiling 3rdparty/libuv/src/unix/kqueue.o
compiling 3rdparty/libuv/src/unix/proctitle.o
compiling 3rdparty/libuv/src/strscpy.o
compiling 3rdparty/libuv/src/strtok.o
compiling 3rdparty/libuv/src/fs-poll.o
compiling 3rdparty/libuv/src/inet.o
compiling 3rdparty/libuv/src/uv-common.o
compiling 3rdparty/libuv/src/version.o
compiling 3rdparty/libuv/src/timer.o
compiling 3rdparty/libuv/src/unix/async.o
compiling 3rdparty/libuv/src/unix/core.o
compiling 3rdparty/libuv/src/unix/dl.o
compiling 3rdparty/libuv/src/unix/fs.o
3rdparty/libuv/src/unix/fs.c:434:11: warning: implicit declaration of function 'preadv' is invalid in C99 [-Wimplicit-function-declaration]
      r = preadv(fd, bufs, nbufs, off);
          ^
3rdparty/libuv/src/unix/fs.c:1113:11: warning: implicit declaration of function 'pwritev' is invalid in C99 [-Wimplicit-function-declaration]
      r = pwritev(fd, bufs, nbufs, off);
          ^
2 warnings generated.
compiling 3rdparty/libuv/src/unix/getaddrinfo.o
compiling 3rdparty/libuv/src/unix/loop-watcher.o
compiling 3rdparty/libuv/src/unix/loop.o
compiling 3rdparty/libuv/src/unix/pipe.o
compiling 3rdparty/libuv/src/unix/poll.o
compiling 3rdparty/libuv/src/unix/process.o
compiling 3rdparty/libuv/src/unix/signal.o
compiling 3rdparty/libuv/src/unix/stream.o
compiling 3rdparty/libuv/src/unix/tcp.o
compiling 3rdparty/libuv/src/unix/thread.o
compiling 3rdparty/libuv/src/threadpool.o
compiling 3rdparty/libuv/src/unix/tty.o
compiling 3rdparty/libuv/src/unix/udp.o
linking 3rdparty/libuv/libuv.a
linking libmoar.dylib
Undefined symbols for architecture x86_64:
  "_preadv", referenced from:
      _uv__fs_work in libuv.a(fs.o)
  "_pwritev", referenced from:
      _uv__fs_work in libuv.a(fs.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [libmoar.dylib] Error 1
lizmat commented 8 months ago

This is strange. 10.3.6 (aka Panther) did not support any Intel hardware.

10.4.4 (Tiger) was the first to support Intel hardware.

https://en.wikipedia.org/wiki/Mac_transition_to_Intel_processors#:~:text=The%20first%2Dgeneration%20Intel%2Dbased,did%20not%20start%20until%20December.

So... maybe something in config assumes Intel when it shouldn't / can't ???

On 26 Nov 2023, at 15:46, habere-et-dispertire @.***> wrote:

Rakudo star build instructions are stellar. This is the first build to fail for me. If we no longer support 10.13.6, then that's okay. We should note it and perhaps fail with a more awesome error message upfront. Log linking libmoar.dylib Undefined symbols for architecture x86_64: "_preadv", referenced from: _uv__fs_work in libuv.a(fs.o) "_pwritev", referenced from: _uv__fs_work in libuv.a(fs.o) ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [libmoar.dylib] Error 1

Output of rstar sysinfo make make version 17.7.0 term xterm-256color key darwin os darwin arch x86_64

Full Output of Install Logs Welcome to MoarVM!

Configuring native build environment ................... trying to compile a simple C program ............... YES probing stdatomic .................................. NO did not find libzstd; will not use heap snapshot format version 3 Defaulting to libc malloc because was not found. OK

probing whether your compiler thinks that it is gcc YES probing how your compiler does static inline ....... static inline probing if your compiler offers thread local storage _Thread_local probing if your pow() handles NaN and Inf corner cases YES probing if your log() returns NaN for negative values YES probing if your log10() returns NaN for negative values YES probing if your asin() returns NaN for negative values YES probing if your acos() returns NaN for negative values YES probing if you have isnan .......................... YES probing if you have isinf .......................... YES probing if you have signbit ........................ YES your CPU can read unaligned values for all of int32 int64 num64 probing the size of pointers ....................... 8 probing C type support for booleans ................ _Bool probing computed goto support ...................... YES probing pthread_yield support ...................... NO probing pthread_setname_np support (optional) ...... NO probing existance of optional malloc_trim() ........ NO probing support of rdtscp intrinsic ................ NO

make: /usr/bin/make compile: clang -fno-omit-frame-pointer -fno-optimize-sibling-calls -Werror=vla -O3 -DNDEBUG -Wno-logical-op-parentheses -D_DARWIN_USE_64_BIT_INODE=1 -gdwarf-4 -DMVM_HEAPSNAPSHOT_FORMAT=2 -D_GNU_SOURCE includes: -I3rdparty/libuv/include -I3rdparty/libuv/src -I3rdparty/libatomicops/src -I3rdparty/libtommath -I3rdparty/dyncall/dynload -I3rdparty/dyncall/dyncall -I3rdparty/dyncall/dyncallback link: clang -O3 -DNDEBUG @.***_path/../lib libs: -lpthread

byte order: little endian

Checking perl5 modules ................................. OK Configuring 3rdparty libs .............................. OK

3rdparty: 3rdparty/cmp/libcmp.a 3rdparty/dyncall/dyncall/libdyncall_s.a 3rdparty/dyncall/dyncallback/libdyncallback_s.a 3rdparty/dyncall/dynload/libdynload_s.a 3rdparty/libatomicops/src/libatomic_ops.a 3rdparty/libtommath/libtommath.a 3rdparty/libuv/libuv.a 3rdparty/sha1/libsha1.a

Generating src/gen/config.c ............................ OK Generating src/gen/config.h ............................ OK Generating Makefile .................................... OK Generating tools/check.mk .............................. OK Generating build/mk-moar-pc.pl ......................... OK

Configuration SUCCESS.

Type '/usr/bin/make' to build and '/usr/bin/make help' to see a list of available make targets. compiling src/main.o compiling src/core/callsite.o compiling src/core/args.o compiling src/core/exceptions.o compiling src/core/interp.o compiling src/core/str_hash_table.o compiling src/core/fixkey_hash_table.o compiling src/core/index_hash_table.o compiling src/core/ptr_hash_table.o compiling src/core/uni_hash_table.o compiling src/core/threadcontext.o compiling src/core/compunit.o compiling src/core/bytecode.o compiling src/core/frame.o compiling src/core/callstack.o compiling src/core/validation.o compiling src/core/bytecodedump.o compiling src/core/threads.o compiling src/core/ops.o compiling src/core/hll.o compiling src/core/loadbytecode.o compiling src/core/coerce.o compiling src/core/dll.o compiling src/core/ext.o compiling src/core/nativecall.o compiling src/core/nativecall_dyncall.o compiling src/core/continuation.o compiling src/core/intcache.o compiling src/core/regionalloc.o compiling src/debug/debugserver.o compiling src/gen/config.o compiling src/gc/orchestrate.o compiling src/gc/allocation.o compiling src/gc/worklist.o compiling src/gc/roots.o compiling src/gc/collect.o compiling src/gc/gen2.o compiling src/gc/wb.o compiling src/gc/objectid.o compiling src/gc/finalize.o compiling src/gc/debug.o compiling src/io/io.o compiling src/io/eventloop.o compiling src/io/syncfile.o compiling src/io/syncsocket.o compiling src/io/fileops.o compiling src/io/dirops.o compiling src/io/procops.o compiling src/io/timers.o compiling src/io/filewatchers.o compiling src/io/signals.o compiling src/io/asyncsocket.o compiling src/io/asyncsocketudp.o compiling src/6model/reprs.o compiling src/6model/reprconv.o compiling src/6model/containers.o compiling src/6model/parametric.o compiling src/6model/reprs/MVMString.o compiling src/6model/reprs/VMArray.o compiling src/6model/reprs/MVMHash.o compiling src/6model/reprs/MVMCFunction.o compiling src/6model/reprs/KnowHOWREPR.o compiling src/6model/reprs/KnowHOWAttributeREPR.o compiling src/6model/reprs/P6str.o compiling src/6model/reprs/P6opaque.o compiling src/6model/reprs/MVMCode.o compiling src/6model/reprs/MVMOSHandle.o compiling src/6model/reprs/MVMCompUnit.o compiling src/6model/reprs/MVMStaticFrame.o compiling src/6model/reprs/P6int.o compiling src/6model/reprs/P6num.o compiling src/6model/reprs/Uninstantiable.o compiling src/6model/reprs/HashAttrStore.o compiling src/6model/reprs/MVMThread.o compiling src/6model/reprs/MVMIter.o compiling src/6model/reprs/MVMContext.o compiling src/6model/reprs/SCRef.o compiling src/6model/reprs/P6bigint.o compiling src/6model/reprs/NFA.o compiling src/6model/reprs/MVMException.o compiling src/6model/reprs/MVMDLLSym.o compiling src/6model/reprs/MVMContinuation.o compiling src/6model/reprs/NativeCall.o compiling src/6model/reprs/CPointer.o compiling src/6model/reprs/CStr.o compiling src/6model/reprs/CArray.o compiling src/6model/reprs/CStruct.o compiling src/6model/reprs/CUnion.o compiling src/6model/reprs/ReentrantMutex.o compiling src/6model/reprs/ConditionVariable.o compiling src/6model/reprs/Semaphore.o compiling src/6model/reprs/ConcBlockingQueue.o compiling src/6model/reprs/MVMAsyncTask.o compiling src/6model/reprs/MVMNull.o compiling src/6model/reprs/CPPStruct.o compiling src/6model/reprs/NativeRef.o src/6model/reprs/NativeRef.c:578:116: warning: format specifies type 'long' but the argument has type 'MVMint64' (aka 'long long') [-Wformat] MVM_exception_throw_adhoc(tc, "Attempting to MVM_nativeref_write_lex_i (%ld) to an unsigned variable", value);


%lld
src/6model/reprs/NativeRef.c:602:113: warning: format specifies type 'unsigned long' but the argument has type 'MVMuint64' (aka 'unsigned long long') [-Wformat]
MVM_exception_throw_adhoc(tc, "Attempting to MVM_nativeref_write_lex_u (%lu) to a signed variable", value);
~~~ ^~~~~
%llu
2 warnings generated.
compiling src/6model/reprs/MultiDimArray.o
compiling src/6model/reprs/Decoder.o
compiling src/6model/reprs/MVMSpeshLog.o
compiling src/6model/reprs/MVMStaticFrameSpesh.o
compiling src/6model/reprs/MVMCapture.o
compiling src/6model/reprs/MVMTracked.o
compiling src/6model/reprs/MVMStat.o
compiling src/6model/6model.o
compiling src/6model/bootstrap.o
compiling src/6model/sc.o
compiling src/6model/serialization.o
compiling src/disp/boot.o
compiling src/disp/registry.o
compiling src/disp/inline_cache.o
compiling src/disp/program.o
compiling src/disp/syscall.o
compiling src/disp/resume.o
compiling src/spesh/dump.o
compiling src/spesh/graph.o
compiling src/spesh/codegen.o
compiling src/spesh/manipulate.o
compiling src/spesh/args.o
compiling src/spesh/usages.o
compiling src/spesh/facts.o
compiling src/spesh/optimize.o
compiling src/spesh/dead_bb_elimination.o
compiling src/spesh/dead_ins_elimination.o
compiling src/spesh/deopt.o
compiling src/spesh/log.o
compiling src/spesh/threshold.o
compiling src/spesh/inline.o
compiling src/spesh/osr.o
compiling src/spesh/lookup.o
compiling src/spesh/iterator.o
compiling src/spesh/worker.o
compiling src/spesh/debug.o
compiling src/spesh/stats.o
compiling src/spesh/plan.o
compiling src/spesh/arg_guard.o
compiling src/spesh/frame_walker.o
compiling src/spesh/pea.o
compiling src/6model/reprs/MVMSpeshCandidate.o
compiling src/spesh/disp.o
compiling src/strings/decode_stream.o
compiling src/strings/ascii.o
compiling src/strings/parse_num.o
compiling src/strings/utf8.o
compiling src/strings/utf8_c8.o
compiling src/strings/nfg.o
compiling src/strings/ops.o
compiling src/strings/unicode.o
compiling src/strings/normalize.o
compiling src/strings/latin1.o
compiling src/strings/utf16.o
compiling src/strings/windows1252.o
compiling src/strings/shiftjis.o
compiling src/strings/gb2312.o
compiling src/strings/gb18030.o
compiling src/math/bigintops.o
compiling src/profiler/instrument.o
compiling src/profiler/log.o
compiling src/profiler/profile.o
compiling src/profiler/heapsnapshot.o
compiling src/profiler/telemeh.o
compiling src/profiler/configuration.o
compiling src/instrument/crossthreadwrite.o
compiling src/instrument/line_coverage.o
compiling src/platform/sys.o
compiling src/platform/random.o
compiling src/platform/memmem32.o
compiling 3rdparty/freebsd/memmem.o
compiling 3rdparty/ryu/ryu/d2s.o
compiling src/platform/malloc_trim.o
compiling src/moar.o
compiling src/platform/posix/mmap.o
compiling src/platform/posix/time.o
compiling src/platform/posix/io.o
compiling src/platform/posix/fork.o
compiling src/jit/graph.o
compiling src/jit/label.o
compiling src/jit/compile.o
compiling src/jit/dump.o
Precompiling templates from src/jit/core_templates.expr
compiling src/jit/expr.o
Building tile tables from src/jit/x64/tile_pattern.tile
compiling src/jit/tile.o
compiling src/jit/linear_scan.o
compiling src/jit/interface.o
clang 3rdparty/dynasm/minilua.c -lm -o 3rdparty/dynasm/minilua
preprocessing src/jit/x64/emit.dasc
compiling src/jit/x64/emit.o
compiling src/jit/x64/arch.o
compiling 3rdparty/cmp/cmp.o
linking 3rdparty/cmp/libcmp.a
building dyncall...
Configuration written to Makefile.config
done.
linking 3rdparty/libatomicops/src/libatomic_ops.a
checking build system type... x86_64-apple-darwin17.7.0
checking host system type... x86_64-apple-darwin17.7.0
checking target system type... x86_64-apple-darwin17.7.0
checking for a BSD-compatible install... /Users/XXX/.nix-profile/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /Users/XXX/.nix-profile/bin/mkdir -p
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether /usr/bin/make sets $(MAKE)... yes
checking whether /usr/bin/make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by /usr/bin/make ... GNU
checking for gcc... clang
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether clang accepts -g... yes
checking for clang option to accept ISO C89... none needed
checking whether clang understands -c and -o together... rm: cannot remove 'conftest.dSYM': Is a directory
yes
checking dependency style of clang... gcc3
checking dependency style of clang... gcc3
checking for ranlib... ranlib
checking how to run the C preprocessor... clang -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... rm: cannot remove 'conftest.dSYM': Is a directory
rm: cannot remove 'conftest.dSYM': Is a directory
yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for getpagesize... yes
checking for working mmap... yes
checking for PIC compiler flag... -fPIC
checking whether gcc -fPIC causes __PIC__ definition... yes
checking for gcc -Wextra... yes
checking for pthread_self in -lpthread... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating src/Makefile
config.status: creating src/config.h
config.status: executing depfiles commands
config.status: executing default commands
/Applications/Xcode.app/Contents/Developer/usr/bin/make all-am
clang -DHAVE_CONFIG_H -I../src -I../src -fPIC -Wall -Wextra -fno-omit-frame-pointer -fno-optimize-sibling-calls -Werror=vla -O3 -DNDEBUG -Wno-logical-op-parentheses -D_DARWIN_USE_64_BIT_INODE=1 -gdwarf-4 -DMVM_HEAPSNAPSHOT_FORMAT=2 -D_GNU_SOURCE -DMVM_TRACING=0 -DMVM_CGOTO=1 -MT atomic_ops.o -MD -MP -MF .deps/atomic_ops.Tpo -c -o atomic_ops.o atomic_ops.c
mv -f .deps/atomic_ops.Tpo .deps/atomic_ops.Po
rm -f libatomic_ops.a
ar cru libatomic_ops.a atomic_ops.o 
ranlib libatomic_ops.a
compiling 3rdparty/sha1/sha1.o
linking 3rdparty/sha1/libsha1.a
compiling 3rdparty/libtommath/bn_cutoffs.o
compiling 3rdparty/libtommath/bn_deprecated.o
compiling 3rdparty/libtommath/bn_mp_2expt.o
compiling 3rdparty/libtommath/bn_mp_abs.o
compiling 3rdparty/libtommath/bn_mp_add.o
compiling 3rdparty/libtommath/bn_mp_add_d.o
compiling 3rdparty/libtommath/bn_mp_addmod.o
compiling 3rdparty/libtommath/bn_mp_and.o
compiling 3rdparty/libtommath/bn_mp_clamp.o
compiling 3rdparty/libtommath/bn_mp_clear.o
compiling 3rdparty/libtommath/bn_mp_clear_multi.o
compiling 3rdparty/libtommath/bn_mp_cmp.o
compiling 3rdparty/libtommath/bn_mp_cmp_d.o
compiling 3rdparty/libtommath/bn_mp_cmp_mag.o
compiling 3rdparty/libtommath/bn_mp_cnt_lsb.o
compiling 3rdparty/libtommath/bn_mp_complement.o
compiling 3rdparty/libtommath/bn_mp_copy.o
compiling 3rdparty/libtommath/bn_mp_count_bits.o
compiling 3rdparty/libtommath/bn_mp_decr.o
compiling 3rdparty/libtommath/bn_mp_div.o
compiling 3rdparty/libtommath/bn_mp_div_2.o
compiling 3rdparty/libtommath/bn_mp_div_2d.o
compiling 3rdparty/libtommath/bn_mp_div_3.o
compiling 3rdparty/libtommath/bn_mp_div_d.o
compiling 3rdparty/libtommath/bn_mp_dr_is_modulus.o
compiling 3rdparty/libtommath/bn_mp_dr_reduce.o
compiling 3rdparty/libtommath/bn_mp_dr_setup.o
compiling 3rdparty/libtommath/bn_mp_error_to_string.o
compiling 3rdparty/libtommath/bn_mp_exch.o
compiling 3rdparty/libtommath/bn_mp_expt_u32.o
compiling 3rdparty/libtommath/bn_mp_exptmod.o
compiling 3rdparty/libtommath/bn_mp_exteuclid.o
compiling 3rdparty/libtommath/bn_mp_fread.o
compiling 3rdparty/libtommath/bn_mp_from_sbin.o
compiling 3rdparty/libtommath/bn_mp_from_ubin.o
compiling 3rdparty/libtommath/bn_mp_fwrite.o
compiling 3rdparty/libtommath/bn_mp_gcd.o
compiling 3rdparty/libtommath/bn_mp_get_double.o
compiling 3rdparty/libtommath/bn_mp_get_i32.o
compiling 3rdparty/libtommath/bn_mp_get_i64.o
compiling 3rdparty/libtommath/bn_mp_get_l.o
compiling 3rdparty/libtommath/bn_mp_get_ll.o
compiling 3rdparty/libtommath/bn_mp_get_mag_u32.o
compiling 3rdparty/libtommath/bn_mp_get_mag_u64.o
compiling 3rdparty/libtommath/bn_mp_get_mag_ul.o
compiling 3rdparty/libtommath/bn_mp_get_mag_ull.o
compiling 3rdparty/libtommath/bn_mp_grow.o
compiling 3rdparty/libtommath/bn_mp_incr.o
compiling 3rdparty/libtommath/bn_mp_init.o
compiling 3rdparty/libtommath/bn_mp_init_copy.o
compiling 3rdparty/libtommath/bn_mp_init_i32.o
compiling 3rdparty/libtommath/bn_mp_init_i64.o
compiling 3rdparty/libtommath/bn_mp_init_l.o
compiling 3rdparty/libtommath/bn_mp_init_ll.o
compiling 3rdparty/libtommath/bn_mp_init_multi.o
compiling 3rdparty/libtommath/bn_mp_init_set.o
compiling 3rdparty/libtommath/bn_mp_init_size.o
compiling 3rdparty/libtommath/bn_mp_init_u32.o
compiling 3rdparty/libtommath/bn_mp_init_u64.o
compiling 3rdparty/libtommath/bn_mp_init_ul.o
compiling 3rdparty/libtommath/bn_mp_init_ull.o
compiling 3rdparty/libtommath/bn_mp_invmod.o
compiling 3rdparty/libtommath/bn_mp_is_square.o
compiling 3rdparty/libtommath/bn_mp_iseven.o
compiling 3rdparty/libtommath/bn_mp_isodd.o
compiling 3rdparty/libtommath/bn_mp_kronecker.o
compiling 3rdparty/libtommath/bn_mp_lcm.o
compiling 3rdparty/libtommath/bn_mp_log_u32.o
compiling 3rdparty/libtommath/bn_mp_lshd.o
compiling 3rdparty/libtommath/bn_mp_mod.o
compiling 3rdparty/libtommath/bn_mp_mod_2d.o
compiling 3rdparty/libtommath/bn_mp_mod_d.o
compiling 3rdparty/libtommath/bn_mp_montgomery_calc_normalization.o
compiling 3rdparty/libtommath/bn_mp_montgomery_reduce.o
compiling 3rdparty/libtommath/bn_mp_montgomery_setup.o
compiling 3rdparty/libtommath/bn_mp_mul.o
compiling 3rdparty/libtommath/bn_mp_mul_2.o
compiling 3rdparty/libtommath/bn_mp_mul_2d.o
compiling 3rdparty/libtommath/bn_mp_mul_d.o
compiling 3rdparty/libtommath/bn_mp_mulmod.o
compiling 3rdparty/libtommath/bn_mp_neg.o
compiling 3rdparty/libtommath/bn_mp_or.o
compiling 3rdparty/libtommath/bn_mp_pack.o
compiling 3rdparty/libtommath/bn_mp_pack_count.o
compiling 3rdparty/libtommath/bn_mp_prime_fermat.o
compiling 3rdparty/libtommath/bn_mp_prime_frobenius_underwood.o
compiling 3rdparty/libtommath/bn_mp_prime_is_prime.o
compiling 3rdparty/libtommath/bn_mp_prime_miller_rabin.o
compiling 3rdparty/libtommath/bn_mp_prime_next_prime.o
compiling 3rdparty/libtommath/bn_mp_prime_rabin_miller_trials.o
compiling 3rdparty/libtommath/bn_mp_prime_rand.o
compiling 3rdparty/libtommath/bn_mp_prime_strong_lucas_selfridge.o
compiling 3rdparty/libtommath/bn_mp_radix_size.o
compiling 3rdparty/libtommath/bn_mp_radix_smap.o
compiling 3rdparty/libtommath/bn_mp_rand.o
compiling 3rdparty/libtommath/bn_mp_read_radix.o
compiling 3rdparty/libtommath/bn_mp_reduce.o
compiling 3rdparty/libtommath/bn_mp_reduce_2k.o
compiling 3rdparty/libtommath/bn_mp_reduce_2k_l.o
compiling 3rdparty/libtommath/bn_mp_reduce_2k_setup.o
compiling 3rdparty/libtommath/bn_mp_reduce_2k_setup_l.o
compiling 3rdparty/libtommath/bn_mp_reduce_is_2k.o
compiling 3rdparty/libtommath/bn_mp_reduce_is_2k_l.o
compiling 3rdparty/libtommath/bn_mp_reduce_setup.o
compiling 3rdparty/libtommath/bn_mp_root_u32.o
compiling 3rdparty/libtommath/bn_mp_rshd.o
compiling 3rdparty/libtommath/bn_mp_sbin_size.o
compiling 3rdparty/libtommath/bn_mp_set.o
compiling 3rdparty/libtommath/bn_mp_set_double.o
compiling 3rdparty/libtommath/bn_mp_set_i32.o
compiling 3rdparty/libtommath/bn_mp_set_i64.o
compiling 3rdparty/libtommath/bn_mp_set_l.o
compiling 3rdparty/libtommath/bn_mp_set_ll.o
compiling 3rdparty/libtommath/bn_mp_set_u32.o
compiling 3rdparty/libtommath/bn_mp_set_u64.o
compiling 3rdparty/libtommath/bn_mp_set_ul.o
compiling 3rdparty/libtommath/bn_mp_set_ull.o
compiling 3rdparty/libtommath/bn_mp_shrink.o
compiling 3rdparty/libtommath/bn_mp_signed_rsh.o
compiling 3rdparty/libtommath/bn_mp_sqr.o
compiling 3rdparty/libtommath/bn_mp_sqrmod.o
compiling 3rdparty/libtommath/bn_mp_sqrt.o
compiling 3rdparty/libtommath/bn_mp_sqrtmod_prime.o
compiling 3rdparty/libtommath/bn_mp_sub.o
compiling 3rdparty/libtommath/bn_mp_sub_d.o
compiling 3rdparty/libtommath/bn_mp_submod.o
compiling 3rdparty/libtommath/bn_mp_to_radix.o
compiling 3rdparty/libtommath/bn_mp_to_sbin.o
compiling 3rdparty/libtommath/bn_mp_to_ubin.o
compiling 3rdparty/libtommath/bn_mp_ubin_size.o
compiling 3rdparty/libtommath/bn_mp_unpack.o
compiling 3rdparty/libtommath/bn_mp_xor.o
compiling 3rdparty/libtommath/bn_mp_zero.o
compiling 3rdparty/libtommath/bn_prime_tab.o
compiling 3rdparty/libtommath/bn_s_mp_add.o
compiling 3rdparty/libtommath/bn_s_mp_balance_mul.o
compiling 3rdparty/libtommath/bn_s_mp_exptmod.o
compiling 3rdparty/libtommath/bn_s_mp_exptmod_fast.o
compiling 3rdparty/libtommath/bn_s_mp_get_bit.o
compiling 3rdparty/libtommath/bn_s_mp_invmod_fast.o
compiling 3rdparty/libtommath/bn_s_mp_invmod_slow.o
compiling 3rdparty/libtommath/bn_s_mp_karatsuba_mul.o
compiling 3rdparty/libtommath/bn_s_mp_karatsuba_sqr.o
compiling 3rdparty/libtommath/bn_s_mp_montgomery_reduce_fast.o
compiling 3rdparty/libtommath/bn_s_mp_mul_digs.o
compiling 3rdparty/libtommath/bn_s_mp_mul_digs_fast.o
compiling 3rdparty/libtommath/bn_s_mp_mul_high_digs.o
compiling 3rdparty/libtommath/bn_s_mp_mul_high_digs_fast.o
compiling 3rdparty/libtommath/bn_s_mp_prime_is_divisible.o
compiling 3rdparty/libtommath/bn_s_mp_rand_jenkins.o
compiling 3rdparty/libtommath/bn_s_mp_rand_platform.o
compiling 3rdparty/libtommath/bn_s_mp_reverse.o
compiling 3rdparty/libtommath/bn_s_mp_sqr.o
compiling 3rdparty/libtommath/bn_s_mp_sqr_fast.o
compiling 3rdparty/libtommath/bn_s_mp_sub.o
compiling 3rdparty/libtommath/bn_s_mp_toom_mul.o
compiling 3rdparty/libtommath/bn_s_mp_toom_sqr.o
linking 3rdparty/libtommath/libtommath.a
compiling 3rdparty/libuv/src/unix/darwin.o
compiling 3rdparty/libuv/src/unix/darwin-proctitle.o
compiling 3rdparty/libuv/src/unix/fsevents.o
compiling 3rdparty/libuv/src/unix/kqueue.o
compiling 3rdparty/libuv/src/unix/proctitle.o
compiling 3rdparty/libuv/src/strscpy.o
compiling 3rdparty/libuv/src/strtok.o
compiling 3rdparty/libuv/src/fs-poll.o
compiling 3rdparty/libuv/src/inet.o
compiling 3rdparty/libuv/src/uv-common.o
compiling 3rdparty/libuv/src/version.o
compiling 3rdparty/libuv/src/timer.o
compiling 3rdparty/libuv/src/unix/async.o
compiling 3rdparty/libuv/src/unix/core.o
compiling 3rdparty/libuv/src/unix/dl.o
compiling 3rdparty/libuv/src/unix/fs.o
3rdparty/libuv/src/unix/fs.c:434:11: warning: implicit declaration of function 'preadv' is invalid in C99 [-Wimplicit-function-declaration]
r = preadv(fd, bufs, nbufs, off);
^
3rdparty/libuv/src/unix/fs.c:1113:11: warning: implicit declaration of function 'pwritev' is invalid in C99 [-Wimplicit-function-declaration]
r = pwritev(fd, bufs, nbufs, off);
^
2 warnings generated.
compiling 3rdparty/libuv/src/unix/getaddrinfo.o
compiling 3rdparty/libuv/src/unix/loop-watcher.o
compiling 3rdparty/libuv/src/unix/loop.o
compiling 3rdparty/libuv/src/unix/pipe.o
compiling 3rdparty/libuv/src/unix/poll.o
compiling 3rdparty/libuv/src/unix/process.o
compiling 3rdparty/libuv/src/unix/signal.o
compiling 3rdparty/libuv/src/unix/stream.o
compiling 3rdparty/libuv/src/unix/tcp.o
compiling 3rdparty/libuv/src/unix/thread.o
compiling 3rdparty/libuv/src/threadpool.o
compiling 3rdparty/libuv/src/unix/tty.o
compiling 3rdparty/libuv/src/unix/udp.o
linking 3rdparty/libuv/libuv.a
linking libmoar.dylib
Undefined symbols for architecture x86_64:
"_preadv", referenced from:
_uv__fs_work in libuv.a(fs.o)
"_pwritev", referenced from:
_uv__fs_work in libuv.a(fs.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [libmoar.dylib] Error 1

—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
AntonOks commented 8 months ago

@habere-et-dispertire

As the "Rakudo Star release build" is doing nothing special but just the same thing as the Rakudo build itself, see

  1. Windows build, see https://github.com/rakudo/star/blob/da836614ade03b4c209edb4c0f53ca93f86136ff/tools/build/binary-release/Windows/build-with-choco.ps1#L97
  2. RSTAR tool build, see https://github.com/rakudo/star/blob/da836614ade03b4c209edb4c0f53ca93f86136ff/lib/actions/install.bash#L214

I strongly assume, you cannot build Rakudo itself.

It would be great if you could try to build the similar Rakudo 2023.11 release to verify if you get exactly the same error.

habere-et-dispertire commented 8 months ago

Yes -- I get the exact same error -- thanks. I'll try revert to 2023.10.

Edit: reverting worked.