From: Michael Crozier <crozierm@conducivetech.com>
To: pgsql-ports@postgresql.org
Subject: Re: TAS definitions on Solaris x86 with GCC
Date: Wed, 28 Sep 2005 12:20:53 -0700
Message-ID: <200509281220.53123.crozierm@conducivetech.com> (raw)
In-Reply-To: <1074.1127877284@sss.pgh.pa.us>
References: <200509271638.12467.crozierm@conducivetech.com>
<1074.1127877284@sss.pgh.pa.us>
> Hmmm ... you really shouldn't be using the out-of-line tas.s code for
> gcc-based builds on any common architecture.
Thanks, that answers my questions about which TAS code should be in the build.
Both sets of code will be compiled into any solaris 32bit build, but the
inline code should be the code in use. When compiling a 64bit build with GCC
on solaris 10 x86, the out-of-line tas.s code will fail to build and tas.s
must therefore be manually linked to dummy.s.
> I think the problem may be
> that the case statement in src/template/solaris is testing for "i?86"
> which probably doesn't match your x86_64 host.
The 7.4 template is not checking for $GCC before linking tas.s, probably
assuming that any solaris host is using SunCC.
8.0.3 & 8.1beta1 check for !GCC before linking to solaris_i386.s, which is
correct.
Thanks for your help.
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: crozierm@conducivetech.com
Subject: Re: TAS definitions on Solaris x86 with GCC
In-Reply-To: <200509281220.53123.crozierm@conducivetech.com>
References: <200509271638.12467.crozierm@conducivetech.com> <1074.1127877284@sss.pgh.pa.us> <200509281220.53123.crozierm@conducivetech.com>
* 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