Re: [GENERAL] Re : Solaris Performance - 64 bit puzzle - Mailing list pgsql-hackers

From Andrew Sullivan
Subject Re: [GENERAL] Re : Solaris Performance - 64 bit puzzle
Date
Msg-id 20020430143828.D20164@mail.libertyrms.com
Whole thread Raw
In response to Re: [GENERAL] Re : Solaris Performance - Profiling (Solved)  (Andrew Sullivan <andrew@libertyrms.info>)
Responses Re: [GENERAL] Re : Solaris Performance - 64 bit puzzle  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Sorry to reply to myself, but this might be useful for the archive.

On Tue, Apr 30, 2002 at 11:55:53AM -0400, Andrew Sullivan wrote:

> But now I'm wondering, is there anyone who knows of troubles with the
> profiling of programs compiled with -pg under gcc 3.0.3 64 bit on
> Solaris 7?  Here's my configure line:

You can't use the -pg cflag without -mcmodel=medlow, because gcc (at
least in its 64 bit incarnation on Solaris) apparently can't produce
binaries that way: only the medlow memory model is supported for
profiling.  Unhappily, this appears to cause conflicting libraries to
be invoked (I _think_ that's what's going on, anyway).  I think this
means I can't build a 64-bit system with gcc for profiling.  I might
be wrong (I'm sort of puzzling this out from two or three rather
cryptic entries in some man pages; and as anyone who's ever seen my
posts will attest, I'm not that bright anyway, so I may have
misunderstood something).  In any case, I can't offer a definite
answer about the 64-bit qsort for now.  If I have a chance to
come back to it, and discover anything, I'll post it here.

A

--
----
Andrew Sullivan                               87 Mowat Avenue
Liberty RMS                           Toronto, Ontario Canada
<andrew@libertyrms.info>                              M6K 3E3
                                         +1 416 646 3304 x110


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Schemas: status report, call for developers
Next
From: Oleg Bartunov
Date:
Subject: Re: Schemas: status report, call for developers