This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: building icedtea-7 on ARM


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]