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

Re: [BUGS] BUG #2401: spinlocks not available on amd64

From: Kris Jurka <books(at)ejurka(dot)com>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Subject: Re: [BUGS] BUG #2401: spinlocks not available on amd64
Date: 2006-04-28 04:25:48
Message-ID: 4451994C.8020001@ejurka.com (view raw or flat)
Thread:
Lists: pgsql-bugspgsql-patches
Bruce Momjian wrote:
> Great, changes attached and applied.  I removed the solaris_i386 and
> solaris_x86_64.s files and made just one solaris_x86.s.  I updated the
> build system to use the new file, updated the macros, and added some
> documentation on the approach.  Thanks.
> 
> Would you test current CVS to make sure it still works properly?  Thanks.
> 

The patch adds an extra else in src/template/solaris that means the 
assembly file is not properly picked up.

Also the claim that Sun's cc understands C preprocessor doesn't hold 
true for me:

/usr/local/SUNWspro/bin/cc -Xa -v -DSUNOS4_CC -g -c tas.s
Assembler: tas.s
         "tas.s", line 9 : Illegal mnemonic
         "tas.s", line 9 : Syntax error
         "tas.s", line 9 : Illegal mnemonic
         "tas.s", line 9 : Illegal mnemonic

This is with cc -V
cc: Sun WorkShop 6 update 2 C 5.3 Patch 111680-09 2003/05/18

Attachment: solaris-pick-tas.patch
Description: text/plain (964 bytes)

In response to

Responses

pgsql-bugs by date

Next:From: Sidar Lopez CruzDate: 2006-04-28 04:27:27
Subject: BUG #2412: Foreing key accept nulls
Previous:From: Bruce MomjianDate: 2006-04-28 03:43:28
Subject: Re: [BUGS] BUG #2401: spinlocks not available on amd64

pgsql-patches by date

Next:From: Bruce MomjianDate: 2006-04-28 04:34:05
Subject: Re: [BUGS] BUG #2401: spinlocks not available on amd64
Previous:From: Bruce MomjianDate: 2006-04-28 03:43:28
Subject: Re: [BUGS] BUG #2401: spinlocks not available on amd64

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