Cosmopolitan v3.0.2
Features
- Introduce
getifaddrs()
024be3b - Introduce very primitive
dlopen()
support 5e8c928 - Make it possible to use APE Loader on Apple Silicon systems with SIP enabled a12ad17
Bug Fixes
- Fix APE Loader CRT bugs which caused crashes for MacOS x86-64 users (#931)
- Fix
getcwd()
on Windows which was causing weirdness withbash
1eb6484 - Embed GNU TLS in Cosmos Emacs so
M-x package-list-packages
will work on Windows - Use
/usr/local/bin/ape
(instead of/usr/bin/ape
) on Apple Silicon for systemwide APE. - Add database and statement readonly checks to sqlite in redbean (#914)
- Make WIN32 i/o signals more atomic and
longjmp()
safe d7917ea - Support
\n
in/zip/.args
files 585c86e - Make
cosmocc -dumpmachine
work
Upgrade Notes
If you've used ape-install
or ape/ape-install.sh
in the past (to install the system-wide APE Loader) then you need to run it again so that your system can use APE Loader v1.9. This new release of APE Loader fixes bugs. Apple M1 systems need it to run the APE binaries in this release..It's also backwards compatible with all APE and static ELF binaries ever made with Cosmo. Any of your own programs which you've compiled before on Apple Silicon which use execve()
may need to be recompiled in order to run the latest APE executables unless you've installed a system-wide APE Loader.
It's recommended that cosmocc
users run:
cd /opt/cosmo
rm -rf o/third_party/gcc
unzip -vl cosmocc-0.0.18.zip
To get the latest build of Cosmopolitan's toolchain.