GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |
GeezerVison is showing github.com — Upgrade to BoringSSL 6d503ae1 by jlnhws · Pull Request #950 · netty/netty-tcnative Conversation
|
|
@jlnhws thanks! |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
### What changes were proposed in this pull request? This PR aims to upgrade `netty-tcnative` to 2.0.75.Final. ### Why are the changes needed? To bring the latest bug fixes. - netty/netty-tcnative@netty-tcnative-parent-2.0.74.Final...netty-tcnative-parent-2.0.75.Final - netty/netty-tcnative#948 - netty/netty-tcnative#949 - netty/netty-tcnative#950 ### Does this PR introduce _any_ user-facing change? No behavior change. ### How was this patch tested? Pass the CIs. ### Was this patch authored or co-authored using generative AI tooling? No. Closes #54830 from dongjoon-hyun/SPARK-56009. Authored-by: Dongjoon Hyun <[email protected]> Signed-off-by: Dongjoon Hyun <[email protected]>
…toolchain Motivation: Four things kept the fips-boringssl-static profile from building on a fresh machine or on aarch64, and its pin was not a validated module: - The FIPS source tarball bucket (commondatastorage.googleapis.com/ chromium-boringssl-fips) is no longer public: 403 on every object. Downstream builds only kept working off download-maven-plugin's cache. - netty#950 dropped CMAKE_POSITION_INDEPENDENT_CODE. BoringSSL only sets it for the bcm targets, so on aarch64 the link fails: "libcrypto.a(crypto.cc.o): relocation R_AARCH64_ADR_PREL_PG_HI21 ... recompile with -fPIC". - A bare `ninja` builds all 564 BoringSSL targets; the tests are most of the wall-clock time and none of it is used. - The pin was the head of fips-20251031, whose module is still in the CMVP queue, and clang-12 was hardcoded as "the validated toolchain". The newest module with a certificate is 20240805 (FIPS 140-3 #5244, validated 2026-04-18); its security policy names clang 17.0.6, go 1.22.3, ninja 1.12.1 and cmake 3.29.3. Modifications: - maven-scm checkout of the same repository the default profile uses, then `git checkout <sha>`. Same directory layout as before, so nothing else in the profile changes. - Pin 1a089be6, the head of fips-20240805, the tree #5244's policy names. Any newer fips-YYYYMMDD head builds with -DboringsslBranch=<sha>. - -DCMAKE_POSITION_INDEPENDENT_CODE=TRUE, as the default profile passes. - ninja builds crypto, ssl, decrepit and bssl only. - fipsCC / fipsCXX properties, default clang-17 / clang++-17, overridable with -D. - sslcredential.c: the three SSL_CREDENTIAL setters newer than API version 32 (must_match_issuer: 33; certificate_properties, trust_anchor_id: 36) are gated on BORINGSSL_API_VERSION and throw UnsupportedOperationException on the certified module, as the whole API does on non-BoringSSL builds. Result: The profile builds the certified module on a machine that has never seen the tarball, links on aarch64, and its BoringSSL step takes minutes.
…toolchain Motivation: Four things kept the fips-boringssl-static profile from building on a fresh machine or on aarch64, and its pin was not a validated module: - The FIPS source tarball bucket (commondatastorage.googleapis.com/ chromium-boringssl-fips) is no longer public: 403 on every object. Downstream builds only kept working off download-maven-plugin's cache. - netty#950 dropped CMAKE_POSITION_INDEPENDENT_CODE. BoringSSL only sets it for the bcm targets, so on aarch64 the link fails: "libcrypto.a(crypto.cc.o): relocation R_AARCH64_ADR_PREL_PG_HI21 ... recompile with -fPIC". - A bare `ninja` builds all 564 BoringSSL targets; the tests are most of the wall-clock time and none of it is used. - The pin was the head of fips-20251031, whose module is still in the CMVP queue, and clang-12 was hardcoded as "the validated toolchain". The newest module with a certificate is 20240805 (FIPS 140-3 #5244, validated 2026-04-18); its security policy names clang 17.0.6, go 1.22.3, ninja 1.12.1 and cmake 3.29.3. Modifications: - maven-scm checkout of the same repository the default profile uses, then `git checkout <sha>`. Same directory layout as before, so nothing else in the profile changes. - Pin 1a089be6, the head of fips-20240805, the tree #5244's policy names. Any newer fips-YYYYMMDD head builds with -DboringsslBranch=<sha>. - -DCMAKE_POSITION_INDEPENDENT_CODE=TRUE, as the default profile passes. - ninja builds crypto, ssl, decrepit and bssl only. - fipsCC / fipsCXX properties, default clang-17 / clang++-17, overridable with -D. - sslcredential.c: the three SSL_CREDENTIAL setters newer than API version 32 (must_match_issuer: 33; certificate_properties, trust_anchor_id: 36) are gated on BORINGSSL_API_VERSION and throw UnsupportedOperationException on the certified module, as the whole API does on non-BoringSSL builds. Result: The profile builds the certified module on a machine that has never seen the tarball, links on aarch64, and its BoringSSL step takes minutes.
Motivation: The fips-boringssl-static profile no longer builds from a clean checkout: - Its source tarball on commondatastorage.googleapis.com/chromium-boringssl-fips is no longer public (403). Downstream builds only work off download-maven-plugin's cache. - netty#950 dropped CMAKE_POSITION_INDEPENDENT_CODE. BoringSSL only sets it for the bcm targets, so the aarch64 link fails: "relocation R_AARCH64_ADR_PREL_PG_HI21 ... recompile with -fPIC". It also runs a bare `ninja`, which builds all 564 BoringSSL targets, mostly tests nobody runs, and it hardcodes clang-12. Modifications: - Clone BoringSSL with maven-scm and check out a pinned sha, as the default profile does. The pin is the head of fips-20260721, Google's newest FIPS branch (see FIPS.md). The sha goes into the jar manifest. - -DCMAKE_POSITION_INDEPENDENT_CODE=TRUE, as the default profile passes. - ninja builds crypto, ssl, decrepit and bssl only. - fipsCC / fipsCXX properties, default `clang` / `clang++`. Result: The profile builds from a clean checkout, in minutes. The module it contains holds no certificate yet.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.