github jart/cosmopolitan 3.2.3
Cosmopolitan v3.2.3

latest releases: 3.9.4, 3.9.3, 3.9.2...
10 months ago

This release introduces two new features:

  • b3fb6cf Add /dev/fd support to Windows
  • ce17ed6 Support -MF and -MT in cosmocc

Your cosmo_dlsym() function now returns the raw symbols. You need to
update your code to call cosmo_dltramp() on the result, otherwise it
will crash on Windows. Better yet, just use __ms_abi__ if you can.

  • 5e71370 Make breaking change to cosmo_dlsym()

The following fixes have been implemented:

  • 5ae2554 Have cosmo_dlopen() request -z execstack on Linux
  • aa37a32 Make $prog.ape more reliable on Apple Silicon (#1071)
  • 390335e apeinstall/uninstall.sh can use doas (#1062)
  • d27a47b Bugfix: ape --help should exit 0 (#1060)

Known Issues

APE Loader has a backwards compatibility regression right now. If you
run ape/apeinstall.sh on Linux then, due to a new binfmt_misc feature,
many old APE binaries that need to load zip assets will refuse to run. You
can fix that on Linux x64 for example by running:

ape/apeuninstall.sh
make -j8 o//ape
sudo mv o//ape/ape.elf /usr/bin/ape
sudo sh -c "echo ':APE:M::MZqFpD::/usr/bin/ape:' >/proc/sys/fs/binfmt_misc/register"
sudo sh -c "echo ':APE-jart:M::jartsr::/usr/bin/ape:' >/proc/sys/fs/binfmt_misc/register"

This will be solved by the next release, to ensure that only modern
APE binaries can use Linux's new P feature. APE is after all designed
to stand the test of time. The intent is to support every APE executable
created since the beginning of the project.

Don't miss a new cosmopolitan release

NewReleases is sending notifications on new releases.