JDK-8282588 : [11] set harfbuzz compilation flag to -std=c++11
  • Type: Bug
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: 11.0.3
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2022-03-03
  • Updated: 2022-05-04
  • Resolved: 2022-03-07
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 11
11.0.16 b01Fixed
Related Reports
Relates :  
Relates :  
Relates :  
As a preparation to update harfbuzz in jdk11u-dev to the versions used in higher JDK (harfbuzz 2.7.2 / 2.8.0) increment the C++ version
for harfbuzz to C++11.
Some time later, the harfbuzz changes are backported.
This gives everybody time to make sure the compilers work with the C++11 flag, or system harfbuzz is used as a workaround.
Discussion and more details about the issue :


Changeset: 86d39a69 Author: Matthias Baesken <mbaesken@openjdk.org> Date: 2022-03-07 11:41:31 +0000 URL: https://git.openjdk.java.net/jdk11u/commit/86d39a69598a4ee559109b46a5b8fa91ae2e2723

Old discussion: http://mail.openjdk.java.net/pipermail/jdk-updates-dev/2021-January/004592.html Some platforms might need other backports to support C++11. AIX: [JDK-8218965] aix: support xlclang++ in the compiler detection [JDK-8283323] libharfbuzz optimization level results in extreme build times (replaces [JDK-8258484] AIX build fails in Harfbuzz with XLC 16.01.0000.0006) [JDK-8218136] minor hotspot adjustments for xlclang++ from xlc16 on AIX [JDK-8227171] provide function names in native stack trace on aix with xlc16 Alternative for those platforms: Use configure flag --with-harfbuzz=system. Disadvantage: All machines require new enough version of libharfbuzz installed.

Changeset: 86d39a69 Author: Matthias Baesken <mbaesken@openjdk.org> Date: 2022-03-07 11:41:31 +0000 URL: https://git.openjdk.java.net/jdk11u-dev/commit/86d39a69598a4ee559109b46a5b8fa91ae2e2723

some compilers supporting the -std=c++11 flag : Linux : gcc 8.2 (gcc 7 should work too) Windows : VS2017 macOS : clang / Xcode 13

A pull request was submitted for review. URL: https://git.openjdk.java.net/jdk11u-dev/pull/853 Date: 2022-03-04 08:40:59 +0000