JDK-8313576 : GCC 7 reports compiler warning in bundled freetype 2.13.0
  • Type: Bug
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: 11.0.21,17.0.9,21,22
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: linux
  • CPU: generic
  • Submitted: 2023-08-02
  • Updated: 2023-09-01
  • Resolved: 2023-08-02
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 JDK 17 JDK 21 JDK 22
11.0.22Fixed 17.0.9Fixed 21.0.1Fixed 22 b10Fixed
Related Reports
Relates :  
Description
The next error is produced:

share/native/libfreetype/src/base/ftobjs.c:25:0:
share/native/libfreetype/src/base/ftobjs.c: In function 'open_face_from_buffer':
share/native/libfreetype/include/freetype/internal/ftobjs.h:511:47: error: 'args.driver' may be used uninitialized in this function [-Werror=maybe-uninitialized]
 #define FT_MODULE_CLASS( x )    FT_MODULE( x )->clazz
                                               ^~
libfreetype/src/base/ftobjs.c:1738:19: note: 'args.driver' was declared here
     FT_Open_Args  args;
Comments
Fix request (11u) Clean backport. Small fix for GCC7 and a broken build. Review 11u-dev: https://github.com/openjdk/jdk11u-dev/pull/2108
31-08-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jdk11u-dev/pull/2108 Date: 2023-08-30 18:08:48 +0000
31-08-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jdk21u/pull/39 Date: 2023-08-03 16:22:13 +0000
03-08-2023

Fix request (21u) Clean backport. Small fix for GCC7 and a broken build. Review 21u: https://github.com/openjdk/jdk21u/pull/39
03-08-2023

Fix request (17u) Clean backport. Small fix for GCC7 and a broken build. Review 17u-dev: https://github.com/openjdk/jdk17u-dev/pull/1635
03-08-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jdk17u-dev/pull/1635 Date: 2023-08-03 05:12:27 +0000
03-08-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jdk21/pull/161 Date: 2023-08-02 23:55:24 +0000
03-08-2023

Changeset: 8248e351 Author: Sergey Bylokhov <serb@openjdk.org> Date: 2023-08-02 23:37:35 +0000 URL: https://git.openjdk.org/jdk/commit/8248e351d0bed263fb68d8468004a4286e6391af
02-08-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/15116 Date: 2023-08-02 02:01:44 +0000
02-08-2023

reported upstream: https://gitlab.freedesktop.org/freetype/freetype/-/issues/1245
02-08-2023