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

overlay coreos-base/update_engine: fix build issues with gcc 13 #1200

Merged
merged 1 commit into from
Sep 29, 2023

Conversation

dongsupark
Copy link
Member

@dongsupark dongsupark commented Sep 29, 2023

Starting from gcc 13, it is required to explicitly include cstdint, as other standard library header files will not include other headers that were being used internally by the library. So update_engine also has to explicitly include cstdint to avoid build errors.

Pulls in flatcar/update_engine#27.

Testing done

CI: http://jenkins.infra.kinvolk.io:8080/job/container/job/sdk/1087/cldsv/

  • Changelog entries added in the respective changelog/ directory (user-facing change, bug fix, security fix, update)
  • Inspected CI output for image differences: /boot and /usr size, packages, list files for any missing binaries, kernel modules, config files, kernel modules, etc.

Starting from gcc 13, it is required to explicitly include cstdint, as
other standard library header files will not include other headers that
were being used internally by the library. So update_engine also has to
explicitly include cstdint to avoid build errors.

Pulls in flatcar/update_engine#27
@dongsupark dongsupark marked this pull request as ready for review September 29, 2023 14:11
@dongsupark
Copy link
Member Author

SDK and packages of CI passed.

@dongsupark dongsupark requested a review from a team September 29, 2023 14:11
@github-actions
Copy link

github-actions bot commented Sep 29, 2023

@krnowak
Copy link
Member

krnowak commented Sep 29, 2023

I'll merge it to give today's nightly a chance to build.

@krnowak krnowak merged commit f6bb158 into main Sep 29, 2023
1 check failed
@krnowak krnowak deleted the dongsu/update-engine-gcc-13 branch September 29, 2023 18:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants