From: dfoley <dfoley@telus.net>
To: openembedded-devel@lists.openembedded.org
Subject: Re: building classpath / ecj-initial fails
Date: Mon, 11 Jan 2010 07:51:33 -0800 [thread overview]
Message-ID: <4B4B4905.6050705@telus.net> (raw)
In-Reply-To: <1263219513.3293.6.camel@nvc1511>
Jaap de Jong wrote:
> Hi Henning,
>
> My approach after many unsuccessful attempts:
>
> - install
> apt-get install sun-java6-jdk
> - edit local.conf
> ASSUME_PROVIDED += " ecj-initial "
> ASSUME_PROVIDED += " virtual/java-initial "
> ASSUME_PROVIDED += " virtual/java-native "
> ASSUME_PROVIDED += " virtual/javac-native "
> PREFERRED_PROVIDER_classpath = "classpath"
> PREFERRED_VERSION_classpath = "0.97.2"
> - bitbake cacao
>
> Could not get jamvm nor classpath 0.98 compiled.
>
> Regards,
> Jaap
Could you try changing "-Xmx1024m" to "-Xmx512m" in recipes/ecj/files/ecj.in
and I think rebuilding ecj-bootstrap-native and ecj-initial.
It worked for me.
>
>
> On Mon, 2010-01-11 at 10:40 +0100, Martin Jansa wrote:
>> On Mon, Jan 11, 2010 at 09:27:00AM +0000, Chris Veigl wrote:
>>> Dear Henning,
>>>
>>> thank you for the fast response,
>>>
>>>> jamvm 1.5 needs classpath-0.98, we don't use classpath-0.98 yet as default
>>>> because there were some issues with cacao. So add
>>>> PREFFERED_VERSION_classpath = "0.98"
>>>> to your local.conf and it should work.
>>> after my first rebuild i did not notice any effect,
>>> then i relalized the type in "PREFERRED_VERSION_classpath" ;-)
>>>
>>> after that changed, i still got the same error,
>>> because the problem happens at the config of classpath_native...
>>>
>>> i then deleted my tmp folder and gave it another try, using
>>> the settings recommended at http://wiki.openembedded.net/index.php/Java :
>>>
>>> PREFERRED_VERSION_jamvm-initial = "1.4.5"
>>> PREFERRED_VERSION_classpath-initial = "0.93"
>>>
>>> PREFERRED_VERSION_jamvm-native = "1.5.3"
>>> PREFERRED_VERSION_classpath-native = "0.98"
>>>
>>> PREFERRED_VERSION_jamvm = "1.5.2"
>>> PREFERRED_VERSION_classpath = "0.98"
>>>
>>> PREFERRED_VERSION_libecj-bootstrap = "3.4"
>>>
>>>
>>> Unfortunately, i ran into a different error using this configuration:
>>>
>>> task 1610 of 7888 (ID: 3738,
>>> /media/disk/overo-oe/org.openembedded.dev/recipes/classpath/classpath-
>>> native_0.98.bb,
>>> do_compile)
>>> ERROR: function do_compile failed
>>>
>>> /media/disk/overo-oe/tmp/staging/i686-linux/usr/bin/java-initial -classpath
>>> antlr.Tool -o ../tools/generated/gnu/classpath/tools/gjdoc/expr/ \
>>> | ./gnu/classpath/tools/gjdoc/expr/java-expression.g
>>> | Unrecognised command line option: -o
>> git pull.. se my commit yesterday
>>
>>> any ideas what is going wrong now ?
>>> regards,
>>> chris
>> Regards,
>>
next prev parent reply other threads:[~2010-01-11 15:57 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-09 20:47 building classpath / ecj-initial fails Chris Veigl
2010-01-09 22:11 ` Henning Heinold
2010-01-11 9:27 ` Chris Veigl
2010-01-11 9:40 ` Martin Jansa
2010-01-11 14:18 ` Jaap de Jong
2010-01-11 15:51 ` dfoley [this message]
2010-01-11 19:01 ` Dallas Foley
2010-01-11 20:56 ` Chris Veigl
2010-01-11 20:57 ` Chris Veigl
2010-01-11 21:35 ` Martin Jansa
2010-01-12 0:03 ` Chris Veigl
2010-01-12 8:32 ` Chris Veigl
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=4B4B4905.6050705@telus.net \
--to=dfoley@telus.net \
--cc=openembedded-devel@lists.openembedded.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