<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: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.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Aptos",sans-serif;
color:windowtext;}
span.apple-converted-space
{mso-style-name:apple-converted-space;}
.MsoChpDefault
{mso-style-type:export-only;}
@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="#96607D" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:black">Hi Everyone,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black"><o:p> </o:p></span></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).<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:black">I am cross-compiling from x86_64 with Azul Zulu JDK 7 as my boot JDK.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black"><o:p> </o:p></span></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:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:black">checking size of int *... 8<o:p></o:p></span></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).<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black">configure: I'll retry after setting the platforms compiler target bits flag to -m32<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black">checking size of int *... 0<o:p></o:p></span></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)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black"><o:p> </o:p></span></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.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black"><o:p> </o:p></span></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><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:black">Any help with this is appreciated.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:black">Thanks,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black">Kurt Stine<o:p></o:p></span></p>
</div>
</body>
</html>