"Potential Future Impact of Using gcc-toolset-11 on Oracle Linux 8 Server

Daniel-TI-LINUX

New Member
Joined
Aug 25, 2024
Messages
10
Reaction score
2
Credits
104
Good morning everyone, I have an Oracle Linux 8 where the kernel was compiled with GCC 11.4, but the version installed is 8.5. This was causing conflicts in some services, such as DKMS, during module compilation. To resolve this, I used gcc-toolset-11 as the default GCC by adding the binary path to the PATH variable. Will this cause any issues for my server in the future?

Note: The gcc-toolset-11 is the same version with which my kernel was compiled. My concern is that this might cause issues for the system in the future.
 


Generally, newer compilers and libraries are backwards compatible (although expect deprecation warnings as code ages). As long as the toolchain components are in sync, and the libraries are >= the expected versions, you'll be fine. You can always use -std for any major issues when compiling.
 

Staff online

Members online


Top