From: Matthias Klose <doko@ubuntu.com>
To: GCJ-patches <java-patches@gcc.gnu.org>
Subject: [patch][boehm-gc update] Define GC_GCJ_SUPPORT when boehm-gc is used
Date: Sun, 02 Dec 2012 02:10:00 -0000 [thread overview]
Message-ID: <50BAB88A.9080808@ubuntu.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 199 bytes --]
seen that GC_hblkfreelist is not declared by default. It is guarded by a
GC_GCJ_SUPPORT define. Just add this define, when built using boehm-gc.
Committed to the boehm-gc merge branch,
Matthias
[-- Attachment #2: gc-gcj-support.diff --]
[-- Type: text/x-diff, Size: 1268 bytes --]
libjava/ChangeLog.merge
2012-12-01 Matthias Klose <doko@ubuntu.com>
* configure.ac: Define and substitute GCDEFS.
Add -DGC_GCJ_SUPPORT when built for boehm-gc.
* Makefile.am (AM_CXXFLAGS): Add @GCDEFS@.
* configure, Makefile.in: Regenerate.
Index: configure.ac
===================================================================
--- configure.ac (Revision 194043)
+++ configure.ac (Arbeitskopie)
@@ -987,6 +987,7 @@
[GC=boehm])
GCLIBS=
GCINCS=
+GCDEFS=
GCDEPS=
GCSPEC=
JC1GCSPEC=
@@ -994,6 +995,7 @@
case "$GC" in
boehm)
AC_MSG_RESULT(boehm)
+ GCDEFS=-DGC_GCJ_SUPPORT
GCLIBS=../boehm-gc/libgc_convenience.la
JC1GCSPEC='-fuse-boehm-gc'
GCTESTSPEC="-L`${PWDCMD-pwd}`/../boehm-gc/.libs -rpath `${PWDCMD-pwd}`/../boehm-gc/.libs"
@@ -1013,6 +1015,7 @@
esac
AC_SUBST(GCLIBS)
AC_SUBST(GCINCS)
+AC_SUBST(GCDEFS)
AC_SUBST(GCDEPS)
AC_SUBST(GCSPEC)
AC_SUBST(JC1GCSPEC)
Index: Makefile.am
===================================================================
--- Makefile.am (Revision 194043)
+++ Makefile.am (Arbeitskopie)
@@ -361,6 +361,7 @@
@LIBGCJ_CXXFLAGS@ \
$(WARNINGS) \
-D_GNU_SOURCE \
+ @GCDEFS@ \
-DPREFIX="\"$(prefix)\"" \
-DTOOLEXECLIBDIR="\"$(toolexeclibdir)\"" \
-DJAVA_HOME="\"$(JAVA_HOME_DIR)\"" \
reply other threads:[~2012-12-02 2:10 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=50BAB88A.9080808@ubuntu.com \
--to=doko@ubuntu.com \
--cc=java-patches@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).