]> granicus.if.org Git - postgresql/commitdiff
Remove IRIX port.
authorRobert Haas <rhaas@postgresql.org>
Fri, 18 Oct 2013 12:14:21 +0000 (08:14 -0400)
committerRobert Haas <rhaas@postgresql.org>
Fri, 18 Oct 2013 12:14:21 +0000 (08:14 -0400)
Development of IRIX has been discontinued, and support is scheduled
to end in December of 2013.  Therefore, there will be no supported
versions of this operating system by the time PostgreSQL 9.4 is
released.  Furthermore, we have no maintainer for this platform.

configure
configure.in
doc/src/sgml/dfunc.sgml
doc/src/sgml/installation.sgml
src/Makefile.shlib
src/backend/port/dynloader/irix.c [deleted file]
src/backend/port/dynloader/irix.h [deleted file]
src/backend/utils/adt/float.c
src/include/port/irix.h [deleted file]
src/include/storage/s_lock.h

index f9da1dec2e1c907245b41de420ad9237e4e5ac88..c20afde8db140a2e1b234b4b87d626d52edca6e4 100755 (executable)
--- a/configure
+++ b/configure
@@ -2192,7 +2192,6 @@ case $host_os in
 dragonfly*) template=netbsd ;;
  freebsd*) template=freebsd ;;
     hpux*) template=hpux ;;
-    irix*) template=irix ;;
  linux*|gnu*|k*bsd*-gnu)
            template=linux ;;
    mingw*) template=win32 ;;
@@ -3073,7 +3072,6 @@ fi
 
 case $template in
   aix) pgac_cc_list="gcc xlc";;
- irix) pgac_cc_list="cc";; # no gcc
     *) pgac_cc_list="gcc cc";;
 esac
 
index f8c72061ad13f48f5efa7a3942b23fc7efd80782..d2bab32589ac3a21fde35f799f8153e98e3b96c0 100644 (file)
@@ -60,7 +60,6 @@ case $host_os in
 dragonfly*) template=netbsd ;;
  freebsd*) template=freebsd ;;
     hpux*) template=hpux ;;
-    irix*) template=irix ;;
  linux*|gnu*|k*bsd*-gnu)
            template=linux ;;
    mingw*) template=win32 ;;
@@ -350,7 +349,6 @@ PGAC_ARG_REQ(with, CC, [CMD], [set compiler (deprecated)], [CC=$with_CC])
 
 case $template in
   aix) pgac_cc_list="gcc xlc";;
- irix) pgac_cc_list="cc";; # no gcc
     *) pgac_cc_list="gcc cc";;
 esac
 
index 8e6c95d15c5933a359a48fcf7e057e51a6196c63..c24ed3742131e66f2d3ac3988574644c0f910712 100644 (file)
@@ -100,22 +100,6 @@ ld -b -o foo.sl foo.o
     </listitem>
    </varlistentry>
 
-   <varlistentry>
-    <term><systemitem class="osname">IRIX</></term>
-    <indexterm><primary>IRIX</><secondary>shared library</></>
-    <listitem>
-     <para>
-      <acronym>PIC</acronym> is the default, no special compiler
-      options are necessary.  The linker option to produce shared
-      libraries is <option>-shared</option>.
-<programlisting>
-cc -c foo.c
-ld -shared -o foo.so foo.o
-</programlisting>
-     </para>
-    </listitem>
-   </varlistentry>
-
    <varlistentry>
     <term><systemitem class="osname">Linux</></term>
     <indexterm><primary>Linux</><secondary>shared library</></>
index fa9ef177732f6c761657fbaedabbd9ea4fc0ac14..2bdb3f10b308897f55d3589688512a3148faf7ce 100644 (file)
@@ -1637,8 +1637,8 @@ PostgreSQL, contrib and HTML documentation successfully made. Ready to install.
     shared libraries.  The systems on which this is
     <emphasis>not</emphasis> necessary include
     <systemitem class="osname">FreeBSD</>,
-    <systemitem class="osname">HP-UX</>, <systemitem
-    class="osname">IRIX</>, <systemitem class="osname">Linux</>,
+    <systemitem class="osname">HP-UX</>,
+    <systemitem class="osname">Linux</>,
     <systemitem class="osname">NetBSD</>, <systemitem
     class="osname">OpenBSD</>, <systemitem class="osname">Tru64
     UNIX</> (formerly <systemitem class="osname">Digital UNIX</>), and
@@ -1962,7 +1962,7 @@ kill `cat /usr/local/pgsql/data/postmaster.pid`
   <para>
    <productname>PostgreSQL</> can be expected to work on these operating
    systems: Linux (all recent distributions), Windows (Win2000 SP4 and later),
-   FreeBSD, OpenBSD, NetBSD, Mac OS X, AIX, HP/UX, IRIX, Solaris, Tru64 Unix,
+   FreeBSD, OpenBSD, NetBSD, Mac OS X, AIX, HP/UX, Solaris, Tru64 Unix,
    and UnixWare.  Other Unix-like systems may also work but are not currently
    being tested.  In most cases, all CPU architectures supported by
    a given operating system will work.  Look in
