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

2009-06-24 Thread Gregory Stark
Theo Schlossnagle wrote: > Tom Lane wrote: > >> There is no reason for the i386 or AMD64 code to be different from what's >> already tested on Linux --- the hardware's the same and the OS surely >> doesn't make a difference at this level. > > On linux you use gcc, which allows for inline assembly

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

2009-06-24 Thread Theo Schlossnagle
The amd64 spintlock instructions use no AMD-specific features. It's base intel 64bit instruction set. We ship a product with similar such spin locks and have never had an issue across a large variety of chipsets (Intel, AMD, and virtualized). In short, if you can actually run 64bit code,

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

2006-04-21 Thread Robert Lor
I'm copying Jim Gates who has started looking into this issue. He's out this week. -Robert Joshua Berkus wrote: Robert, Is there someone on the Solaris build team who should be seeing this thread? Josh Berkus PostgreSQL @ Sun San Francisco ---(end of broadcast)

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

2006-04-21 Thread Theo Schlossnagle
Tom Lane wrote: Bruce Momjian writes: OK, this is a great help. If you think it should be just one file we can do that, but since the are separate instructions sets, separate files I think still makes sense. There is no reason for the i386 or AMD64 code to be different from what's a

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

2006-04-21 Thread Theo Schlossnagle
On Apr 19, 2006, at 11:17 PM, Bruce Momjian wrote: Theo Schlossnagle wrote: The following bug has been logged online: Bug reference: 2401 Logged by: Theo Schlossnagle Email address: [EMAIL PROTECTED] PostgreSQL version: 8.1.3 Operating system: Solaris 10 Description:

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

2006-04-21 Thread Joshua Berkus
Robert, Is there someone on the Solaris build team who should be seeing this thread? Josh Berkus PostgreSQL @ Sun San Francisco ---(end of broadcast)--- TIP 2: Don't 'kill -9' the postmaster

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

2006-04-20 Thread Tom Lane
Bruce Momjian writes: > OK, this is a great help. If you think it should be just one file we > can do that, but since the are separate instructions sets, separate > files I think still makes sense. There is no reason for the i386 or AMD64 code to be different from what's already tested on Linux

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

2006-04-20 Thread Bruce Momjian
Theo Schlossnagle wrote: > >> Compiling 8.1.3 on solaris 10 x86 with Sun Studio 11 for amd64 target > >> architecture leads us to an error resulting from no available "tas" > >> assembly. > >> > >> The tas.s file doesn't look like valid assembly for the shipped Sun > >> assembler. > > > > Yes. We

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

2006-04-19 Thread Bruce Momjian
Theo Schlossnagle wrote: > > The following bug has been logged online: > > Bug reference: 2401 > Logged by: Theo Schlossnagle > Email address: [EMAIL PROTECTED] > PostgreSQL version: 8.1.3 > Operating system: Solaris 10 > Description:spinlocks not available on amd64 >

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

2006-04-19 Thread Theo Schlossnagle
The following bug has been logged online: Bug reference: 2401 Logged by: Theo Schlossnagle Email address: [EMAIL PROTECTED] PostgreSQL version: 8.1.3 Operating system: Solaris 10 Description:spinlocks not available on amd64 Details: Compiling 8.1.3 on solaris 10 x86