Nočl Köthe wrote:
-- Start of PGP signed section.
> Am Sa, den 25.10.2003 schrieb No?l K?the um 01:17:
> 
> > reports of these slower systems will follow but they need a bit more time:
> > 
> > Linux casals 2.4.19-r4k-ip22 #1 Tue Mar 18 15:38:10 CET 2003 mips unknown
> 
>      polymorphism         ... ok
>      stats                ... ok
> ============== shutting down postmaster               ==============


Ports list updated:

  http://momjian.postgresql.org/main/writings/pgsql/sgml/supported-platforms.html

>  
> ======================
>  All 93 tests passed.
> ======================
>  
> rm regress.o
> make[2]: Leaving directory `/home/noel/postgresql-cvs/pgsql/src/test/regress'
> make[1]: Leaving directory `/home/noel/postgresql-cvs/pgsql/src/test'
> [EMAIL PROTECTED]:~/postgresql-cvs/pgsql$ uname -a
> Linux casals 2.4.19-r4k-ip22 #1 Tue Mar 18 15:38:10 CET 2003 mips GNU/Linux
> 
> > Linux crest 2.4.20 #1 Wed Mar 5 01:39:17 EST 2003 m68k unknown
> 
> gcc -g -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declarations 
> -I../../../../src/include -D_GNU_SOURCE   -c -o xlog.o xlog.c
> In file included from ../../../../src/include/storage/spin.h:50,
>                  from xlog.c:37:
> ../../../../src/include/storage/s_lock.h:543:2: #error This platform does not 
> support native spinlocks. To continue the compile, rerun configure using 
> --disable-spinlocks. However, performance will be poor. Please report this to [EMAIL 
> PROTECTED]
> make[4]: *** [xlog.o] Error 1
> make[4]: Leaving directory 
> `/home/noel/postgresql-cvs/pgsql/src/backend/access/transam'

OK, this port has the same problem with the include/port/*.h files not
matching the s_lock.h files.  I knew this would bite us but we didn't
want to risk a reorganization during beta.

The following patch has been applied and should allow m68k to work ---
please report back.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  [EMAIL PROTECTED]               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073
Index: src/include/port/linux.h
===================================================================
RCS file: /cvsroot/pgsql-server/src/include/port/linux.h,v
retrieving revision 1.35
diff -c -c -r1.35 linux.h
*** src/include/port/linux.h    26 Sep 2003 17:39:13 -0000      1.35
--- src/include/port/linux.h    26 Oct 2003 00:24:27 -0000
***************
*** 43,46 ****
--- 43,51 ----
  
  #define HAS_TEST_AND_SET
  
+ #elif defined(__m68k__)
+ typedef unsigned char slock_t;
+ 
+ #define HAS_TEST_AND_SET
+ 
  #endif
---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
      joining column's datatypes do not match

Reply via email to