<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">I was able to compile Python 3.14 just now. It took some finagling.<div><br></div><div>I’ve added a patch for getting process memory usage.</div><div><br></div><div>I created a hammer2 pfs at /opt/python3.14 as my experimental bed (hammer2 pfs-create opt.python3.14 && mkdir /opt/python3.14 && mount @opt.python3.14 /opt/python3.14)</div><div><br></div><div>Steps:</div><div><br></div><div>- pkg install gcc14</div><div>- git clone -b 3.14 <a href="https://github.com/python/cpython.git">https://github.com/python/cpython.git</a></div><div>- cd cpython</div><div>- apply the attached patch (or not lol)</div><div>- env \</div><div> PATH=$PATH \</div><div> CC=gcc14 \</div><div> CXX=c++14 \</div><div> CPP=cpp14 \</div><div> LDFLAGS='-L/usr/local/lib' \</div><div> CPPFLAGS='-I/usr/local/include' \</div><div> LIBS='-lkvm -lintl' \</div><div> ./configure \</div><div> --prefix=/opt/python3.14 \</div><div> --sysconfdir /usr/local/etc \</div><div> --localstatedir /var \</div><div> --with-ensurepip=no \</div><div> --disable-gil \</div><div> --with-strict-overflow \</div><div> --enable-shared \</div><div> --enable-safety \</div><div> --enable-big-digits=30 \</div><div> --with-remote-debug \</div><div> --with-openssl-rpath=auto \</div><div> --with-hash-algorithm=siphash24 \</div><div> --with-mimalloc \</div><div> --with-computed-gotos \</div><div> --enable-pystats \</div><div> --enable-loadable-sqlite-extensions \</div><div> --with-builtin-hashlib-hashes=md5,sha1,sha2,sha3,blake2</div><div>- make</div><div>- sudo -H make install</div><div>- echo '/opt/python3.14/lib' | sudo tee /usr/local/libdata/ldconfig/python3.14</div><div><br></div><div><br></div><div>Issues:</div><div>- had to add `-lkvm` to LIBS which in turn forced `-lintl` to be added to LIBS or else it would fail to add libintl into the modules</div><div>- had to add `-L/usr/local/lib` for `-lkvm` to work</div><div>- the tests have some failures</div><div>- the build flag `—enable-optimizations` requires the tests to pass</div><div>- building with gcc15 doesn’t work, nor does llvm18</div><div><br></div><div>I would have liked to do this on dragonfly/master instead of dragonfly/6_4_RELEASE but the latest kernel doesn’t seem to recognize disklabels for MBR formatted SATA drives.</div><div><br></div><div>Autumn</div><div><br></div><div><br></div><div></div></body></html>