Re: [PORTS] Anyone working on linux Alpha?

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: Oliver Elphick <olly(at)lfix(dot)co(dot)uk>
Cc: pgsql-hackers(at)postgreSQL(dot)org, pgsql-ports(at)postgreSQL(dot)org, Christopher C Chimelis <chris(at)beezer(dot)med(dot)miami(dot)edu>
Subject: Re: [PORTS] Anyone working on linux Alpha?
Date: 1999-06-08 17:35:02
Message-ID: 199906081735.NAA27067@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-ports

diff -ruN pgsql/src/template/linux_alpha postgresql-patched/src/template/linux_alpha
> --- pgsql/src/template/linux_alpha Tue Jun 16 06:04:00 1998
> +++ postgresql-patched/src/template/linux_alpha Tue Jun 8 17:21:32 1999
> @@ -1,5 +1,5 @@
> AROPT:crs
> -CFLAGS:-O2 -mieee
> +CFLAGS:-mieee
> SHARED_LIB:-fpic
> ALL:
> SRCH_INC:
>

> ======================================================================
>
> This is required because of problems with egcs:
>
> >> Is this patch suitable for forwarding upstream? Do all linux Alphas
> >> have to disable -O2?
> >
> > Yes. At least all that use egcs as a primary compiler (gcc 2.7.x never
> > worked for us, so unless they're using gcc 2.8.x, it won't work with -O2).
>
> ...and...
>
> > The patch I mailed you DEFINITELY needs to be included upstream if
> > possible. All Alphas running linux and using egcs REQUIRE it to be
> > compiled without optimisation since it hoses the spinlock code (I'm
> > looking into it with the guy that wrote the spinlock code for Alphas).
> > And the alphapca56,7 machines are fairly common now. Mention to them that
> > it might be helpful to use a config.sub from a more recent autoconf or
> > libtool since it includes another two or three new Alpha types (at least
> > the Debian sources do...I make sure of that :-)

I have just removed optimization on linux/alpha for this reason. Can I
use -O optimization on this platform instead of -O2?

--
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 Oliver Elphick 1999-06-08 17:42:47 contrib/spi/preprocessor
Previous Message Don Baccus 1999-06-08 17:34:11 Re: [HACKERS] 6.6 items

Browse pgsql-ports by date

  From Date Subject
Next Message Christopher C Chimelis 1999-06-08 17:52:41 Re: [PORTS] Anyone working on linux Alpha?
Previous Message Oliver Elphick 1999-06-08 17:14:36 Anyone working on linux Alpha?