<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:DengXian;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Aptos;
panose-1:2 11 0 4 2 2 2 2 2 4;}
@font-face
{font-family:"\@DengXian";
panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:12.0pt;
font-family:"Aptos",sans-serif;
mso-ligatures:standardcontextual;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#467886;
text-decoration:underline;}
span.apple-converted-space
{mso-style-name:apple-converted-space;}
span.EmailStyle21
{mso-style-type:personal-reply;
font-family:"Aptos",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;
mso-ligatures:none;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style>
</head>
<body lang="EN-US" link="#467886" vlink="purple" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">Hi Magnus,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">No, I am still unable to cross-compile jdk8u for ppc32. I was able to get the latest community ppc32 build from Azul, but it isn’t the latest/most up-to-date version.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Regards,<o:p></o:p></p>
<p class="MsoNormal">Kurt<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-family:"Calibri",sans-serif;color:black">From:
</span></b><span style="font-family:"Calibri",sans-serif;color:black">Magnus Ihse Bursie <magnus.ihse.bursie@oracle.com><br>
<b>Date: </b>Tuesday, August 6, 2024 at 9:41 AM<br>
<b>To: </b>Kurt Stine <kstine@stanford.edu>, "build-dev@openjdk.org" <build-dev@openjdk.org><br>
<b>Subject: </b>Re: Issue cross-compiling idk 8 for powerpc</span><span style="font-family:"Calibri",sans-serif;color:black;mso-ligatures:none"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p>Hi Kurt,<o:p></o:p></p>
<p>Did you manage to resolve this issue?<o:p></o:p></p>
<p>/Magnus<o:p></o:p></p>
<div>
<p class="MsoNormal">On 2024-07-10 23:52, Kurt Stine wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><span style="color:black">Hi Everyone,</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:black"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:black">I’m running into an issue when trying to cross-compile the latest jdk8u for powerpc (32 bit).</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:black"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:black">I am cross-compiling from x86_64 with Azul Zulu JDK 7 as my boot JDK.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:black"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:black">Whenever I try and run "bash configure --openjdk-target=powerpc-linux --with-jvm-variants=zero", configure results in the following error:</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:black"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:black">checking size of int *... 8</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:black">configure: The tested number of bits in the target (64) differs from the number of bits expected to be found in the target (32).</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:black">configure: I'll retry after setting the platforms compiler target bits flag to -m32</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:black">checking size of int *... 0</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:black">configure: error: The tested number of bits in the target (0) differs from the number of bits expected to be found in the target (32)</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:black"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:black">I am using the brotlin glibc 13.2.0 toolchain specifically:<span class="apple-converted-space"> </span><a href="https://toolchains.bootlin.com/releases_powerpc-440fp.html" title="https://toolchains.bootlin.com/releases_powerpc-440fp.html">https://toolchains.bootlin.com/releases_powerpc-440fp.html</a><span class="apple-converted-space"> </span>but
I've confirmed that the error also occurs with standard GCC as well as when using a ppc sysroot.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:black"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:black">My full configure.log is here:<span class="apple-converted-space"> </span><a href="https://paste.debian.net/1322788/" title="https://paste.debian.net/1322788/">https://paste.debian.net/1322788/</a></span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:black"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:black">Any help with this is appreciated.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:black"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:black">Thanks,</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:black">Kurt Stine</span><o:p></o:p></p>
</blockquote>
</div>
</body>
</html>