Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WZMtc-0006GO-Td for pgsql-bugs@arkaria.postgresql.org; Sun, 13 Apr 2014 16:04:41 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WZMtc-0006QE-4Q for pgsql-bugs@arkaria.postgresql.org; Sun, 13 Apr 2014 16:04:40 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WZMtb-0006Q8-7c for pgsql-bugs@postgresql.org; Sun, 13 Apr 2014 16:04:39 +0000 Received: from [2600:3c02::f03c:91ff:fe70:c491] (helo=apinaye.timbira.com.br) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WZMtX-0002Z1-N9 for pgsql-bugs@postgresql.org; Sun, 13 Apr 2014 16:04:38 +0000 Received: by apinaye.timbira.com.br (Postfix, from userid 110) id 9808B11CE1; Sun, 13 Apr 2014 13:04:34 -0300 (BRT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on apinaye X-Spam-Level: X-Spam-Status: No, score=-102.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, USER_IN_WHITELIST autolearn=unavailable version=3.3.1 Received: from [10.3.2.13] (unknown [200.103.87.53]) by apinaye.timbira.com.br (Postfix) with ESMTPSA id AFC2F11CC8; Sun, 13 Apr 2014 13:04:20 -0300 (BRT) Message-ID: <534AB57F.9000907@timbira.com.br> Date: Sun, 13 Apr 2014 13:04:15 -0300 From: Euler Taveira Organization: Timbira User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Icedove/24.4.0 MIME-Version: 1.0 To: John Mudd , pgsql-bugs@postgresql.org Subject: Re: Debug strategy for musl Postgres? References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Host-Lookup-Failed: Reverse DNS lookup failed for 2600:3c02::f03c:91ff:fe70:c491 (failed) X-Pg-Spam-Score: 0.8 (/) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org 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