Skip site navigation (1) Skip section navigation (2)

Re: solaris build problem with Sun compilers

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: stange(at)rentec(dot)com
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, pgsql-ports(at)postgresql(dot)org
Subject: Re: solaris build problem with Sun compilers
Date: 2006-05-12 21:33:04
Message-ID: 23585.1147469584@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-ports
Alan Stange <stange(at)rentec(dot)com> writes:
> Check out the comment and implementation for cas32() in this .il 
> template file for libc from OpenSolaris:

> http://cvs.opensolaris.org/source/xref/on/usr/src/lib/libc/sparc/threads/sparc.il

If you mean

          * When compiling with -xarch=v8, the compiler refuses to
          * accept the 'cas' instruction, so we encode it in hex below.

I can't say that that impresses me.  It still will fail on v8 chips no?
What's the point of fooling the compiler if you can't fool the hardware?

			regards, tom lane

In response to

Responses

pgsql-ports by date

Next:From: Bruce MomjianDate: 2006-05-12 23:37:20
Subject: Re: solaris build problem with Sun compilers
Previous:From: Alan StangeDate: 2006-05-12 21:11:59
Subject: Re: solaris build problem with Sun compilers

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group