GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Upgrade to BoringSSL 6d503ae1 by jlnhws · Pull Request #950 · netty/netty-tcnative

Conversation

@jlnhws

@jlnhws jlnhws commented Nov 24, 2025 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor
  1. Make the fips-boringssl-static profile point to BoringSSL commit 6d503ae1cf8b2e25162435225610b8c1f063d6f4, which is the latest revision that is available for download as a tarball from https://commondatastorage.googleapis.com/chromium-boringssl-fips

  2. Update toolchain to clang-12 (required for compatibility with newer BoringSSL versions)

  3. Remove CMAKE_POSITION_INDEPENDENT_CODE flag (seems redundant as BoringSSL manages PIC internally)

  4. Fix bssl executable path (the bssl utility is now generated directly in the build directory rather than in a tool/ subdirectory)

  5. Link with libdecrepit

  6. Explicitly link with C++ standard library

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@jlnhws
Upgrade to BoringSSL 6d503ae1
b4fe252
1. Make the fips-boringssl-static profile point to BoringSSL
   commit 6d503ae1cf8b2e25162435225610b8c1f063d6f4, which is the
   latest revision that is available for download as a tarball from
   https://commondatastorage.googleapis.com/chromium-boringssl-fips

2. Update toolchain to clang-12
   (required for compatibility with newer BoringSSL versions)

3. Remove CMAKE_POSITION_INDEPENDENT_CODE flag
   (flag seems redundant as BoringSSL manages PIC internally)

4. Fix bssl executable path
   (the bssl utility is now generated directly in the build directory
   rather than in a tool/ subdirectory)

5. Link with libdecrepit

6. Explicitly link with C++ standard library
@normanmaurer normanmaurer added this to the 2.0.75.Final milestone Dec 8, 2025
@normanmaurer
normanmaurer merged commit b94455e into netty:main Dec 8, 2025
@normanmaurer

normanmaurer commented Dec 8, 2025

Copy link
Copy Markdown
Member

@jlnhws thanks!

jlnhws reacted with hooray emoji
All reactions
  • 🎉 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dongjoon-hyun dongjoon-hyun mentioned this pull request Mar 16, 2026
[SPARK-56009][BUILD] Upgrade netty-tcnative to 2.0.75.Final apache/spark#54830
Closed
dongjoon-hyun added a commit to apache/spark that referenced this pull request Mar 17, 2026
@dongjoon-hyun
[SPARK-56009][BUILD] Upgrade netty-tcnative to 2.0.75.Final
51c3e37
### 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]>
@fredericgermain fredericgermain mentioned this pull request Sep 9, 2026
Build the FIPS profile in CI, and make it build again #1009
Open
fredericgermain added a commit to fredericgermain/netty-tcnative that referenced this pull request Sep 9, 2026
@fredericgermain
FIPS profile: build the validated module from git with its validated …
7d4c8b7
…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.
fredericgermain added a commit to fredericgermain/netty-tcnative that referenced this pull request Sep 19, 2026
@fredericgermain
FIPS profile: build the validated module from git with its validated …
5fa6fdb
…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.
fredericgermain added a commit to fredericgermain/netty-tcnative that referenced this pull request Sep 23, 2026
@fredericgermain
FIPS profile: build BoringSSL's newest FIPS branch from git, pinned
10883d9
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.
@normanmaurer normanmaurer mentioned this pull request Oct 30, 2026
jni util 0.0.12 #1039
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

2.0.75.Final

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@jlnhws @normanmaurer
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.