From: alexandre.montplaisir@polymtl.ca (Alexandre Montplaisir)
Subject: [ltt-dev] Packages in the Ubuntu LTTng PPA
Date: Fri, 10 Sep 2010 16:09:50 -0400 [thread overview]
Message-ID: <4C8A908E.8070904@polymtl.ca> (raw)
In-Reply-To: <4C8A89C2.6030800@ericsson.com>
I personally had problems with Eclipse running on OpenJDK, but as far
as jni.h goes, it seems to build just fine with it, or even with gcj-jdk.
More than that, while doing tests earlier this week I noticed
compilation warnings along the lines of "JDK rejected by preprocessor
but accepted by compiler, going with compiler's decision.", which I
don't remember having seen before. Not very reassuring.
However, those happened when linking against BOTH sun-java6 or openjdk-6
but NOT with gcj-jdk. So my guess is that I have been building the JNI
interface with gcj-jdk all along.
So the liblttvtraceread-jni package in the PPA right now builds with
gcj-jdk, and I haven't noticed any problems so far. Yes,
liblttvtraceread-jni, it's there, although I don't recommend using it
right now, it still has the marker_field bug in it. Wait for version
~lttng6 or for a new upstream version.
Cheers,
Alexandre
On 10-09-10 03:40 PM, Matthew Khouzam wrote:
> I have never used sun's java on TMF, I understand it is what we
> support officially, but since OpenJDK and sun are 95% similar (same
> code) I doubt this is an issue. I would personnaly worry about it if
> you encounter a bug.
>
> PS. Having ltt in a PPA is awesome.
>
> On 10-09-08 12:15 AM, Alexandre Montplaisir wrote:
>> Yikes, I lied about that. TMF also requires the liblttvtraceread_loader
>> to provide the JNI interface, which requires building against
>> sun-java6-jdk. Afaik, it's impossible to link against Sun's Java in
>> Launchpad, only OpenJDK (or GCJ).
>>
>> I'm afraid we can't provide the JNI loader in the PPA then, unless we
>> want to port/support the loader with OpenJDK.
>>
>
> _______________________________________________
> ltt-dev mailing list
> ltt-dev at lists.casi.polymtl.ca
> http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev
next prev parent reply other threads:[~2010-09-10 20:09 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-07 21:09 Alexandre Montplaisir
2010-09-08 4:15 ` Alexandre Montplaisir
2010-09-10 19:40 ` Matthew Khouzam
2010-09-10 20:09 ` Alexandre Montplaisir [this message]
2010-09-10 23:31 ` Alexandre Montplaisir
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=4C8A908E.8070904@polymtl.ca \
--to=alexandre.montplaisir@polymtl.ca \
/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