On top of what Åke mentioned (I have no idea how you managed to install
GCC 2.20, that's beyond ancient...), you can always consider using an
older GCC module as a build dependency when building GCCcore, via a hook
for example (see https://docs.easybuild.io/hooks/)
But in this particular case, you should really figure out why you're not
seeing GCC 4.8 as default GCC in CentOS 7...
regards,
Kenneth
On 22/09/2023 07:29, Åke Sandgren wrote:
On a CentOS7.9 system the system GCC should be 4.8.5 and that has no problem
building GCC 11.3.0
GCC 2.2 was used back in the days of CentOS 4 or so
________________________________________
From: [email protected] <[email protected]> on behalf
of Loris Bennett <[email protected]>
Sent: Thursday, September 21, 2023 16:09
To: easybuild
Subject: [easybuild] GCCcore-11.3.0.eb: system gcc too old
Hi,
Up until recently we had a homogenous cluster and built software for a
single microarchitecture. We now have new nodes with different CPUs
need to rebuild a large number of packages.
However, rebuilding GCCcore-11.3.0.eb is failing with the following error:
configure: error: *** A compiler with support for C++11 language features is
required.
The system GCC is 2.20 (it is a CentOS 7.9 machine).
On the same machine it was apparently possible to build
GCCcore-11.3.0.eb in the past. So do I now have to build an older
GCCcore, which EasyBuild can then subsequently use to build 11.3.0, or
how do I get around this issue?
Cheers,
Loris
--
Dr. Loris Bennett (Herr/Mr)
ZEDAT, Freie Universität Berlin