public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* building icedtea-7 on ARM
@ 2014-01-10  0:06 Grant
  2014-01-10  9:28 ` Andrew Haley
  0 siblings, 1 reply; 4+ messages in thread
From: Grant @ 2014-01-10  0:06 UTC (permalink / raw)
  To: gcc-help

I'm trying to build icedtea-7 on an ARM Gentoo system (Pandaboard ES)
but it fails.  I have gcj-jdk-4.8.2 and gcc-4.8.2 with gcj support
compiled in.  icedtea-6 builds fine but I need icedtea-7.  Does anyone
know how to get this to build on ARM?

'/var/tmp/portage/dev-java/icedtea-7.2.4.3/work/icedtea-2.4.3/tz.properties'
-> '/var/tmp/portage/dev-java/icedtea-7.2.4.3/work/icedtea-2.4.3/openjdk.build-boot/j2sdk-image/jre/lib/tz.properties'
touch stamps/add-tzdata-support-boot.stamp
mkdir -p /var/tmp/portage/dev-java/icedtea-7.2.4.3/work/icedtea-2.4.3/cryptocheck.build
/var/tmp/portage/dev-java/icedtea-7.2.4.3/work/icedtea-2.4.3/bootstrap/jdk1.6.0/bin/javac
-g -encoding utf-8    -source 7 -target 7 \
  -d /var/tmp/portage/dev-java/icedtea-7.2.4.3/work/icedtea-2.4.3/cryptocheck.build
./TestCryptoLevel.java
Annotation processing got disabled, since it requires a 1.6 compliant JVM
mkdir -p stamps
touch stamps/cryptocheck.stamp
if [ -e /var/tmp/portage/dev-java/icedtea-7.2.4.3/work/icedtea-2.4.3/openjdk.build-boot/j2sdk-image/bin/java
] ; then \
  /var/tmp/portage/dev-java/icedtea-7.2.4.3/work/icedtea-2.4.3/openjdk.build-boot/j2sdk-image/bin/java
-cp /var/tmp/portage/dev-java/icedtea-7.2.4.3/work/icedtea-2.4.3/cryptocheck.build
TestCryptoLevel ; \
fi
Exception in thread "main" java.lang.NullPointerException
        at java.lang.Throwable.fillInStackTrace(Throwable.java:783)
        at java.lang.Throwable.<init>(Throwable.java:250)
        at java.lang.Exception.<init>(Exception.java:54)
        at java.lang.RuntimeException.<init>(RuntimeException.java:51)
        at java.lang.NullPointerException.<init>(NullPointerException.java:60)
        at TestCryptoLevel.main(TestCryptoLevel.java:46)
make: *** [stamps/check-crypto-boot.stamp] Error 1

- Grant

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: building icedtea-7 on ARM
  2014-01-10  0:06 building icedtea-7 on ARM Grant
@ 2014-01-10  9:28 ` Andrew Haley
  2014-01-12 21:04   ` Grant
  0 siblings, 1 reply; 4+ messages in thread
From: Andrew Haley @ 2014-01-10  9:28 UTC (permalink / raw)
  To: Grant, gcc-help; +Cc: distro-pkg-dev

On 01/10/2014 12:06 AM, Grant wrote:
> I'm trying to build icedtea-7 on an ARM Gentoo system (Pandaboard ES)
> but it fails.  I have gcj-jdk-4.8.2 and gcc-4.8.2 with gcj support
> compiled in.  icedtea-6 builds fine but I need icedtea-7.  Does anyone
> know how to get this to build on ARM?

I fixed a bug on this recently.  Please try icedtea7 head.

Andrew.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: building icedtea-7 on ARM
  2014-01-10  9:28 ` Andrew Haley
@ 2014-01-12 21:04   ` Grant
  2014-01-15 13:40     ` Grant
  0 siblings, 1 reply; 4+ messages in thread
From: Grant @ 2014-01-12 21:04 UTC (permalink / raw)
  To: Andrew Haley; +Cc: gcc-help, distro-pkg-dev

>> I'm trying to build icedtea-7 on an ARM Gentoo system (Pandaboard ES)
>> but it fails.  I have gcj-jdk-4.8.2 and gcc-4.8.2 with gcj support
>> compiled in.  icedtea-6 builds fine but I need icedtea-7.  Does anyone
>> know how to get this to build on ARM?
>
> I fixed a bug on this recently.  Please try icedtea7 head.
>
> Andrew.

I finally got Gentoo's icedtea-7.9999 ebuild working to the point that
it fails with almost the same error I posted before.  It looks the
same except there is no "Annotation processing got disabled, since it
requires a 1.6 compliant JVM" error.  I think that's a live ebuild but
maybe not.  Could you point me to the bug or the patch so I can make
sure it is applied in my build?

