Re: [PORTS] solaris build problem with Sun compilers
Theo Schlossnagle wrote:
On May 18, 2006, at 11:56 AM, Bruce Momjian wrote:
Theo Schlossnagle wrote:
On May 17, 2006, at 8:30 PM, Bruce Momjian wrote:
[ snip ]
OK, so what do you suggest? Remove that URL from the comments?
Anything else?If you compile with -xarch=v8plus you should be able to omit the
#ifdef's entirely. The sparcv8plus and sparcv9 cas instruction are
identical. Is the goal here to support Sparc chips that do not
support the v8plus instruction set? I'm not on the ports list, so
maybe I missed the original problem report.We don't actually know all the Solaris versions/hardware we should
support, so it is hard to say if we currently have running sparcv8
CPUs.
The best solution is to use separate entries for v8 and v9. Is
there a
unique preprocessor symbol when a sparcv8plus binary is being
generated?Heh.. you could likely guess it:
#if defined(__sparcv8plus)
Nice, comments and macro tests updated. New version of file attached.
--
Bruce Momjian http://candle.pha.pa.us
EnterpriseDB http://www.enterprisedb.com
+ If your life is a hard drive, Christ can be your backup. +
Attachments:
/pg/backend/port/tas/solaris_sparc.stext/plainDownload
Import Notes
Reply to msg id not found: D55B0A99-4849-4B9F-A255-2324DC590D88@omniti.com