BROKEN-mips64el. Tests on loongson by jturner@.

This commit is contained in:
juanfra 2014-06-22 10:59:37 +00:00
parent 112d6a3e36
commit a40c7e0ae4
2 changed files with 36 additions and 9 deletions

View File

@ -1,13 +1,15 @@
# $OpenBSD: Makefile,v 1.13 2014/05/14 17:51:40 juanfra Exp $
# $OpenBSD: Makefile,v 1.14 2014/06/22 10:59:37 juanfra Exp $
BROKEN-hppa = error: struct Scheme_Cont has no member named buf (setjmpup.c)
BROKEN-hppa = segfault while racket compiles XFORMS (at xsrc)
BROKEN-mips64el = sigbus while racket compiles XFORMS (at xsrc)
SHARED_ONLY = Yes
ONLY_FOR_ARCHS = i386 amd64 hppa
ONLY_FOR_ARCHS = i386 amd64 hppa mips64el
COMMENT = multi-paradigm programming language
V = 6.0.1
REVISION = 0
PKGNAME = racket-$V
DISTNAME = racket-$V-src-builtpkgs

View File

@ -1,18 +1,24 @@
$OpenBSD: patch-src_racket_sconfig_h,v 1.4 2014/05/14 17:51:40 juanfra Exp $
--- src/racket/sconfig.h.orig Sun Apr 27 22:20:34 2014
+++ src/racket/sconfig.h Sun Apr 27 22:37:54 2014
@@ -313,12 +313,16 @@
$OpenBSD: patch-src_racket_sconfig_h,v 1.5 2014/06/22 10:59:37 juanfra Exp $
--- src/racket/sconfig.h.orig Thu Apr 17 21:58:42 2014
+++ src/racket/sconfig.h Sat Jun 14 00:26:23 2014
@@ -313,12 +313,22 @@
/************** x86/OpenBSD with gcc ****************/
/* Thanks to Bengt Kleberg */
-#if defined(__OpenBSD__) && (defined(__i386__) || defined(i386) || defined(__x86_64__))
+#if defined(__OpenBSD__)
+#if defined(__OpenBSD__)
# if defined(__x86_64__)
# define SCHEME_PLATFORM_LIBRARY_SUBPATH "x86_64-openbsd"
-# else
+# elif defined(__i386__) || defined(i386)
# define SCHEME_PLATFORM_LIBRARY_SUBPATH "i386-openbsd"
+# elif defined(__mips64__)
+# if defined(__MIPSEL__)
+# define SCHEME_PLATFORM_LIBRARY_SUBPATH "mips64el-openbsd"
+# else
+# define SCHEME_PLATFORM_LIBRARY_SUBPATH "mips64-openbsd"
+# endif
+# elif defined(__hppa__)
+# define SCHEME_PLATFORM_LIBRARY_SUBPATH "hppa-openbsd"
+# else
@ -20,7 +26,7 @@ $OpenBSD: patch-src_racket_sconfig_h,v 1.4 2014/05/14 17:51:40 juanfra Exp $
# endif
# include "uconfig.h"
@@ -356,8 +360,6 @@
@@ -356,8 +366,6 @@
# define MZ_USE_JIT_I386
# define MZ_JIT_USE_MPROTECT
# define MZ_TRY_EXTFLONUMS
@ -29,3 +35,22 @@ $OpenBSD: patch-src_racket_sconfig_h,v 1.4 2014/05/14 17:51:40 juanfra Exp $
#endif
# define FLAGS_ALREADY_SET
@@ -428,7 +436,7 @@
/************** SGI/IRIX with SGI cc ****************/
#if (defined(mips) || defined(__mips)) \
- && !(defined(ultrix) || defined(__ultrix) || defined(linux))
+ && !(defined(ultrix) || defined(__ultrix) || defined(linux) || defined(__OpenBSD__))
# define SCHEME_PLATFORM_LIBRARY_SUBPATH "mips-irix"
@@ -472,7 +480,8 @@
/************** ALPHA/OSF1 with gcc ****************/
-# if (defined(__alpha) || defined(__alpha__)) && !defined(linux) && !defined(__NetBSD__)
+# if (defined(__alpha) || defined(__alpha__)) \
+ && !defined(linux) && !defined(__NetBSD__) && !defined(__OpenBSD__)
# define SCHEME_PLATFORM_LIBRARY_SUBPATH "alpha-osf1"