mkdir -p /var/tmp/portage/dev-java/icedtea-7.9999/work/icedtea-9999/cryptocheck.build
/var/tmp/portage/dev-java/icedtea-7.9999/work/icedtea-9999/bootstrap/jdk1.6.0/bin/javac
-g -encoding utf-8    -source 6 -target 6 \
  -d /var/tmp/portage/dev-java/icedtea-7.9999/work/icedtea-9999/cryptocheck.build
./TestCryptoLevel.java
mkdir -p stamps
touch stamps/cryptocheck.stamp
if [ -e /var/tmp/portage/dev-java/icedtea-7.9999/work/icedtea-9999/openjdk.build-boot/j2sdk-image/bin/java
] ; then \
  /var/tmp/portage/dev-java/icedtea-7.9999/work/icedtea-9999/openjdk.build-boot/j2sdk-image/bin/java
-cp /var/tmp/portage/dev-java/icedtea-7.9999/work/icedtea-9999/cryptocheck.build
TestCryptoLevel ; \
fi
Exception in thread "main" java.lang.NullPointerException
        at java.lang.Throwable.fillInStackTrace(Throwable.java:783)
        at java.lang.Throwable.<init>(Throwable.java:250)
        at java.lang.Exception.<init>(Exception.java:54)
        at java.lang.RuntimeException.<init>(RuntimeException.java:51)
        at java.lang.NullPointerException.<init>(NullPointerException.java:60)
        at TestCryptoLevel.main(TestCryptoLevel.java:45)
make: *** [stamps/check-crypto-boot.stamp] Error 1

- Grant

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: building icedtea-7 on ARM
  2014-01-12 21:04   ` Grant
@ 2014-01-15 13:40     ` Grant
  0 siblings, 0 replies; 4+ messages in thread
From: Grant @ 2014-01-15 13:40 UTC (permalink / raw)
  To: Andrew Haley; +Cc: gcc-help, distro-pkg-dev

>>> I'm trying to build icedtea-7 on an ARM Gentoo system (Pandaboard ES)
>>> but it fails.  I have gcj-jdk-4.8.2 and gcc-4.8.2 with gcj support
>>> compiled in.  icedtea-6 builds fine but I need icedtea-7.  Does anyone
>>> know how to get this to build on ARM?
>>
>> I fixed a bug on this recently.  Please try icedtea7 head.
>>
>> Andrew.
>
> I finally got Gentoo's icedtea-7.9999 ebuild working to the point that
> it fails with almost the same error I posted before.  It looks the
> same except there is no "Annotation processing got disabled, since it
> requires a 1.6 compliant JVM" error.  I think that's a live ebuild but
> maybe not.  Could you point me to the bug or the patch so I can make
> sure it is applied in my build?
>
> mkdir -p /var/tmp/portage/dev-java/icedtea-7.9999/work/icedtea-9999/cryptocheck.build
> /var/tmp/portage/dev-java/icedtea-7.9999/work/icedtea-9999/bootstrap/jdk1.6.0/bin/javac
> -g -encoding utf-8    -source 6 -target 6 \
>   -d /var/tmp/portage/dev-java/icedtea-7.9999/work/icedtea-9999/cryptocheck.build
> ./TestCryptoLevel.java
> mkdir -p stamps
> touch stamps/cryptocheck.stamp
> if [ -e /var/tmp/portage/dev-java/icedtea-7.9999/work/icedtea-9999/openjdk.build-boot/j2sdk-image/bin/java
> ] ; then \
>   /var/tmp/portage/dev-java/icedtea-7.9999/work/icedtea-9999/openjdk.build-boot/j2sdk-image/bin/java
> -cp /var/tmp/portage/dev-java/icedtea-7.9999/work/icedtea-9999/cryptocheck.build
> TestCryptoLevel ; \
> fi
> Exception in thread "main" java.lang.NullPointerException
>         at java.lang.Throwable.fillInStackTrace(Throwable.java:783)
>         at java.lang.Throwable.<init>(Throwable.java:250)
>         at java.lang.Exception.<init>(Exception.java:54)
>         at java.lang.RuntimeException.<init>(RuntimeException.java:51)
>         at java.lang.NullPointerException.<init>(NullPointerException.java:60)
>         at TestCryptoLevel.main(TestCryptoLevel.java:45)
> make: *** [stamps/check-crypto-boot.stamp] Error 1
>
> - Grant

Hi Andrew, can you point me in the right direction with this?  Here
are a couple errors I'm getting depending on compile options and
bootstrap VM:

http://pastebin.com/VV3rMezP
http://pastebin.com/ThjufjyH

- Grant

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-01-15 13:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-10  0:06 building icedtea-7 on ARM Grant
2014-01-10  9:28 ` Andrew Haley
2014-01-12 21:04   ` Grant
2014-01-15 13:40     ` Grant

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).