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

[Ubuntu 22.04] Install gcc-12 in the driver container build phase #20

Merged
merged 1 commit into from
Apr 3, 2024

Conversation

tariq1890
Copy link
Contributor

gcc-12 is needed for the more recent kernel versions - 5.19.x and 6.5.x. We have also found that gcc-12 is backwards compatible with kernels that have been compiled against gcc-11

This change is limited to Ubuntu 22.04 as gcc-12 is not available as a package in Ubuntu 20.04

@tariq1890
Copy link
Contributor Author

The following kernel versions have been tested

Linux version 5.15.0-101-generic (buildd@lcy02-amd64-032) (gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #111-Ubuntu SMP Tue Mar 5 20:16:58 UTC 2024

Linux version 6.2.0-1019-gcp (buildd@lcy02-amd64-032) (x86_64-linux-gnu-gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #21~22.04.1-Ubuntu SMP Thu Nov 16 18:18:34 UTC 2023

Linux version 6.5.0-1014-aws (buildd@lcy02-amd64-032) (x86_64-linux-gnu-gcc-11 (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #14~22.04.1-Ubuntu SMP Thu Feb 15 15:27:06 UTC 2024

Linux version 5.15.0-1041-azure (buildd@lcy02-amd64-062) (gcc (Ubuntu 11.3.0-1ubuntu1~22.04.1) 11.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #48-Ubuntu SMP Tue Jun 20 20:34:08 UTC 2023

Copy link
Contributor

@cdesiniotis cdesiniotis left a comment

Choose a reason for hiding this comment

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

lgtm besides one comment

ubuntu22.04/Dockerfile Show resolved Hide resolved
@tariq1890 tariq1890 merged commit dd69782 into main Apr 3, 2024
7 checks passed
@tariq1890 tariq1890 deleted the gcc-12 branch April 3, 2024 22:49
mikemckiernan added a commit to NVIDIA/cloud-native-docs that referenced this pull request Apr 30, 2024
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.

3 participants