Compile JRE for PPC 32 bit

Radu Andritoiu raduandritoiu at gmail.com
Tue Feb 13 16:39:16 UTC 2018


Hello,

I am trying to to build a HEADLESS jre only.

I observed that:
 - in the jdk solaris sources related to drawing the "HEADLESS" define is
used a lot
 - when building "libawt.so" the flag -DHEADLESS has no mechanism to being
set, so I presume that libawt.so will always be HEADFUL
 - when building "libawt_headless.so" and linking "libjawt.so",
BUILD_HEADLESS_ONLY variable is used, but I do not see any mechanism to set
it

I am adding the parameter "--disable-headful" when running the "configure"
script.
And this does set:

SUPPORT_HEADFUL:=no
SUPPORT_HEADLESS:=yes
BUILD_HEADLESS:=true

but does nothing to set  BUILD_HEADLESS_ONLY.

Should I manually add BUILD_HEADLESS_ONLY variable in Awt2dLibraries.gmk
and  -DHEADLESS when compiling "libawt.so" ?


Thank you,
Radu


On Thu, Feb 1, 2018 at 3:34 PM, Radu Andritoiu <raduandritoiu at gmail.com>
wrote:

> Hello Adrian,
>
> Should jdk8u compile natively  on x86 with "zero" jvm variant?
> I was trying to do that to see if the output may help me run the cross
> compile.
>
> Thank you,
> Radu
>
>
> On Mon, Jan 29, 2018 at 11:36 AM, Radu Andritoiu <raduandritoiu at gmail.com>
> wrote:
>
>> Hello Anton,
>>
>> Glad to hear you have a PPC 32 port of jdk8. Does it have the fix for
>> RMI vulnerability (https://access.redhat.com/security/cve/cve-2017-3241
>> ).
>> I will tell this to my manager and ask what direction he wants to go.
>>
>> Thank you,
>> Radu
>>
>>
>> On Fri, Jan 26, 2018 at 6:44 PM, Anton Kozlov <akozlov at azul.com> wrote:
>>
>>> Hi, All,
>>>
>>> sorry, completely overlooked the thread.
>>>
>>> On 25.01.2018 19:11, Volker Simonis wrote:
>>> > Azul is known to have a 32bit ppc port, but they havn't contributed it
>>> > to the OpenJDK yet.
>>>
>>> yes, Azul have ppc32 port of jdk8u, in SPE and FPU variants.
>>>
>>> Yes, we want to contribte the support to OpenJDK, but it complicated.
>>> To reveal source code we need to make up-port to current jdk development
>>> tree (11?) first, and it's heavy.
>>>
>>> We have no reasonable estimates when the up-port will be ready. This is
>>> also pulls us back from creating new Project, as it will be out of sync
>>> with development branch of OpenJDK.
>>>
>>> Thanks,
>>> Anton
>>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/ppc-aix-port-dev/attachments/20180213/b36b227b/attachment.html>


More information about the ppc-aix-port-dev mailing list