We found an issue in 2021.06 where the Prefix installation first installs GCC 10.x, and later on GCC 11.x. The first is the default, but does not have lto support, while the latter has; this lead to some issues when building the software layer. We can prevent this by adding a step to the playbook that runs gcc-config latest, to make sure that the latest version of GCC is set as the default version; this version should have lto support.
We found an issue in
2021.06
where the Prefix installation first installs GCC 10.x, and later on GCC 11.x. The first is the default, but does not have lto support, while the latter has; this lead to some issues when building the software layer. We can prevent this by adding a step to the playbook that runsgcc-config latest
, to make sure that the latest version of GCC is set as the default version; this version should have lto support.