Re: [PORTS] RedHat6.0 & Alpha

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: Uncle George <gatgul(at)voicenet(dot)com>
Cc: pgsql-ports(at)postgreSQL(dot)org
Subject: Re: [PORTS] RedHat6.0 & Alpha
Date: 1999-07-15 13:42:30
Message-ID: 199907151342.JAA08099@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-ports

> 1) The reason why for -mieee is that if u care for some of the 'rare' floating point
> exceptions ( as defined by alpha floating point hardware ) then u want to handle
> them - as per ieee specifications to give u the correct ieee result. When the
> processor cant handle the exceptions it (can ) traps to software assist routines
> ( hidden in the kernel ). But in order for the kernel to fix the exception u have to
> stop the pipeline as close to the problem, so u can backtrace the user pc ( which is
> by now quite a few instructions ahead of where the exception occured ) to the point
> where it occured to see what register needs to have the correct value inserted.
> Without the -mieee, the compiler will not arrange the float operations so that
> it can be backstepped when a fault occures. The kernel then cannot fix the problem,
> and forces a floating point exception onto the program. Death usually follows.
> Therefor only do -mieee where u need to. ERGO can this flag be set individually
> as per each individual makefile, and not as per ./configure ?

Right now, it is hard to have makefile-specific flags.

> 2) Then I want to report a bug - HAS_LONG_LONG in one of the 'c' files needs to be
> turned on - I think there is only one - also for RH6.0/alpha. I dont think that
> RH6.0/alpha has long long as a type and just uses long to define a 64bit quantity

Add 'set -x' to configure, and figure how how the test is working in
configure. Look at the configure output. It shows how it is setting
those flags.

> 3) Then can I presume that Absolutetime/Relativetime in nabstime.h will be changed
> to int32?

Added to TODO:

* Make Absolutetime/Relativetime int4 because time_t can be int8 on some ports

--
Bruce Momjian | http://www.op.net/~candle
maillist(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 1999-07-15 13:58:53 Re: [HACKERS] MAX Query length
Previous Message Uncle George 1999-07-15 10:44:12 Re: [PORTS] RedHat6.0 & Alpha

Browse pgsql-ports by date

  From Date Subject
Next Message Bruce Momjian 1999-07-15 13:43:20 Re: [PORTS] Port Bug Report: unable to insert a string into a field > 4K
Previous Message Uncle George 1999-07-15 12:33:26 RH5.2 & i386 & snapshot