* [meta-java][PATCH] cacao: fix problem with internal garbage collector
@ 2015-03-30 19:06 Hugo Vasconcelos Saldanha
2015-03-30 20:25 ` Henning Heinold
2015-03-31 0:46 ` Otavio Salvador
0 siblings, 2 replies; 10+ messages in thread
From: Hugo Vasconcelos Saldanha @ 2015-03-30 19:06 UTC (permalink / raw)
To: openembedded-devel
Cacao uses an internal version of bdwgc that was being installed
(headers, libs, etc.) together with the JVM, unnecessarily conflicting
with original bwdgc package.
A patch from Gentoo is applied so the system's bdwgc is used instead.
Signed-off-by: Hugo Vasconcelos Saldanha <hugo.saldanha@aker.com.br>
---
.../cacao/cacao-1.6.1/system-boehm-gc.patch | 47 ++++++++++++++++++++++
recipes-core/cacao/cacao_1.6.1.bb | 8 ++--
2 files changed, 51 insertions(+), 4 deletions(-)
create mode 100644 recipes-core/cacao/cacao-1.6.1/system-boehm-gc.patch
diff --git a/recipes-core/cacao/cacao-1.6.1/system-boehm-gc.patch b/recipes-core/cacao/cacao-1.6.1/system-boehm-gc.patch
new file mode 100644
index 0000000..27b6258
--- /dev/null
+++ b/recipes-core/cacao/cacao-1.6.1/system-boehm-gc.patch
@@ -0,0 +1,47 @@
+diff --git a/configure.ac b/configure.ac
+--- a/configure.ac
++++ b/configure.ac
+@@ -691,6 +691,8 @@
+
+ AC_CHECK_ENABLE_PIC_ASM
+
++PKG_CHECK_MODULES([BOEHM], bdw-gc,,AC_MSG_ERROR[boehm-gc not found])
++
+ dnl Define version numbers.
+ AC_VERSION_DETAIL
+ AC_VERSION_CONFIG
+@@ -793,12 +795,6 @@
+ )
+
+
+-dnl We only build the shared library objects but we use it as
+-dnl noinst_LTLIBRARIES.
+-ac_configure_args="$ac_configure_args --disable-static"
+-AC_CONFIG_SUBDIRS(src/mm/boehm-gc)
+-
+-
+ AC_OUTPUT
+
+
+diff --git a/src/mm/Makefile.am b/src/mm/Makefile.am
+--- a/src/mm/Makefile.am
++++ b/src/mm/Makefile.am
+@@ -35,14 +35,13 @@
+ endif
+
+ if ENABLE_GC_BOEHM
+-SUBDIRS = \
+- boehm-gc
+-
+ GC_FILE = \
+ gc-boehm.cpp
+
+-GC_LIB = \
+- $(top_builddir)/src/mm/boehm-gc/libgc.la
++AM_CPPFLAGS += $(BOEHM_CFLAGS)
++
++GC_LIB = $(BOEHM_LIBS)
++
+ endif
+
+ if ENABLE_GC_CACAO
diff --git a/recipes-core/cacao/cacao_1.6.1.bb b/recipes-core/cacao/cacao_1.6.1.bb
index 9f07946..65aaf93 100644
--- a/recipes-core/cacao/cacao_1.6.1.bb
+++ b/recipes-core/cacao/cacao_1.6.1.bb
@@ -4,14 +4,14 @@ LICENSE = "GPL-2.0"
LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552"
SECTION = "interpreters"
-DEPENDS_class-native = "zlib-native libtool-native ecj-initial-native fastjar-native classpath-native"
+DEPENDS_class-native = "zlib-native libtool-native ecj-initial-native fastjar-native classpath-native bdwgc-native"
PROVIDES_class-native = "virtual/java-native"
-DEPENDS = "zlib libtool classpath virtual/javac-native"
-DEPENDS_${PN} = "classpath"
+DEPENDS = "zlib libtool classpath virtual/javac-native bdwgc"
RPROVIDES_${PN} = "java2-runtime"
-SRC_URI = "http://www.complang.tuwien.ac.at/cacaojvm/download/cacao-${PV}/cacao-${PV}.tar.xz"
+SRC_URI = "http://www.complang.tuwien.ac.at/cacaojvm/download/cacao-${PV}/cacao-${PV}.tar.xz \
+ file://system-boehm-gc.patch"
SRC_URI[md5sum] = "2c18478404afd1cffdd15ad1e9d85a57"
SRC_URI[sha256sum] = "eecc8bd1b528a028f43d9d1d0c06b97855bbf1d40e03826d911ebbc0b6971e12"
--
2.3.4
^ permalink raw reply related [flat|nested] 10+ messages in thread
* Re: [meta-java][PATCH] cacao: fix problem with internal garbage collector
2015-03-30 19:06 [meta-java][PATCH] cacao: fix problem with internal garbage collector Hugo Vasconcelos Saldanha
@ 2015-03-30 20:25 ` Henning Heinold
2015-03-31 0:45 ` Otavio Salvador
2015-03-31 0:46 ` Otavio Salvador
1 sibling, 1 reply; 10+ messages in thread
From: Henning Heinold @ 2015-03-30 20:25 UTC (permalink / raw)
To: openembedded-devel
On Mon, Mar 30, 2015 at 04:06:11PM -0300, Hugo Vasconcelos Saldanha wrote:
> Cacao uses an internal version of bdwgc that was being installed
> (headers, libs, etc.) together with the JVM, unnecessarily conflicting
> with original bwdgc package.
>
> A patch from Gentoo is applied so the system's bdwgc is used instead.
>
> Signed-off-by: Hugo Vasconcelos Saldanha <hugo.saldanha@aker.com.br>
> ---
> .../cacao/cacao-1.6.1/system-boehm-gc.patch | 47 ++++++++++++++++++++++
> recipes-core/cacao/cacao_1.6.1.bb | 8 ++--
> 2 files changed, 51 insertions(+), 4 deletions(-)
> create mode 100644 recipes-core/cacao/cacao-1.6.1/system-boehm-gc.patch
>
> diff --git a/recipes-core/cacao/cacao-1.6.1/system-boehm-gc.patch b/recipes-core/cacao/cacao-1.6.1/system-boehm-gc.patch
> new file mode 100644
> index 0000000..27b6258
> --- /dev/null
> +++ b/recipes-core/cacao/cacao-1.6.1/system-boehm-gc.patch
> @@ -0,0 +1,47 @@
> +diff --git a/configure.ac b/configure.ac
> +--- a/configure.ac
> ++++ b/configure.ac
> +@@ -691,6 +691,8 @@
> +
> + AC_CHECK_ENABLE_PIC_ASM
> +
> ++PKG_CHECK_MODULES([BOEHM], bdw-gc,,AC_MSG_ERROR[boehm-gc not found])
> ++
> + dnl Define version numbers.
> + AC_VERSION_DETAIL
> + AC_VERSION_CONFIG
> +@@ -793,12 +795,6 @@
> + )
> +
> +
> +-dnl We only build the shared library objects but we use it as
> +-dnl noinst_LTLIBRARIES.
> +-ac_configure_args="$ac_configure_args --disable-static"
> +-AC_CONFIG_SUBDIRS(src/mm/boehm-gc)
> +-
> +-
> + AC_OUTPUT
> +
> +
> +diff --git a/src/mm/Makefile.am b/src/mm/Makefile.am
> +--- a/src/mm/Makefile.am
> ++++ b/src/mm/Makefile.am
> +@@ -35,14 +35,13 @@
> + endif
> +
> + if ENABLE_GC_BOEHM
> +-SUBDIRS = \
> +- boehm-gc
> +-
> + GC_FILE = \
> + gc-boehm.cpp
> +
> +-GC_LIB = \
> +- $(top_builddir)/src/mm/boehm-gc/libgc.la
> ++AM_CPPFLAGS += $(BOEHM_CFLAGS)
> ++
> ++GC_LIB = $(BOEHM_LIBS)
> ++
> + endif
> +
> + if ENABLE_GC_CACAO
> diff --git a/recipes-core/cacao/cacao_1.6.1.bb b/recipes-core/cacao/cacao_1.6.1.bb
> index 9f07946..65aaf93 100644
> --- a/recipes-core/cacao/cacao_1.6.1.bb
> +++ b/recipes-core/cacao/cacao_1.6.1.bb
> @@ -4,14 +4,14 @@ LICENSE = "GPL-2.0"
> LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552"
> SECTION = "interpreters"
>
> -DEPENDS_class-native = "zlib-native libtool-native ecj-initial-native fastjar-native classpath-native"
> +DEPENDS_class-native = "zlib-native libtool-native ecj-initial-native fastjar-native classpath-native bdwgc-native"
> PROVIDES_class-native = "virtual/java-native"
>
> -DEPENDS = "zlib libtool classpath virtual/javac-native"
> -DEPENDS_${PN} = "classpath"
> +DEPENDS = "zlib libtool classpath virtual/javac-native bdwgc"
> RPROVIDES_${PN} = "java2-runtime"
>
> -SRC_URI = "http://www.complang.tuwien.ac.at/cacaojvm/download/cacao-${PV}/cacao-${PV}.tar.xz"
> +SRC_URI = "http://www.complang.tuwien.ac.at/cacaojvm/download/cacao-${PV}/cacao-${PV}.tar.xz \
> + file://system-boehm-gc.patch"
> SRC_URI[md5sum] = "2c18478404afd1cffdd15ad1e9d85a57"
> SRC_URI[sha256sum] = "eecc8bd1b528a028f43d9d1d0c06b97855bbf1d40e03826d911ebbc0b6971e12"
>
> --
> 2.3.4
Hm,
if I remember correctly, than the bdwgc inside cacao differs from upstream.
Bye Henning
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [meta-java][PATCH] cacao: fix problem with internal garbage collector
2015-03-30 20:25 ` Henning Heinold
@ 2015-03-31 0:45 ` Otavio Salvador
2015-03-31 1:40 ` Khem Raj
0 siblings, 1 reply; 10+ messages in thread
From: Otavio Salvador @ 2015-03-31 0:45 UTC (permalink / raw)
To: OpenEmbedded Devel List
On Mon, Mar 30, 2015 at 5:25 PM, Henning Heinold
<henning@itconsulting-heinold.de> wrote:
> if I remember correctly, than the bdwgc inside cacao differs from upstream.
I didn't compare them but assuming this works fine I am fine with this
change. It reduces build time and also fixes a conflicting binary
installation.
--
Otavio Salvador O.S. Systems
http://www.ossystems.com.br http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [meta-java][PATCH] cacao: fix problem with internal garbage collector
2015-03-30 19:06 [meta-java][PATCH] cacao: fix problem with internal garbage collector Hugo Vasconcelos Saldanha
2015-03-30 20:25 ` Henning Heinold
@ 2015-03-31 0:46 ` Otavio Salvador
2015-03-31 13:51 ` Hugo Vasconcelos Saldanha
2015-03-31 16:39 ` [meta-java][PATCH v2] " Hugo Vasconcelos Saldanha
1 sibling, 2 replies; 10+ messages in thread
From: Otavio Salvador @ 2015-03-31 0:46 UTC (permalink / raw)
To: OpenEmbedded Devel List
On Mon, Mar 30, 2015 at 4:06 PM, Hugo Vasconcelos Saldanha
<hugo.saldanha@aker.com.br> wrote:
> Cacao uses an internal version of bdwgc that was being installed
> (headers, libs, etc.) together with the JVM, unnecessarily conflicting
> with original bwdgc package.
>
> A patch from Gentoo is applied so the system's bdwgc is used instead.
>
> Signed-off-by: Hugo Vasconcelos Saldanha <hugo.saldanha@aker.com.br>
Please add a patch description, signed-off-by and also Upstream-Status header.
> --- /dev/null
> +++ b/recipes-core/cacao/cacao-1.6.1/system-boehm-gc.patch
> @@ -0,0 +1,47 @@
> +diff --git a/configure.ac b/configure.ac
> +--- a/configure.ac
> ++++ b/configure.ac
> +@@ -691,6 +691,8 @@
> +
> + AC_CHECK_ENABLE_PIC_ASM
> +
> ++PKG_CHECK_MODULES([BOEHM], bdw-gc,,AC_MSG_ERROR[boehm-gc not found])
> ++
> + dnl Define version numbers.
> + AC_VERSION_DETAIL
> + AC_VERSION_CONFIG
> +@@ -793,12 +795,6 @@
> + )
> +
> +
> +-dnl We only build the shared library objects but we use it as
> +-dnl noinst_LTLIBRARIES.
> +-ac_configure_args="$ac_configure_args --disable-static"
> +-AC_CONFIG_SUBDIRS(src/mm/boehm-gc)
> +-
> +-
> + AC_OUTPUT
> +
> +
> +diff --git a/src/mm/Makefile.am b/src/mm/Makefile.am
> +--- a/src/mm/Makefile.am
> ++++ b/src/mm/Makefile.am
> +@@ -35,14 +35,13 @@
> + endif
> +
> + if ENABLE_GC_BOEHM
> +-SUBDIRS = \
> +- boehm-gc
> +-
> + GC_FILE = \
> + gc-boehm.cpp
> +
> +-GC_LIB = \
> +- $(top_builddir)/src/mm/boehm-gc/libgc.la
> ++AM_CPPFLAGS += $(BOEHM_CFLAGS)
> ++
> ++GC_LIB = $(BOEHM_LIBS)
> ++
> + endif
> +
> + if ENABLE_GC_CACAO
> diff --git a/recipes-core/cacao/cacao_1.6.1.bb b/recipes-core/cacao/cacao_1.6.1.bb
> index 9f07946..65aaf93 100644
> --- a/recipes-core/cacao/cacao_1.6.1.bb
> +++ b/recipes-core/cacao/cacao_1.6.1.bb
> @@ -4,14 +4,14 @@ LICENSE = "GPL-2.0"
> LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552"
> SECTION = "interpreters"
>
> -DEPENDS_class-native = "zlib-native libtool-native ecj-initial-native fastjar-native classpath-native"
> +DEPENDS_class-native = "zlib-native libtool-native ecj-initial-native fastjar-native classpath-native bdwgc-native"
> PROVIDES_class-native = "virtual/java-native"
>
> -DEPENDS = "zlib libtool classpath virtual/javac-native"
> -DEPENDS_${PN} = "classpath"
> +DEPENDS = "zlib libtool classpath virtual/javac-native bdwgc"
> RPROVIDES_${PN} = "java2-runtime"
>
> -SRC_URI = "http://www.complang.tuwien.ac.at/cacaojvm/download/cacao-${PV}/cacao-${PV}.tar.xz"
> +SRC_URI = "http://www.complang.tuwien.ac.at/cacaojvm/download/cacao-${PV}/cacao-${PV}.tar.xz \
> + file://system-boehm-gc.patch"
> SRC_URI[md5sum] = "2c18478404afd1cffdd15ad1e9d85a57"
> SRC_URI[sha256sum] = "eecc8bd1b528a028f43d9d1d0c06b97855bbf1d40e03826d911ebbc0b6971e12"
>
> --
> 2.3.4
>
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
--
Otavio Salvador O.S. Systems
http://www.ossystems.com.br http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [meta-java][PATCH] cacao: fix problem with internal garbage collector
2015-03-31 0:45 ` Otavio Salvador
@ 2015-03-31 1:40 ` Khem Raj
2015-03-31 1:42 ` Otavio Salvador
0 siblings, 1 reply; 10+ messages in thread
From: Khem Raj @ 2015-03-31 1:40 UTC (permalink / raw)
To: openembedded-devel
> On Mar 30, 2015, at 5:45 PM, Otavio Salvador <otavio@ossystems.com.br> wrote:
>
> On Mon, Mar 30, 2015 at 5:25 PM, Henning Heinold
> <henning@itconsulting-heinold.de> wrote:
>> if I remember correctly, than the bdwgc inside cacao differs from upstream.
>
there must be a reason why cacao decided to fork its own copy. Do we know ?
> I didn't compare them but assuming this works fine I am fine with this
> change. It reduces build time and also fixes a conflicting binary
> installation.
>
> --
> Otavio Salvador O.S. Systems
> http://www.ossystems.com.br http://code.ossystems.com.br
> Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [meta-java][PATCH] cacao: fix problem with internal garbage collector
2015-03-31 1:40 ` Khem Raj
@ 2015-03-31 1:42 ` Otavio Salvador
2015-03-31 2:08 ` Khem Raj
0 siblings, 1 reply; 10+ messages in thread
From: Otavio Salvador @ 2015-03-31 1:42 UTC (permalink / raw)
To: OpenEmbedded Devel List
On Mon, Mar 30, 2015 at 10:40 PM, Khem Raj <raj.khem@gmail.com> wrote:
>
>> On Mar 30, 2015, at 5:45 PM, Otavio Salvador <otavio@ossystems.com.br> wrote:
>>
>> On Mon, Mar 30, 2015 at 5:25 PM, Henning Heinold
>> <henning@itconsulting-heinold.de> wrote:
>>> if I remember correctly, than the bdwgc inside cacao differs from upstream.
>>
>
> there must be a reason why cacao decided to fork its own copy. Do we know ?
I don't. We could compare the versions and see if it has any change.
--
Otavio Salvador O.S. Systems
http://www.ossystems.com.br http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [meta-java][PATCH] cacao: fix problem with internal garbage collector
2015-03-31 1:42 ` Otavio Salvador
@ 2015-03-31 2:08 ` Khem Raj
2015-03-31 13:47 ` Hugo Vasconcelos Saldanha
0 siblings, 1 reply; 10+ messages in thread
From: Khem Raj @ 2015-03-31 2:08 UTC (permalink / raw)
To: openembedded-devel
> On Mar 30, 2015, at 6:42 PM, Otavio Salvador <otavio@ossystems.com.br> wrote:
>
> On Mon, Mar 30, 2015 at 10:40 PM, Khem Raj <raj.khem@gmail.com> wrote:
>>
>>> On Mar 30, 2015, at 5:45 PM, Otavio Salvador <otavio@ossystems.com.br> wrote:
>>>
>>> On Mon, Mar 30, 2015 at 5:25 PM, Henning Heinold
>>> <henning@itconsulting-heinold.de> wrote:
>>>> if I remember correctly, than the bdwgc inside cacao differs from upstream.
>>>
>>
>> there must be a reason why cacao decided to fork its own copy. Do we know ?
>
> I don't. We could compare the versions and see if it has any change.
>
we should find the reason before we conclude anything and go one way or other
sometimes differences are very subtle
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [meta-java][PATCH] cacao: fix problem with internal garbage collector
2015-03-31 2:08 ` Khem Raj
@ 2015-03-31 13:47 ` Hugo Vasconcelos Saldanha
0 siblings, 0 replies; 10+ messages in thread
From: Hugo Vasconcelos Saldanha @ 2015-03-31 13:47 UTC (permalink / raw)
To: openembedded-devel
On Mon, Mar 30, 2015 at 11:08:43PM -0300, Khem Raj wrote:
>
> > On Mar 30, 2015, at 6:42 PM, Otavio Salvador <otavio@ossystems.com.br> wrote:
> >
> > On Mon, Mar 30, 2015 at 10:40 PM, Khem Raj <raj.khem@gmail.com> wrote:
> >>
> >>> On Mar 30, 2015, at 5:45 PM, Otavio Salvador <otavio@ossystems.com.br> wrote:
> >>>
> >>> On Mon, Mar 30, 2015 at 5:25 PM, Henning Heinold
> >>> <henning@itconsulting-heinold.de> wrote:
> >>>> if I remember correctly, than the bdwgc inside cacao differs from upstream.
> >>>
> >>
> >> there must be a reason why cacao decided to fork its own copy. Do we know ?
> >
> > I don't. We could compare the versions and see if it has any change.
> >
>
> we should find the reason before we conclude anything and go one way or other
> sometimes differences are very subtle
Looking at commit log [1], I couldn't find anything that explains why there is
a fork. I was not able to clone the repository, but browsing the source online
I cound only see commits that are upgrades and one that specifically reverts all
CACAO modifications [2].
[1] http://mips.complang.tuwien.ac.at/hg/cacao/
[2] http://mips.complang.tuwien.ac.at/hg/cacao/rev/160a7ee3aa30
--
Hugo
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [meta-java][PATCH] cacao: fix problem with internal garbage collector
2015-03-31 0:46 ` Otavio Salvador
@ 2015-03-31 13:51 ` Hugo Vasconcelos Saldanha
2015-03-31 16:39 ` [meta-java][PATCH v2] " Hugo Vasconcelos Saldanha
1 sibling, 0 replies; 10+ messages in thread
From: Hugo Vasconcelos Saldanha @ 2015-03-31 13:51 UTC (permalink / raw)
To: openembedded-devel
Hi Otavio,
On Mon, Mar 30, 2015 at 09:46:24PM -0300, Otavio Salvador wrote:
> On Mon, Mar 30, 2015 at 4:06 PM, Hugo Vasconcelos Saldanha
> <hugo.saldanha@aker.com.br> wrote:
> > Cacao uses an internal version of bdwgc that was being installed
> > (headers, libs, etc.) together with the JVM, unnecessarily conflicting
> > with original bwdgc package.
> >
> > A patch from Gentoo is applied so the system's bdwgc is used instead.
> >
> > Signed-off-by: Hugo Vasconcelos Saldanha <hugo.saldanha@aker.com.br>
>
> Please add a patch description, signed-off-by and also Upstream-Status header.
>
Sure.
--
Hugo
^ permalink raw reply [flat|nested] 10+ messages in thread
* [meta-java][PATCH v2] cacao: fix problem with internal garbage collector
2015-03-31 0:46 ` Otavio Salvador
2015-03-31 13:51 ` Hugo Vasconcelos Saldanha
@ 2015-03-31 16:39 ` Hugo Vasconcelos Saldanha
1 sibling, 0 replies; 10+ messages in thread
From: Hugo Vasconcelos Saldanha @ 2015-03-31 16:39 UTC (permalink / raw)
To: openembedded-devel
Cacao uses an internal version of bdwgc that was being installed
(headers, libs, etc.) together with the JVM, unnecessarily conflicting
with original bdwgc package.
A patch from Gentoo is applied so the system's bdwgc is used instead.
Signed-off-by: Hugo Vasconcelos Saldanha <hugo.saldanha@aker.com.br>
---
.../cacao/cacao-1.6.1/system-boehm-gc.patch | 60 ++++++++++++++++++++++
recipes-core/cacao/cacao_1.6.1.bb | 8 +--
2 files changed, 64 insertions(+), 4 deletions(-)
create mode 100644 recipes-core/cacao/cacao-1.6.1/system-boehm-gc.patch
diff --git a/recipes-core/cacao/cacao-1.6.1/system-boehm-gc.patch b/recipes-core/cacao/cacao-1.6.1/system-boehm-gc.patch
new file mode 100644
index 0000000..c30f5be
--- /dev/null
+++ b/recipes-core/cacao/cacao-1.6.1/system-boehm-gc.patch
@@ -0,0 +1,60 @@
+cacao: use system's boehm garbage collector
+
+This is a Gentoo's patch [1] to force the use of system's bdwgc.
+
+Cacao was installing an internal version of bdwgc which conflicts
+with the system's version.
+
+[1] https://gitweb.gentoo.org/proj/java.git/plain/dev-java/cacao/files/system-boehm-gc.patch
+
+Upstream-Status: Inappropriate [not author]
+
+Signed-off-by: Hugo Vasconcelos Saldanha <hugo.saldanha@aker.com.br>
+
+diff --git a/configure.ac b/configure.ac
+--- a/configure.ac
++++ b/configure.ac
+@@ -691,6 +691,8 @@
+
+ AC_CHECK_ENABLE_PIC_ASM
+
++PKG_CHECK_MODULES([BOEHM], bdw-gc,,AC_MSG_ERROR[boehm-gc not found])
++
+ dnl Define version numbers.
+ AC_VERSION_DETAIL
+ AC_VERSION_CONFIG
+@@ -793,12 +795,6 @@
+ )
+
+
+-dnl We only build the shared library objects but we use it as
+-dnl noinst_LTLIBRARIES.
+-ac_configure_args="$ac_configure_args --disable-static"
+-AC_CONFIG_SUBDIRS(src/mm/boehm-gc)
+-
+-
+ AC_OUTPUT
+
+
+diff --git a/src/mm/Makefile.am b/src/mm/Makefile.am
+--- a/src/mm/Makefile.am
++++ b/src/mm/Makefile.am
+@@ -35,14 +35,13 @@
+ endif
+
+ if ENABLE_GC_BOEHM
+-SUBDIRS = \
+- boehm-gc
+-
+ GC_FILE = \
+ gc-boehm.cpp
+
+-GC_LIB = \
+- $(top_builddir)/src/mm/boehm-gc/libgc.la
++AM_CPPFLAGS += $(BOEHM_CFLAGS)
++
++GC_LIB = $(BOEHM_LIBS)
++
+ endif
+
+ if ENABLE_GC_CACAO
diff --git a/recipes-core/cacao/cacao_1.6.1.bb b/recipes-core/cacao/cacao_1.6.1.bb
index 9f07946..65aaf93 100644
--- a/recipes-core/cacao/cacao_1.6.1.bb
+++ b/recipes-core/cacao/cacao_1.6.1.bb
@@ -4,14 +4,14 @@ LICENSE = "GPL-2.0"
LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552"
SECTION = "interpreters"
-DEPENDS_class-native = "zlib-native libtool-native ecj-initial-native fastjar-native classpath-native"
+DEPENDS_class-native = "zlib-native libtool-native ecj-initial-native fastjar-native classpath-native bdwgc-native"
PROVIDES_class-native = "virtual/java-native"
-DEPENDS = "zlib libtool classpath virtual/javac-native"
-DEPENDS_${PN} = "classpath"
+DEPENDS = "zlib libtool classpath virtual/javac-native bdwgc"
RPROVIDES_${PN} = "java2-runtime"
-SRC_URI = "http://www.complang.tuwien.ac.at/cacaojvm/download/cacao-${PV}/cacao-${PV}.tar.xz"
+SRC_URI = "http://www.complang.tuwien.ac.at/cacaojvm/download/cacao-${PV}/cacao-${PV}.tar.xz \
+ file://system-boehm-gc.patch"
SRC_URI[md5sum] = "2c18478404afd1cffdd15ad1e9d85a57"
SRC_URI[sha256sum] = "eecc8bd1b528a028f43d9d1d0c06b97855bbf1d40e03826d911ebbc0b6971e12"
--
2.3.4
^ permalink raw reply related [flat|nested] 10+ messages in thread
end of thread, other threads:[~2015-03-31 16:37 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-30 19:06 [meta-java][PATCH] cacao: fix problem with internal garbage collector Hugo Vasconcelos Saldanha
2015-03-30 20:25 ` Henning Heinold
2015-03-31 0:45 ` Otavio Salvador
2015-03-31 1:40 ` Khem Raj
2015-03-31 1:42 ` Otavio Salvador
2015-03-31 2:08 ` Khem Raj
2015-03-31 13:47 ` Hugo Vasconcelos Saldanha
2015-03-31 0:46 ` Otavio Salvador
2015-03-31 13:51 ` Hugo Vasconcelos Saldanha
2015-03-31 16:39 ` [meta-java][PATCH v2] " Hugo Vasconcelos Saldanha
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.