@@ -2532,62 +2532,6 @@ PHSS_30849  s700_800 u2comp/be/plugin library Patch
    </para>
   </sect2>
 
-  <sect2 id="installation-notes-irix">
-   <title>IRIX</title>
-
-   <indexterm zone="installation-notes-irix">
-    <primary>IRIX</primary>
-    <secondary>installation on</secondary>
-   </indexterm>
-
-   <para>
-    PostgreSQL has been reported to run successfully on MIPS r8000,
-    r10000 (both ip25 and ip27) and r12000(ip35) processors, running
-    IRIX 6.5.5m, 6.5.12, 6.5.13, and 6.5.26 with MIPSPro compilers
-    version 7.30, 7.3.1.2m, 7.3, and 7.4.4m.
-   </para>
-
-   <para>
-    You will need the MIPSPro full ANSI C compiler.  There are
-    problems trying to build with GCC.  It is a known GCC bug (not
-    fixed as of version 3.0) related to using functions that return
-    certain kinds of structures. This bug affects functions like
-    <function>inet_ntoa</>, <function>inet_lnaof</>, <function>inet_netof</>, <function>inet_makeaddr</>,
-    and <function>semctl</>.  It is supposed to be fixed by forcing
-    code to link those functions with libgcc, but this has not been
-    tested yet.
-   </para>
-
-   <para>
-    It is known that version 7.4.1m of the MIPSPro compiler generates
-    incorrect code.  The symptom is <quote>invalid primary checkpoint
-    record</quote> when trying to start the database.)  Version 7.4.4m
-    is OK; the status of intermediate versions is uncertain.
-   </para>
-
-   <para>
-    There may be a compilation problem like the following:
-<screen>
-cc-1020 cc: ERROR File = pqcomm.c, Line = 427
-  The identifier "TCP_NODELAY" is undefined.
-
-                if (setsockopt(port->sock, IPPROTO_TCP, TCP_NODELAY,
-</screen>
-    Some versions include TCP definitions
-    in <filename>sys/xti.h</filename>, so it is necessary to
-    add <literal>#include &lt;sys/xti.h&gt;</literal>
-    in <filename>src/backend/libpq/pqcomm.c</> and in
-    <filename>src/interfaces/libpq/fe-connect.c</>.  If you encounter
-    this, please let us know so we can develop a proper fix.
-   </para>
-
-   <para>
-    In the regression tests, there might be some low-order-digit
-    differences in the geometry tests, depending on which FPU are you
-    using.  Any other error is cause for suspicion.
-   </para>
-  </sect2>
-
   <sect2 id="installation-notes-mingw">
    <title>MinGW/Native Windows</title>
 
index 2a0c7a9d017ebdbea45e78594412ee3d7c147073..4e476c30369f210cd345769bf1fffdc142827f5b 100644 (file)
@@ -215,16 +215,6 @@ ifeq ($(PORTNAME), hpux)
   endif
 endif
 
-ifeq ($(PORTNAME), irix)
-  ifdef SO_MAJOR_VERSION
-    shlib              = lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION)
-  endif
-  LINK.shared          = $(COMPILER) -shared
-  ifdef soname
-    LINK.shared                += -Wl,-set_version,sgi$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)
-  endif
-endif
-
 ifeq ($(PORTNAME), linux)
   LINK.shared          = $(COMPILER) -shared
   ifdef soname
diff --git a/src/backend/port/dynloader/irix.c b/src/backend/port/dynloader/irix.c
deleted file mode 100644 (file)
index df2843a..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-/* src/backend/port/dynloader/irix.c */
-
-/* Dummy file used for nothing at this point
- *
- * see irix.h
- */
diff --git a/src/backend/port/dynloader/irix.h b/src/backend/port/dynloader/irix.h
deleted file mode 100644 (file)
index d845b16..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-/*-------------------------------------------------------------------------
- *
- * irix.h
- *       port-specific prototypes for Irix
- *
- *
- * Portions Copyright (c) 1996-2013, PostgreSQL Global Development Group
- * Portions Copyright (c) 1994, Regents of the University of California
- *
- * src/backend/port/dynloader/irix.h
- *
- *-------------------------------------------------------------------------
- */
-#ifndef PORT_PROTOS_H
-#define PORT_PROTOS_H
-
-#include <dlfcn.h>
-#include "utils/dynamic_loader.h"              /* pgrminclude ignore */
-
-/*
- * Dynamic Loader on Irix.
- *
- * this dynamic loader uses the system dynamic loading interface for shared
- * libraries (ie. dlopen/dlsym/dlclose). The user must specify a shared
- * library as the file to be dynamically loaded.
- */
-
-/*
- * In some older systems, the RTLD_NOW flag isn't defined and the mode
- * argument to dlopen must always be 1.  The RTLD_GLOBAL flag is wanted
- * if available, but it doesn't exist everywhere.
- * If it doesn't exist, set it to 0 so it has no effect.
- */
-#ifndef RTLD_NOW
-#define RTLD_NOW 1
-#endif
-#ifndef RTLD_GLOBAL
-#define RTLD_GLOBAL 0
-#endif
-
-#define pg_dlopen(f)   dlopen((f), RTLD_NOW | RTLD_GLOBAL)
-#define pg_dlsym               dlsym
-#define pg_dlclose             dlclose
-#define pg_dlerror             dlerror
-
-#endif   /* PORT_PROTOS_H */
index b6c31c2fd928936f2bd4b5a842e2d6ea058bd3ba..54690bddb3be198bce31e1f2e38598e4bacaef4e 100644 (file)
@@ -294,38 +294,6 @@ float4in(PG_FUNCTION_ARGS)
        }
 #endif   /* HAVE_BUGGY_SOLARIS_STRTOD */
 
