From: Euler Taveira <euler@timbira.com.br>
To: John Mudd <johnbmudd@gmail.com>
To: pgsql-bugs@postgresql.org
Subject: Re: Debug strategy for musl Postgres?
Date: Sun, 13 Apr 2014 13:04:15 -0300
Message-ID: <534AB57F.9000907@timbira.com.br> (raw)
In-Reply-To: <CAGDMk9FNs8GBW82nOn0L9V-m-LmuUQoQYStdT+Aj3K5TsL7rQg@mail.gmail.com>
References: <CAGDMk9FNs8GBW82nOn0L9V-m-LmuUQoQYStdT+Aj3K5TsL7rQg@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
On 13-04-2014 00:40, John Mudd wrote:
> I built Postgres 9.3.4 from source on top of the musl C library,
> http://www.musl-libc.org/
> I also built zlib, bzip2, ncurses, openssl, readline and Python using musl
> as a foundation for Postgres.
>
This is not a bug. This kind of discussion belongs to -hackers.
While reading this email, I give musl a try. I'm using Debian jessie
which contains musl 1.0.0. I compiled the source (git master) using
CC="musl-gcc" and disabled zlib and readline. It passed all regression
tests. I also tried a pgbench which ran like a charm. (After installed
the binaries I had to set the libray path for musl in
/etc/ld-musl-x86_64.d.)
> I'm using musl to increase the portability of the Postgres binary. I build
> on Ubuntu 13.10 but will runs on older Linux boxes.
>
Could you give details about your architecture?
> For my next step I'll try building musl Postgres with the --enable-cassert
> option. What else can I do to debug this?
>
Is postgres running and listening 5432? Did you try another binaries
(eg. psql) or even postgres in single mode?
--
Euler Taveira Timbira - http://www.timbira.com.br/
PostgreSQL: Consultoria, Desenvolvimento, Suporte 24x7 e Treinamento
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: euler@timbira.com.br, johnbmudd@gmail.com
Subject: Re: Debug strategy for musl Postgres?
In-Reply-To: <534AB57F.9000907@timbira.com.br>
References: <CAGDMk9FNs8GBW82nOn0L9V-m-LmuUQoQYStdT+Aj3K5TsL7rQg@mail.gmail.com> <534AB57F.9000907@timbira.com.br>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox