++ David Whitlock
________________________________
From: Rushal Bhalerao <rushal.bhalera...@helpsystems.com>
Sent: Monday, March 13, 2023 2:48 PM
To: build-dev@openjdk.org <build-dev@openjdk.org>
Subject: Error while building jdk 11.0.18 for solaris sparcv Platform.

Hi Team,

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:

=== Output from failing command(s) repeated here ===
* For target support_native_java.desktop_libfontmanager_hb-buffer.o:
CC: Warning: Option -fsingle passed to ld, if ld is invoked, ignored otherwise
>> Assertion:   (../lnk/funcsubst.cc, line 1689)
    while processing ./src/java.desktop/share/native/libharfbuzz/hb-buffer.cc 
at line 635.
* For target support_native_java.desktop_libfontmanager_hb-draw.o:
CC: Warning: Option -fsingle passed to ld, if ld is invoked, ignored otherwise
>> Assertion:   (../lnk/funcsubst.cc, line 1689)
    while processing ./src/java.desktop/share/native/libharfbuzz/hb-draw.cc at 
line 167.
* For target support_native_java.desktop_libfontmanager_hb-face.o:
CC: Warning: Option -fsingle passed to ld, if ld is invoked, ignored otherwise
"./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.
>> Assertion:   (../lnk/funcsubst.cc, line 1689)
    while processing ./src/java.desktop/share/native/libharfbuzz/hb-face.cc at 
line 97.

FYI I have also used solaris studio 12.4 as mentioned on your document 
https://github.com/openjdk/jdk11u/blob/jdk-11.0.18-ga/doc/building.md#oracle-solaris-studio
 but for that also getting another error:

Compilation aborted.
"./src/java.desktop/share/native/libharfbuzz/hb-meta.hh", line 49: Error: 
Template parameter Head requires a type argument.
Error: Cannot continue processing because of prior errors.
Compilation aborted.
"./src/java.desktop/share/native/libharfbuzz/hb-meta.hh", line 49: Error: 
Template parameter Head requires a type argument.
Error: Cannot continue processing because of prior errors.
Compilation aborted.

Can you guide us to know the cause and solution of this errors.

Thanks,
Rushal

Reply via email to