-#ifdef HAVE_BUGGY_IRIX_STRTOD
-
-       /*
-        * In some IRIX versions, strtod() recognizes only "inf", so if the input
-        * is "infinity" we have to skip over "inity".  Also, it may return
-        * positive infinity for "-inf".
-        */
-       if (isinf(val))
-       {
-               if (pg_strncasecmp(num, "Infinity", 8) == 0)
-               {
-                       val = get_float4_infinity();
-                       endptr = num + 8;
-               }
-               else if (pg_strncasecmp(num, "+Infinity", 9) == 0)
-               {
-                       val = get_float4_infinity();
-                       endptr = num + 9;
-               }
-               else if (pg_strncasecmp(num, "-Infinity", 9) == 0)
-               {
-                       val = -get_float4_infinity();
-                       endptr = num + 9;
-               }
-               else if (pg_strncasecmp(num, "-inf", 4) == 0)
-               {
-                       val = -get_float4_infinity();
-                       endptr = num + 4;
-               }
-       }
-#endif   /* HAVE_BUGGY_IRIX_STRTOD */
-
        /* skip trailing whitespace */
        while (*endptr != '\0' && isspace((unsigned char) *endptr))
                endptr++;
@@ -525,38 +493,6 @@ float8in(PG_FUNCTION_ARGS)
        }
 #endif   /* HAVE_BUGGY_SOLARIS_STRTOD */
 
-#ifdef HAVE_BUGGY_IRIX_STRTOD
-
-       /*
-        * In some IRIX versions, strtod() recognizes only "inf", so if the input
-        * is "infinity" we have to skip over "inity".  Also, it may return
-        * positive infinity for "-inf".
-        */
-       if (isinf(val))
-       {
-               if (pg_strncasecmp(num, "Infinity", 8) == 0)
-               {
-                       val = get_float8_infinity();
-                       endptr = num + 8;
-               }
-               else if (pg_strncasecmp(num, "+Infinity", 9) == 0)
-               {
-                       val = get_float8_infinity();
-                       endptr = num + 9;
-               }
-               else if (pg_strncasecmp(num, "-Infinity", 9) == 0)
-               {
-                       val = -get_float8_infinity();
-                       endptr = num + 9;
-               }
-               else if (pg_strncasecmp(num, "-inf", 4) == 0)
-               {
-                       val = -get_float8_infinity();
-                       endptr = num + 4;
-               }
-       }
-#endif   /* HAVE_BUGGY_IRIX_STRTOD */
-
        /* skip trailing whitespace */
        while (*endptr != '\0' && isspace((unsigned char) *endptr))
                endptr++;
diff --git a/src/include/port/irix.h b/src/include/port/irix.h
deleted file mode 100644 (file)
index bb05314..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-/* src/include/port/irix.h */
-
-/*
- * IRIX 6.5.26f and 6.5.22f (at least) have a strtod() that accepts
- * "infinity", but leaves endptr pointing to "inity".
- */
-#define HAVE_BUGGY_IRIX_STRTOD
index 1b493ace4f41525e64e92eff7bab2b469dc8f6c2..7dcd5d90b21a98c06694bdf6030223f39085c831 100644 (file)
@@ -836,31 +836,6 @@ typedef unsigned int slock_t;
 
 #endif /* HPUX on IA64, non gcc */
 
-
-#if defined(__sgi)     /* SGI compiler */
-/*
- * SGI IRIX 5
- * slock_t is defined as a unsigned long. We use the standard SGI
- * mutex API.
- *
- * The following comment is left for historical reasons, but is probably
- * not a good idea since the mutex ABI is supported.
- *
- * This stuff may be supplemented in the future with Masato Kataoka's MIPS-II
- * assembly from his NECEWS SVR4 port, but we probably ought to retain this
- * for the R3000 chips out there.
- */
-#define HAS_TEST_AND_SET
-
-typedef unsigned long slock_t;
-
-#include "mutex.h"
-#define TAS(lock)      (test_and_set(lock,1))
-#define S_UNLOCK(lock) (test_then_and(lock,0))
-#define S_INIT_LOCK(lock)      (test_then_and(lock,0))
-#define S_LOCK_FREE(lock)      (test_then_add(lock,0) == 0)
-#endif  /* __sgi */
-
 #if defined(_AIX)      /* AIX */
 /*
  * AIX (POWER)