delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/01/25/22:37:42

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <3C5223D8.E12E01B@postgresql.org>
Date: Sat, 26 Jan 2002 14:34:48 +1100
From: Justin Clift <justin AT postgresql DOT org>
X-Mailer: Mozilla 4.78 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Cygwin Mailing List <cygwin AT cygwin DOT com>
CC: Tom Lane <tgl AT sss DOT pgh DOT pa DOT us>, Frank Joerdens <frank AT joerdens DOT de>
Subject: Need a customised version of PostgreSQL 7.1.3 on cygwin

Hi guys,

We're looking into a problem with PostgreSQL 7.1.3 on a recent version
of Cygwin.

We have a problem in that its really, really hard (aka impossible) to
figure out what's going wrong in our code because there are no debugging
symbols present with the Cygwin build of PostgreSQL (which is correct).

Our problem is we need a version of PostgreSQL 7.1.3 compiled *with* the
debugging symbols, inside Cygwin.

I don't know if it's an easy task to do, but I figure it's worth asking
and find out, so here goes...

Would it be possible for someone to do a re-compile of PostgreSQL 7.1.3
for Cygwin, specifically with the debugging symbols enabled, and have it
in some kind of form so users who have a problem with PostgreSQL on
cygwin can put the debugging-enabled version on their system and follow
our instructions?

Hoping for a positive here.

:-)

Regards and best wishes,

Justin Clift


-------- Original Message --------
Subject: Re: [GENERAL] Problems with initdb on Cygwin
Date: Fri, 25 Jan 2002 13:20:23 -0500
From: Tom Lane <tgl AT sss DOT pgh DOT pa DOT us>
To: Frank Joerdens <frank AT joerdens DOT de>
CC: Jan Wieck <janwieck AT yahoo DOT com>,pgsql-general
<pgsql-general AT postgresql DOT org>
References: <15978 DOT 1011892695 AT sss DOT pgh DOT pa DOT us>
<200201241806 DOT g0OI67w17337 AT saturn DOT janwieck DOT net>
<20020125184914 DOT B31425 AT superfly DOT archi-me-des DOT de>
<26825 DOT 1011981303 AT sss DOT pgh DOT pa DOT us>
<20020125191758 DOT A511 AT superfly DOT archi-me-des DOT de>

Frank Joerdens <frank AT joerdens DOT de> writes:
>> The address is unhelpful, but a backtrace (try typing "bt") might be
>> very interesting indeed.

> Well, it doesn't *look* very interesting:

> (gdb) bt
> #0	0x778a018d in ?? ()
> #1	0x77e7758a in ?? ()

Nope, you're right :-(.  Can you rebuild PG with debug symbols?
(Add --enable-debug to configure, or manually add -g to CFLAGS
in src/Makefile.global; then "make clean" and remake.)

			regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo AT postgresql DOT org so that your
message can get through to the mailing list cleanly

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019