Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1giWu4-0006V6-Nj for pgsql-general@arkaria.postgresql.org; Sun, 13 Jan 2019 03:57:40 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1giWu1-0003po-Dz for pgsql-general@arkaria.postgresql.org; Sun, 13 Jan 2019 03:57:37 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1giWu0-0003ph-Kq for pgsql-general@lists.postgresql.org; Sun, 13 Jan 2019 03:57:37 +0000 Received: from sender-of-o51.zoho.com ([135.84.80.216]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1giWtt-0006rA-Ec for pgsql-general@lists.postgresql.org; Sun, 13 Jan 2019 03:57:35 +0000 ARC-Seal: i=1; a=rsa-sha256; t=1547351843; cv=none; d=zoho.com; s=zohoarc; b=cHd5anVdS+3ivXeAtquUtiUi96jVUPX3DV9G38LsKvSgvqsr0uIKBFC6re4PypuiB3lONlCD+dHKMR43nq+3Y1bGyBXgmh0qRjsua52ivqZvcflvkf6XVr/BW87uuIwte24Vt/v381Ml578HtJo/o6nCR5nlY4pKtBPi1VdKe1g= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1547351843; h=Content-Type:Content-Transfer-Encoding:Date:From:MIME-Version:Message-ID:Subject:To:ARC-Authentication-Results; bh=FGq9kHSsvDK104Olhent6b/OMn0uSga8n9GSsO9IiIU=; b=QDKCUHuPw9k2guL+xV9krFS3U52oy+DFyoh5Ihw/W3Vh4iPjtdmQ5HrzV0i8bTzBXAisPA0CcR3ityCfn2jNGHLpUkm6Fxi+1MEPub4KME/QgcRurRxi6U32Ydk6dXG9NT3fmRZ6OCW4bQg8tpziLXRcW+6se0Eq8AU0YtA3VPM= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass header.i=zv.io; spf=pass smtp.mailfrom=me@zv.io; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1547351843; s=zoho; d=zv.io; i=me@zv.io; h=Message-ID:Subject:From:To:Date:Content-Type:Mime-Version:Content-Transfer-Encoding; l=4028; bh=FGq9kHSsvDK104Olhent6b/OMn0uSga8n9GSsO9IiIU=; b=RUkReX4OErUa1ntu0tqIfWxZd/L5N79sAwOceiLq2TXz9niWY6DviOKfJJ0znVrp liDkz4qRqVC/bRGlc55zTgwZsIGG/ltqip4teXOuBxjlW2JzURmfqtAtGiGLkQZ6gnH VT5q0AtLFZVWEJzPfIDIgEqNnqL4I2aE3Fe4syFI= Received: from lighthouse (c-69-139-81-7.hsd1.pa.comcast.net [69.139.81.7]) by mx.zohomail.com with SMTPS id 1547351841442913.7339408878814; Sat, 12 Jan 2019 19:57:21 -0800 (PST) Message-ID: <1547351839.4002.17.camel@zv.io> Subject: Static PostgreSQL Binaries (Linux + Windows) From: Zach van Rijn To: pgsql-general@lists.postgresql.org Date: Sat, 12 Jan 2019 22:57:19 -0500 Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.22.6-1+deb9u1 Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi all, I've been busy porting popular open-source software to various platforms (Linux + Windows) via musl- and/or MinGW- based tools, as part of a project (and future distro?) called 'xstatic' [1]. All packages are statically linked and have zero dependencies, they can be easily reproduced and audited, they are best suited for use in environments where software must behave consistently, and may have additional performance / safety benefits. I am pleased to announce the immediate availability of binaries (and source code / build scripts) for the following releases: release date location ------- ---------- ------------------------------------------ latest n/a https://xstatic.musl.cc/postgresql/ 11.1 2018-11-08 https://xstatic.musl.cc/postgresql-11.1/ 10.6 2018-11-08 https://xstatic.musl.cc/postgresql-10.6/ 9.6.11 2018-11-08 https://xstatic.musl.cc/postgresql-9.6.11/ 9.5.15 2018-11-08 https://xstatic.musl.cc/postgresql-9.5.15/ 9.4.20 2018-11-08 https://xstatic.musl.cc/postgresql-9.4.20/ 9.3.25 2018-11-08 https://xstatic.musl.cc/postgresql-9.3.25/ Within each top-level directory, you will find pertaining to an architecture/ABI combination such as 'riscv32-linux-musl' (this is the target platform where binaries should run), either: (1) Directory tree (browse / download individual binaries); or e.g., https://xstatic.musl.cc/postgresql/riscv32-linux-musl/ (2) Tarball containing the above contents, with a sha512sum that is verifiable against '//SHA512SUMS'. Just extract and run (or build/link your own software against libraries). PostgreSQL has been built for the following platforms, however, not all platforms have been tested (please feel free to help): =C2=A0 * aarch64-linux-musleabi =C2=A0 * aarch64_be-linux-musl =C2=A0 * arm-linux-musleabi =C2=A0 * arm-linux-musleabihf =C2=A0 * armeb-linux-musleabi =C2=A0 * armeb-linux-musleabihf =C2=A0 * armel-linux-musleabi =C2=A0 * armel-linux-musleabihf =C2=A0 * armv5l-linux-musleabihf =C2=A0 * armv7l-linux-musleabihf =C2=A0 * armv7m-linux-musleabi =C2=A0 * armv7r-linux-musleabihf =C2=A0 * i486-linux-musl =C2=A0 * i686-linux-musl =C2=A0 * i686-w64-mingw32 =C2=A0 * m68k-linux-musl =C2=A0 * microblaze-linux-musl =C2=A0 * microblazeel-linux-musl =C2=A0 * mips-linux-musl =C2=A0 * mips-linux-musln32sf =C2=A0 * mips-linux-muslsf =C2=A0 * mips64-linux-musl =C2=A0 * mips64-linux-musln32 =C2=A0 * mips64-linux-musln32sf =C2=A0 * mips64el-linux-musl =C2=A0 * mips64el-linux-musln32 =C2=A0 * mips64el-linux-musln32sf =C2=A0 * mipsel-linux-musl =C2=A0 * mipsel-linux-musln32 =C2=A0 * mipsel-linux-musln32sf =C2=A0 * mipsel-linux-muslsf =C2=A0 * or1k-linux-musl =C2=A0 * powerpc-linux-musl =C2=A0 * powerpc-linux-muslsf =C2=A0 * powerpc64-linux-musl =C2=A0 * powerpc64le-linux-musl =C2=A0 * powerpcle-linux-musl =C2=A0 * powerpcle-linux-muslsf =C2=A0 * riscv32-linux-musl =C2=A0 * riscv64-linux-musl =C2=A0 * s390x-linux-musl =C2=A0 * sh2-linux-musl =C2=A0 * sh2-linux-muslfdpic =C2=A0 * sh2eb-linux-musl =C2=A0 * sh2eb-linux-muslfdpic =C2=A0 * sh4-linux-musl =C2=A0 * sh4eb-linux-musl =C2=A0 * x86_64-linux-musl =C2=A0 * x86_64-linux-muslx32 =C2=A0 * x86_64-w64-mingw32 Quickly testing on Ubuntu 14.04 LTS (GNU/Linux 3.4.98 armv7l): $ file ./armv7l-linux-musleabihf/bin/psql=C2=A0 psql: ELF 32-bit LSB=C2=A0=C2=A0executable, ARM, EABI5 version 1 (SYSV), statically linked, stripped $ ./armv7l-linux-musleabihf/bin/psql --version psql (PostgreSQL) 11.1 $ ./armv7l-linux-musleabihf/bin/psql \ -h pellefant.db.elephantsql.com \ -U abcdefgh Password: psql (11.1, server 9.5.2) Type "help" for help. abcdefgh=3D> The directory listing looks something like: http://ix.io/1yaV That said, if you find bugs or encounter issues, please file a bug report here [2]. Windows support may need tweaking. Regards, ZV [1]: https://xstatic.musl.cc/ [2]: https://git.zv.io/xstatic/builder/issues