Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update glibc to 2.38 #3355

Merged
merged 1 commit into from
Aug 31, 2023
Merged

update glibc to 2.38 #3355

merged 1 commit into from
Aug 31, 2023

Conversation

bcressey
Copy link
Contributor

@bcressey bcressey commented Aug 22, 2023

Issue number:
#3170

Description of changes:

Housekeeping changes:

  • Drop post-release patches for glibc 2.37, and add patches for 2.38.
  • Keep the localedef hack working with one more hack.
  • Remove unsupported configure options, and add new ones to disable
    building nscd rather than just excluding it from packaged files.
  • Include libmvec for all architectures, since it's now supported on
    aarch64.

Functional changes:

  • --enable-multi-arch to include microarch-optimized functions in
    the same DSO. This trades off a small amount of disk space and RAM
    to provide optimized versions of some string and memory functions.
    (This feature was disabled by accident in the original packaging.)
  • --enable-fortify-source to build with the maximum supported level
    of _FORTIFY_SOURCE when possible. Currently, this is "2", but
    will be "3" when we update to GCC 12.

Testing done:
Tested AWS and VMware variants, with this change alone and in combination with other recent commits. Nodes all came up healthy and ran containers.

Terms of contribution:

By submitting this pull request, I agree that this contribution is dual-licensed under the terms of both the Apache License, version 2.0, and the MIT license.

Copy link
Contributor

@stmcginnis stmcginnis left a comment

Choose a reason for hiding this comment

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

Did a quick sanity check. Built an aws-k8s-1.27 variant and joined to an EKS cluster. Node joined and reported healthy. All kube-system pods looked good and were in a Running state. Ran sonobuoy quick test which passed.

Nothing stood out as odd or obviously wrong in the updated patches. Looks good to me.

Housekeeping changes:
* Drop post-release patches for glibc 2.37, and add patches for 2.38.

* Keep the `localedef` hack working with one more hack.

* Remove unsupported configure options, and add new ones to disable
  building `nscd` rather than just excluding it from packaged files.

* Include libmvec for all architectures, since it's now supported on
  aarch64.

Functional changes:
* `--enable-multi-arch` to include microarch-optimized functions in
  the same DSO. This trades off a small amount of disk space and RAM
  to provide optimized versions of some string and memory functions.
  (This feature was disabled by accident in the original packaging.)

* `--enable-fortify-source` to build with the maximum supported level
  of `_FORTIFY_SOURCE` when possible. Currently, this is "2", but
  will be "3" when we update to GCC 12.

Signed-off-by: Ben Cressey <[email protected]>
@bcressey
Copy link
Contributor Author

⬆️ force pushes add recent patches (and fix a blunder with the local 9001 patch)

@bcressey bcressey marked this pull request as ready for review August 29, 2023 23:14
@bcressey bcressey merged commit 9a6794a into bottlerocket-os:develop Aug 31, 2023
42 checks passed
@bcressey bcressey deleted the glibc-bump branch August 31, 2023 02:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants