Skip to content

Conversation

baileympearson
Copy link
Contributor

Description

Summary of Changes

Notes for Reviewers

What is the motivation for this change?

Release Highlight

Release notes highlight

Double check the following

  • Lint is passing (npm run check:lint)
  • Self-review completed using the steps outlined here
  • PR title follows the correct format: type(NODE-xxxx)[!]: description
    • Example: feat(NODE-1234)!: rewriting everything in coffeescript
  • Changes are covered by tests
  • New TODOs have a related JIRA ticket


RUN apt-get -qq update
RUN apt-get -qq install -y python3 build-essential curl cmake
RUN yum install -y python39 git make curl cmake gcc-toolset-14
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Durran added support for Node24 while working on #80. Node24 requires C++20. However, the gcc-c++ package I installed in FLE and Kerberos uses g++ 8.5, which does not support c++20 with the --g++20 flag, breaking compilation.

gcc-toolset-14 installs g++14, which supports officially c++20. We'll have to make this change in FLE and kerberos when we add support for Node24 after v7 too.

--build-arg="RUN_TEST=true" \
--output type=local,dest=./prebuilds,platform-split=false \
-f ./.github/docker/Dockerfile.glibc \
-f ./.github/docker/Dockerfile.glibc -t glibc-zstd-base \
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a nice-to-have. Specifying a tag means you can load this locally without rebuilding the image if you need to debug locally:

> docker run -it glibc-zstd-base

'cflags!': [ '-fno-exceptions' ],
'cflags_cc!': [ '-fno-exceptions' ],
'cflags_cc': ['-std=c++17'],
'cflags_cc': [],
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No longer necessary - Node20 uses c++ 17+ too

(question for @addaleax - is there a place where this is officially documented? best I can find is c++ standard specifications in v20.x/common.gypi)

@baileympearson baileympearson marked this pull request as ready for review October 6, 2025 19:25
@baileympearson baileympearson requested a review from a team as a code owner October 6, 2025 19:25
@durran durran self-assigned this Oct 7, 2025
@durran durran added the Primary Review In Review with primary reviewer, not yet ready for team's eyes label Oct 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Primary Review In Review with primary reviewer, not yet ready for team's eyes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants