pg.ddx.io  pgsql-ports@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <pgman@candle.pha.pa.us>
To: stange@rentec.com
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-ports@postgresql.org
Subject: Re: solaris build problem with Sun compilers
Date: Thu, 18 May 2006 12:02:55 -0400 (EDT)
Message-ID: <200605181602.k4IG2tL08931@candle.pha.pa.us> (raw)
In-Reply-To: <446C6B44.9040800@rentec.com>

Alan Stange wrote:
> > Uh, are you saying our Solaris Sparc "cas" ASM is only going to work for
> > Solaris 11 tools?  That doesn't sound good.  We must have people using
> > earlier Solaris tools.
> 
> No, I'm not saying that at all.
> 
> I think I'm saying that cas is OK for any reasonable Solaris+Sparc+Sun 
> compiler combination.  It'll fail on any SuperSparc based hardware and 
> older compilers (more than ~5 years), but that's too bad.

Well, when you look at the cost/benefit of using cas vs. ldstub, it
seems logical to keep ldstub for those older platforms.

> I'm also saying that cas in not OK for any gcc+binutils combination.  As 
> far as I can tell, gcc is still building code for the v7 platform by 
> default.  It's possible to override this, but I don't think it's 
> something you can test for in the preprocessor.

OK, I added a comment that gcc generates sparcv7 binaries.

-- 
  Bruce Momjian   http://candle.pha.pa.us
  EnterpriseDB    http://www.enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +



view thread (37+ messages)

Message-ID: <200605181602.k4IG2tL08931@candle.pha.pa.us>
Permalink:  ../200605181602.k4IG2tL08931@candle.pha.pa.us/
Also on:    postgresql.org/message-id/200605181602.k4IG2tL08931@candle.pha.pa.us

 · 

reply

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-ports@postgresql.org
  Cc: pgman@candle.pha.pa.us, stange@rentec.com, tgl@sss.pgh.pa.us
  Subject: Re: solaris build problem with Sun compilers
  In-Reply-To: <200605181602.k4IG2tL08931@candle.pha.pa.us>
  References: <446C6B44.9040800@rentec.com> <200605181602.k4IG2tL08931@candle.pha.pa.us>

* 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