Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 510914 - dev-java/icedtea-bin - add PPC support/keywords
Summary: dev-java/icedtea-bin - add PPC support/keywords
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Keywording and Stabilization (show other bugs)
Hardware: PPC Linux
: Normal enhancement (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords: KEYWORDREQ
Depends on:
Blocks:
 
Reported: 2014-05-21 10:35 UTC by Joakim Tjernlund
Modified: 2016-01-16 14:55 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joakim Tjernlund 2014-05-21 10:35:53 UTC
It is my understanding that openjdk7 now supports hotspot for ppc(please
correct me if I am wrong).

We(Transmode) would like to use icedtea for ppc but building icedtea ourself
for ppc proves difficult.
Please consider adding ~ppc keyword to icedtea-bin

Reproducible: Always
Comment 1 Agostino Sarubbo gentoo-dev 2014-05-21 14:06:29 UTC
What are the problems building icedtea from sources? do you have a compile failure?
Comment 2 Joakim Tjernlund 2014-05-21 14:34:24 UTC
1) You need a working JDK to build a new one. Gjc seems fuction halfways but
   wont build ant-core which is also needed to build icedtea.

2) The build deps for icedtea are massive(insane IMHO). You X11Libs, rhino
   etc. This is alot for our embedded target to handle. I have no idea where
   this list will end, I haven't made my way through configure yet.
Comment 3 Joakim Tjernlund 2014-05-21 15:38:54 UTC
I note that current dev-java/icedtea forces cacao or zero. This should not
be needed anymore, please try to build icedtea-bin without these.
Comment 4 Joakim Tjernlund 2014-05-22 21:23:38 UTC
With minimal USE flags and building on my target: 
  build dev-java/gcj-jdk and gcc with gcj USE flag
  quickpkg dev-java/ant-core on amd64 host and install it on ppc
  build dev-java/icedtea:6
  java-config -S dev-java/icedtea:6
  build dev-java/icedtea:7
  java-config -S dev-java/icedtea:7
I managed to get a icedtea:7 on my ppc target.
Very painful, took many hours to complete so pretty please,
can we get a dev-java/icedtea-bin for ppc(andd ppc64)?

Next step will be hotspot for ppc but that needs a new icedtea:7 release
Comment 5 Joakim Tjernlund 2015-03-03 20:35:20 UTC
ping?

I should point out that ppc in openjdk means ppc64, it had me confused for a while
Comment 6 James Le Cuirot gentoo-dev 2015-03-03 20:53:35 UTC
Caster prepared the icedtea-bin builds previously. He's currently devaway and half way out the Java team door as it is. Someone else should probably pick this up. With my battle with Maven about to start, I'm trying not to take on too much else. Having adequate PPC hardware to build it on is also an issue. Then again, using QEMU probably wouldn't be much slower.
Comment 7 James Le Cuirot gentoo-dev 2015-05-24 12:55:06 UTC
I have now added icedtea-bin builds for ppc but not ppc64. I was more enthusiastic about ppc64 but the icedtea-7 build currently segfaults on me. I have filed a bug report upstream.
Comment 8 James Le Cuirot gentoo-dev 2016-01-16 14:55:12 UTC
There is now an icedtea-bin for ppc64 though it is still CACAO-based for now. I'll be looking into icedtea 3 shortly. Java on ppc has been dropped entirely. Closing now.