Update to 1.6.1.

This commit is contained in:
Jung-uk Kim 2013-07-08 23:13:51 +00:00
parent b72e612d95
commit d4423f257b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=322543
6 changed files with 54 additions and 65 deletions

View file

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= cacao
PORTVERSION= 1.6.0
PORTVERSION= 1.6.1
CATEGORIES= java devel
MASTER_SITES= http://www.complang.tuwien.ac.at/cacaojvm/download/cacao-${PORTVERSION}/
@ -20,7 +20,8 @@ USE_XZ= yes
MAN1= cacao.1
CONFIGURE_ARGS= --with-java-runtime-library=gnuclasspath \
CONFIGURE_ARGS= --disable-test-dependency-checks \
--with-java-runtime-library=gnuclasspath \
--with-java-runtime-library-prefix=${PREFIX} \
--with-build-java-runtime-library-classes=${LOCALBASE}/share/classpath/glibj.zip
CONFIGURE_ENV= JAVAC="${JAVAC}" JAR="${JAR}"
@ -34,9 +35,9 @@ JDK_DESC= Build with native JDK
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MJDK}
USE_JAVA= yes
JAVA_BUILD= jdk
JAVA_VERSION= 1.6+
BUILD_DEPENDS+= ${LOCALBASE}/bootstrap-openjdk/bin/javac:${PORTSDIR}/java/bootstrap-openjdk
JAR= ${LOCALBASE}/bootstrap-openjdk/bin/jar
JAVAC= ${LOCALBASE}/bootstrap-openjdk/bin/javac
.else
.if defined(WITH_GCC)
GCC_SUFX= ${WITH_GCC:S/.//}

View file

@ -1,2 +1,2 @@
SHA256 (cacao-1.6.0.tar.xz) = e654e5f158b8fdc0b1282efacc370f6e65ee6c0336945506e86fd7e705d98626
SIZE (cacao-1.6.0.tar.xz) = 2394588
SHA256 (cacao-1.6.1.tar.xz) = eecc8bd1b528a028f43d9d1d0c06b97855bbf1d40e03826d911ebbc0b6971e12
SIZE (cacao-1.6.1.tar.xz) = 2329964

View file

@ -1,20 +0,0 @@
--- src/mm/boehm-gc/pthread_support.c.orig 2012-09-03 12:10:00.000000000 -0400
+++ src/mm/boehm-gc/pthread_support.c 2012-10-04 19:46:21.000000000 -0400
@@ -1080,17 +1080,6 @@
/* can't have been recycled by pthreads. */
UNLOCK();
result = REAL_FUNC(pthread_join)(thread, retval);
-# if defined (GC_FREEBSD_THREADS)
- /* On FreeBSD, the wrapped pthread_join() sometimes returns (what
- appears to be) a spurious EINTR which caused the test and real code
- to gratuitously fail. Having looked at system pthread library source
- code, I see how this return code may be generated. In one path of
- code, pthread_join() just returns the errno setting of the thread
- being joined. This does not match the POSIX specification or the
- local man pages thus I have taken the liberty to catch this one
- spurious return value properly conditionalized on GC_FREEBSD_THREADS. */
- if (result == EINTR) result = 0;
-# endif
if (result == 0) {
LOCK();
/* Here the pthread thread id may have been recycled. */

View file

@ -1,7 +1,7 @@
--- src/threads/thread.cpp.orig 2012-09-03 12:10:00.000000000 -0400
+++ src/threads/thread.cpp 2012-10-04 16:37:45.000000000 -0400
@@ -37,6 +37,8 @@
--- src/threads/thread.cpp.orig 2013-06-28 09:22:26.000000000 -0400
+++ src/threads/thread.cpp 2013-07-08 15:41:56.000000000 -0400
@@ -51,6 +51,8 @@
#if defined(ENABLE_GC_BOEHM)
# if defined(__LINUX__)
# define GC_LINUX_THREADS
+# elif defined(__FREEBSD__)

View file

@ -1,8 +1,8 @@
--- src/vm/jit/i386/freebsd/md-os.c.orig 2012-09-03 12:10:00.000000000 -0400
+++ src/vm/jit/i386/freebsd/md-os.c 2012-10-04 17:01:47.000000000 -0400
--- src/vm/jit/i386/freebsd/md-os.cpp.orig 2013-06-28 09:22:26.000000000 -0400
+++ src/vm/jit/i386/freebsd/md-os.cpp 2013-07-08 16:02:06.000000000 -0400
@@ -2,6 +2,7 @@
Copyright (C) 1996-2005, 2006, 2007, 2008
Copyright (C) 1996-2013
CACAOVM - Verein zur Foerderung der freien virtuellen Maschine CACAO
+ Copyright (C) 2009 Theobroma Systems Ltd.
@ -15,8 +15,8 @@
-#include "vm/jit/builtin.hpp"
#include "vm/signallocal.hpp"
-#include "vm/jit/asmpart.h"
#include "vm/jit/executionstate.h"
-#include "vm/jit/asmpart.hpp"
#include "vm/jit/executionstate.hpp"
-#include "vm/jit/stacktrace.hpp"
#include "vm/jit/trap.hpp"
@ -323,3 +323,12 @@
}
@@ -341,7 +186,7 @@
* Emacs will automagically detect them.
* ---------------------------------------------------------------------
* Local variables:
- * mode: c
+ * mode: c++
* indent-tabs-mode: t
* c-basic-offset: 4
* tab-width: 4

View file

@ -1,41 +1,40 @@
--- src/vm/jit/x86_64/freebsd/md-os.c.orig 2012-09-03 12:10:00.000000000 -0400
+++ src/vm/jit/x86_64/freebsd/md-os.c 2012-10-04 17:04:18.000000000 -0400
--- src/vm/jit/x86_64/freebsd/md-os.cpp.orig 2013-06-28 09:22:27.000000000 -0400
+++ src/vm/jit/x86_64/freebsd/md-os.cpp 2013-07-08 16:05:56.000000000 -0400
@@ -2,7 +2,6 @@
Copyright (C) 2007, 2008
Copyright (C) 1996-2013
CACAOVM - Verein zur Foerderung der freien virtuellen Maschine CACAO
- Copyright (C) 2009 Theobroma Systems Ltd.
This file is part of CACAO.
@@ -27,80 +26,67 @@
#include "config.h"
@@ -28,79 +27,65 @@
#include <assert.h>
#include <cassert>
#include <cstdlib>
+#include <stdint.h>
#include <stdlib.h>
#include <ucontext.h>
+#include "vm/types.h"
+
+#include "vm/jit/x86_64/codegen.h"
+#include "vm/jit/x86_64/md.h"
+
#include "threads/thread.hpp"
-#include "threads/thread.hpp"
-
-#include "vm/signallocal.hpp"
+#include "vm/types.hpp"
#include "vm/signallocal.hpp"
#include "vm/jit/asmpart.h"
-#include "vm/jit/asmpart.hpp"
-#include "vm/jit/stacktrace.hpp"
-
-
+#include "vm/jit/x86_64/codegen.hpp"
+#include "vm/jit/x86_64/md.hpp"
+#include "threads/thread.hpp"
-/* md_signal_handler_sigsegv ***************************************************
+#include "vm/jit/executionstate.h"
+#include "vm/jit/trap.hpp"
+#include "vm/signallocal.hpp"
- NullPointerException signal handler for hardware null pointer
- check.
-
+#include "vm/jit/executionstate.hpp"
+#include "vm/jit/trap.hpp"
-*******************************************************************************/
+/**
@ -126,7 +125,7 @@
}
@@ -130,6 +116,88 @@
@@ -130,6 +115,88 @@
#endif