-
-
Notifications
You must be signed in to change notification settings - Fork 727
Description
Contact Details
No response
What happened?
When trying to build cosmopolitan-4.0.2 on a version of OSX x86_64 the build process stop with the message shown bellow.
bash-3.2$ uname -a
Darwin Domingos-Mac-mini.local 17.7.0 Darwin Kernel Version 17.7.0: Fri Oct 30 13:34:27 PDT 2020; root:xnu-4570.71.82.8~1/RELEASE_X86_64 x86_64
Version
./cosmocc --version
cosmocc (GCC) 14.1.0
Copyright (c) 2024 Justine Alexandra Roberts Tunney
Cosmopolitan Libc and LLVM libcxx/compiler-rt are subject to non-GPL
notice licenses, e.g. ISC, MIT, etc. Your compiled programs must embed
our copyright notices. This toolchain is configured to do so by default.
Cosmopolitan comes with absolutely NO WARRANTY of any kind.
For more information, see the Cosmopolitan LICENSE files.
Copyright (C) 2022 Free Software Foundation, Inc.
This launches GNU GCC/Binutils subprocesses, which is free software; see
cosmocc's LICENSE files for source code and copying conditions. There is
NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
What operating system are you seeing the problem on?
Mac
Relevant log output
make
third_party/nsync/mu_semaphore_futex.c:72: unassert(futex_result == 0 || futex_result == EINTR || futex_result == EAGAIN || futex_result == ECANCELED || futex_result == EAGAIN) failed (cosmoaddr2line /Users/mingo/dev/cosmopolitan-4.0.2/o//test/ctl/mutex_test.dbg 418779 418670 417f1b 418039 423c89 423ff6 40da35 40ddc5 4145c5 0)
third_party/nsync/mu_semaphore_futex.c:72: unassert(futex_result == 0 || futex_result == EINTR || futex_result == EAGAIN || futex_result == ECANCELED || futex_result == EAGAIN) failed (cosmoaddr2line /Users/mingo/dev/cosmopolitan-4.0.2/o//test/ctl/mutex_test.dbg 418779 418670 417f1b 418039 423c89 423ff6 40da35 40ddc5 4145c5 0)
third_party/nsync/mu_semaphore_futex.c:72: unassert(futex_result == 0 || futex_result == EINTR || futex_result == EAGAIN || futex_result == ECANCELED || futex_result == EAGAIN) failed (cosmoaddr2line /Users/mingo/dev/cosmopolitan-4.0.2/o//test/ctl/mutex_test.dbg 418779 418670 417f1b 418039 423c89 423ff6 40da35 40ddc5 4145c5 0)
`make MODE= -j4 o//test/ctl/mutex_test.runs` terminated by SIGILL:
env -i MODE= TERM=xterm-256color MAKEFLAGS=r TMPDIR=o/tmp PATH=/Users/mingo/perl5/bin:/opt/iOSOpenDev/bin:/Users/mingo/local/luajit/bin:/Users/mingo/local/nginx/sbin:/Users/mingo/.nimble/bin:/Users/mingo/bin:/Users/mingo/local/bin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Users/mingo/Library/Python/2.7/bin:/Applications/Cmpl/:/Applications/Cmpl/pyCmpl/scripts/Unix PWD=/Users/mingo/dev/cosmopolitan-4.0.2 HOME=/Users/mingo ADDR2LINE=/Users/mingo/dev/cosmopolitan-4.0.2/.cosmocc/3.9.2/bin/x86_64-linux-cosmo-addr2line LC_ALL=C SOURCE_DATE_EPOCH=0 o//test/ctl/mutex_test
consumed 23,796µs wall time
ballooned to 276kb in size
needed 2,548us cpu (81% kernel)
caused 128 page faults (55% memcpy)
40 context switches (5% consensual)
make: *** [build/rules.mk:133: o//test/ctl/mutex_test.runs] Error 132