<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof">
++ David Whitlock<br>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Rushal Bhalerao <rushal.bhalerao.c@helpsystems.com><br>
<b>Sent:</b> Monday, March 13, 2023 2:48 PM<br>
<b>To:</b> build-dev@openjdk.org <build-dev@openjdk.org><br>
<b>Subject:</b> Error while building jdk 11.0.18 for solaris sparcv Platform.</font>
<div> </div>
</div>
<style type="text/css" style="display:none">
<!--
p
        {margin-top:0;
        margin-bottom:0}
-->
</style>
<div dir="ltr">
<div class="x_elementToProof" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
Hi Team,</div>
<div class="x_elementToProof" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
<br>
</div>
<div class="x_elementToProof x_ContentPasted2" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
I tried to build jdk 11.0.18 version for solaris sparcv platform and while building with solaris studio 12.6 I am getting below error:</div>
<div class="x_elementToProof" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
<br>
</div>
<div class="x_elementToProof" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
<span><span dir="ltr" class="x_ContentPasted0">=== Output from failing command(s) repeated here ===<br class="x_ContentPasted0">
* For target support_native_java.desktop_libfontmanager_hb-buffer.o:<br class="x_ContentPasted0">
CC: Warning: Option -fsingle passed to ld, if ld is invoked, ignored otherwise<br class="x_ContentPasted0">
>> Assertion:   (../lnk/funcsubst.cc, line 1689)<br class="x_ContentPasted0">
    while processing ./src/java.desktop/share/native/libharfbuzz/hb-buffer.cc at line 635.<br class="x_ContentPasted0">
* For target support_native_java.desktop_libfontmanager_hb-draw.o:<br class="x_ContentPasted0">
CC: Warning: Option -fsingle passed to ld, if ld is invoked, ignored otherwise<br class="x_ContentPasted0">
>> Assertion:   (../lnk/funcsubst.cc, line 1689)<br class="x_ContentPasted0">
    while processing ./src/java.desktop/share/native/libharfbuzz/hb-draw.cc at line 167.<br class="x_ContentPasted0">
* For target support_native_java.desktop_libfontmanager_hb-face.o:<br class="x_ContentPasted0">
CC: Warning: Option -fsingle passed to ld, if ld is invoked, ignored otherwise<br class="x_ContentPasted0">
"./src/java.desktop/share/native/libharfbuzz/hb-ot-cmap-table.hh", line 1657: Warning, oklambdaretmulti: Deducing non-void lambda return type 'bool' from lambda without a single return statement.<br class="x_ContentPasted0">
>> Assertion:   (../lnk/funcsubst.cc, line 1689)<br class="x_ContentPasted0">
    while processing ./src/java.desktop/share/native/libharfbuzz/hb-face.cc at line 97.</span></span></div>
<div class="x_elementToProof" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
<br>
</div>
<div class="x_elementToProof x_ContentPasted1" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
FYI I have also used solaris studio 12.4 as mentioned on your document <a href="https://github.com/openjdk/jdk11u/blob/jdk-11.0.18-ga/doc/building.md#oracle-solaris-studio" id="LPNoLPOWALinkPreview">
https://github.com/openjdk/jdk11u/blob/jdk-11.0.18-ga/doc/building.md#oracle-solaris-studio</a> but for that also getting another error:</div>
<div class="x_elementToProof x_ContentPasted1" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
<br>
</div>
<div class="x_elementToProof x_ContentPasted1" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
<span><span dir="ltr" class="x_ContentPasted3">Compilation aborted.<br class="x_ContentPasted3">
"./src/java.desktop/share/native/libharfbuzz/hb-meta.hh", line 49: Error: Template parameter Head requires a type argument.<br class="x_ContentPasted3">
Error: Cannot continue processing because of prior errors.<br class="x_ContentPasted3">
Compilation aborted.<br class="x_ContentPasted3">
"./src/java.desktop/share/native/libharfbuzz/hb-meta.hh", line 49: Error: Template parameter Head requires a type argument.<br class="x_ContentPasted3">
Error: Cannot continue processing because of prior errors.<br class="x_ContentPasted3">
Compilation aborted.</span></span></div>
<div class="x_elementToProof x_ContentPasted1" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
<br>
</div>
<div class="x_elementToProof x_ContentPasted1" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
Can you guide us to know the cause and solution of this errors.</div>
<div class="x_elementToProof x_ContentPasted1" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
<br>
</div>
<div class="x_elementToProof x_ContentPasted1" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
Thanks,</div>
<div class="x_elementToProof x_ContentPasted1" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
Rushal<br>
</div>
<div class="x__Entity x__EType_OWALinkPreview x__EId_OWALinkPreview x__EReadonly_1">
</div>
<br>
</div>
</body>
</html>