Changes between Version 28 and Version 29 of WebKitGTK/GCCRequirement


Ignore:
Timestamp:
May 28, 2023, 3:57:15 PM (17 months ago)
Author:
Fujii Hironori
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WebKitGTK/GCCRequirement

    v28 v29  
    1 WebKit is a complex C++ library that often requires relatively new versions of GCC to build. Older versions of GCC tend to have bugs that prevent code from compiling successfully, which tend to be fixed in newer versions of GCC, and which are often encountered in practice by WebKit developers. Apple also likes to be able to use new C++ features, which are often not present in older versions of GCC, relatively early.
    2 
    3 We are aware that Linux distributions and embedded systems vendors like to be able to compile everything with the same system build toolchain, which may be very old, so we have compromised with Apple to develop a [[DependenciesPolicy]] that attempts to balance the interests of both WebKit distributors and developers. We intend to support some system compilers in the latest Ubuntu LTS and Debian stable releases until one year after the subsequent release, but, depending on the age of the release, this might be some version of Clang rather than GCC. We no longer provide any timeline as to how long a particular version of GCC may be supported, as this decision will be made by WebKit developers on a case-by-case basis. However, we will always support the version of libstdc++ available in these releases until one year after the subsequent release. Preserving compatibility with older standard library versions is necessary to allow updates on older systems, even if a newer compiler is used to build those updates. In general, you can expect a new standard library version to be supported by WebKit for approximately three to four years, in accordance with the dependencies policy.
    4 
    5 This policy means that WebKit may require a new version of GCC sooner than you might prefer. Because Apple does not use GCC to develop WebKit, and because of the relatively high number of compatibility issues caused by supporting GCC, we should be grateful that it is still possible to build WebKit with GCC at all. Unless you are able to upgrade your systems to newer GCCs on a regular basis, it is expected that your system GCC may not be new enough to build WebKit. We urge you to consider building with a different compiler if your system compiler is too old. Embedded systems vendors may choose to deploy WebKit in a container if updating the host's libstdc++ is undesirable. If you choose to stop building new versions of WebKit as a result of an increased GCC or libstdc++ version requirement, your users will be left vulnerable to numerous security vulnerabilities that are fixed in newer versions.
    6 
    7 = Outlook as of December 2021 =
    8 
    9 Interpreting the [[DependenciesPolicy]] as of December 2021, we conclude that WebKitGTK will support:
    10 
    11 
    12 ||= OS Release =||= Release Date =||= End of Life =||= GCC version =||
    13 || Debian 10 Buster || July 2019 || August 2022 (1y after Debian 11) || GCC 8.3 ||
    14 || Ubuntu 20.04 Focal || April 2020 || April 2023 (1y after Ubuntu 22.04) || GCC 9.3 ||
    15 || Debian 11 Bullseye || August 2021 ||Around August 2024 (1y after Debian 12) || GCC 10.2 ||
    16 || Ubuntu 22.04 || April 2022 || April 2025 (1y after Ubuntu 24.04) || Unknown, still not released ||
    17 
    18 This policy affects the trunk. For the already released versions, these are the minimum supported GCC versions:
    19 
    20 ||= Release =||= Date =||= Required GCC version =||
    21 || 2.36 (trunk) || Unreleased || 8.3 ||
    22 || 2.34 || September 2021 || 7.3 ||
    23 || 2.32 || March 2021 || 7.3 ||
    24 || 2.30 || September 2020 || 7.3 ||
    25 || 2.28 || March 2020 || 7.3 ||
    26 || 2.26 || September 2019 || 7.3 ||
    27 || 2.24 || March 2019 || 6.0 ||
    28 
    29 More info about WebKitGTK stable release in the [[WebKitGTK/StableRelease]] page.
     1[https://docs.webkit.org/Ports/WebKitGTK%20and%20WPE%20WebKit/GCCRequirement.html This page was moved.]