From: Murad Nayal <murad@godel.bioc.columbia.edu>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-ports@postgresql.org
Cc: bugs@postgresql.org
Subject: Re: port v7.0 to SGI-IRIX-6.5.7/64
Date: Mon, 22 May 2000 23:28:16 +0200
Message-ID: <3929A670.787FD829@godel.bioc.columbia.edu> (raw)
References: <39296388.38F57992@godel.bioc.columbia.edu>
<21197.959038546@sss.pgh.pa.us>
Tom Lane wrote:
>
> Murad Nayal <murad@godel.bioc.columbia.edu> writes:
> > 1- the program that configure uses to test for namespace std is faulty.
>
> That's not very helpful :-( --- what's wrong with it?
>
> > 2- configure badly guesses the type of the 3rd argument to accept().
>
> I have seen that happen on other platforms too; not clear how to fix it.
> But as long as the guessed value is the right size it should work,
> I would think --- unsigned int vs. int shouldn't make a difference.
> Are you sure that that is the reason it wasn't working?
>
I am actually pretty sure that giving accept a size_t addrlen (in this
case) is causing accept to not copy the client address over (at least
not copy it to the right place!). I was a little bit inaccurate in my
statement earlier though. size_t is unsigned int when compiling in 32bit
mode. however it seems to be unsigned long (8 bytes) when compiling in
64bit mode, while int is still 4 bytes. so that seems consistent with
what you said.
I was trying to compile postgres in 64 because I would like to integrate
it with the rest of my libraries which I usually compile in 64bit mode.
I suppose I only need the frontend to be binary compatible with my code
(libpq?) but I can only imagine the hassle I could get into trying to
compile the front end in 64 and the backend separately in n32. I am
going to repeat the regression tests just to make sure I used gmake all
in regress and will report back.
Regards
--
Murad Nayal M.D. Ph.D.
Department of Biochemistry and Molecular Biophysics
College of Physicians and Surgeons of Columbia University
630 West 168th Street. New York, NY 10032
Tel: 212-305-6884 Fax: 212-305-6926
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-admin@postgresql.org
Cc: murad@godel.bioc.columbia.edu, tgl@sss.pgh.pa.us, pgsql-ports@postgresql.org, bugs@postgresql.org
Subject: Re: port v7.0 to SGI-IRIX-6.5.7/64
In-Reply-To: <3929A670.787FD829@godel.bioc.columbia.edu>
References: <39296388.38F57992@godel.bioc.columbia.edu> <21197.959038546@sss.pgh.pa.us> <3929A670.787FD829@godel.bioc.columbia.edu>
* 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