Anyone working on linux Alpha?

From: "Oliver Elphick" <olly(at)lfix(dot)co(dot)uk>
To: pgsql-hackers(at)postgreSQL(dot)org, pgsql-ports(at)postgreSQL(dot)org
Cc: Christopher C Chimelis <chris(at)beezer(dot)med(dot)miami(dot)edu>
Subject: Anyone working on linux Alpha?
Date: 1999-06-08 17:14:36
Message-ID: 199906081714.SAA30729@linda.lfix.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-ports

I'm talking with the Debian porters for Alpha architecture, who are having
trouble getting 6.5beta2 to work properly.

Is there anyone using this setup? If so, do you get a good regression test
result? (They don't.)

This patch was necessary for them to get 6.5beta2 to build at all:
======================================================================
diff -ruN pgsql/src/config.sub postgresql-patched/src/config.sub
--- pgsql/src/config.sub Tue Apr 20 09:01:00 1999
+++ postgresql-patched/src/config.sub Tue Jun 8 17:21:32 1999
@@ -152,7 +152,7 @@
tahoe | i860 | m32r | m68k | m68000 | m88k | ns32k | arc | arm \
| arme[lb] | pyramid | mn10200 | mn10300 | tron | a29k \
| 580 | i960 | h8300 | hppa | hppa1.0 | hppa1.1 | hppa2.0 \
- | alpha | alphaev5 | alphaev56 | we32k | ns16k | clipper \
+ | alpha | alphaev5 | alphaev56 | alphapca5[6,7] | we32k | ns16k | clipper \
| i370 | sh | powerpc | powerpcle | 1750a | dsp16xx | pdp11 \
| mips64 | mipsel | mips64el | mips64orion | mips64orionel \
| mipstx39 | mipstx39el \
@@ -176,7 +176,7 @@
| mips-* | pyramid-* | tron-* | a29k-* | romp-* | rs6000-* \
| power-* | none-* | 580-* | cray2-* | h8300-* | i960-* \
| xmp-* | ymp-* | hppa-* | hppa1.0-* | hppa1.1-* | hppa2.0*-* \
- | alpha-* | alphaev5-* | alphaev56-* | we32k-* | cydra-* \
+ | alpha-* | alphaev5-* | alphaev56-* | alphapca5[6,7]-* | we32k-* | cydra-* \
| ns16k-* | pn-* | np1-* | xps100-* | clipper-* | orion-* \
| sparclite-* | pdp11-* | sh-* | powerpc-* | powerpcle-* \
| sparc64-* | mips64-* | mipsel-* \
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 :-)

--
Vote against SPAM: http://www.politik-digital.de/spam/
========================================
Oliver Elphick Oliver(dot)Elphick(at)lfix(dot)co(dot)uk
Isle of Wight http://www.lfix.co.uk/oliver
PGP key from public servers; key ID 32B8FAA1
========================================
"Fear not, for I am with thee; be not dismayed,
for I am thy God. I will strengthen thee and I will
help thee; yea, I will uphold thee with the right hand
of my righteousness." Isaiah 41:10

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jackson, DeJuan 1999-06-08 17:31:41 RE: [HACKERS] 6.6 items
Previous Message Vadim Mikheev 1999-06-08 17:10:55 Re: [HACKERS] 6.6 items

Browse pgsql-ports by date

  From Date Subject
Next Message Bruce Momjian 1999-06-08 17:35:02 Re: [PORTS] Anyone working on linux Alpha?
Previous Message Bruce Momjian 1999-06-08 16:42:25 Re: Bad FAQ file