Re: [PATCHES] [BUGS] Solaris cc compiler on amd: PostgreSQL does not

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Pierre Girard <pierre(dot)girard(at)gerad(dot)ca>, PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: [PATCHES] [BUGS] Solaris cc compiler on amd: PostgreSQL does not
Date: 2005-12-22 23:09:49
Message-ID: 200512222309.jBMN9no20315@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers pgsql-patches

Jim C. Nasby wrote:
> On Sat, Dec 17, 2005 at 04:59:45PM -0500, Bruce Momjian wrote:
> > Tom Lane wrote:
> > > Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> > > > Looking before that, the 64-bit registers are now prefixed with 'r'
> > > > instead of 'e', so what I did was to convert all the long/l assembler
> > > > instructions to quad/64-bit/q, and rename the registers to use 64-bit
> > > > versions. I also modified the function alignment from 4 to 8, patch
> > > > attached. Please give it a try and report back any error lines.
> > >
> > > Surely that breaks it for the i386 case --- don't we need a separate
> > > solaris_x86_64.s source file?
> >
> > Yes, it is only for him to test. But his email bounced back so it is
> > possible he isn't going to be back. :-(
>
> Sorry, I don't remember the history of this thread, but I do have access
> to solaris on an opteron if something needs to be tested.

If you set up Solaris in 64-bit mode, and are using the Sun compiler,
please test the patch I posted and let me know if it compiles:

http://archives.postgresql.org/pgsql-patches/2005-12/msg00275.php

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tatsuo Ishii 2005-12-23 01:42:07 Re: [BUGS] BUG #2120: Crash when doing UTF8<->ISO_8859_8 encoding
Previous Message Martin Pitt 2005-12-22 18:24:07 Small bug fix in readline promt handling

Browse pgsql-hackers by date

  From Date Subject
Next Message Ashok Agrawal 2005-12-22 23:11:03 Oracle PL/SQL Anonymous block equivalent in postgres
Previous Message Bruce Momjian 2005-12-22 23:05:49 Re: Automatic function replanning

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2005-12-22 23:57:19 Re: Disparity in search_path SHOW and SET
Previous Message Volkan YAZICI 2005-12-22 19:48:13 Re: tuple count and v3 functions in psql for COPY