[Chapel Merge] Bump host gcc version for HPE Cray EX system modul

Branch: refs/heads/master
Revision: 4294665
Author: gbtitus
Log Message:

Merge pull request #17031 from gbtitus/dup-e1f0860

Bump host gcc version for HPE Cray EX system module to 10.2.0.

(Duplicate PR #16833 from 1.23-for-EX to master.)

(Original PR reviewed by @mppf.)

When we build our bundled LLVM, we use the host gcc compiler version to
configure where the clang included therein tries to find gcc-related
libraries to link with eventual user programs. We’ve been using gcc
10.1.0 as our host compiler for the EX module builds. Unfortunately,
gcc 10.1.0 isn’t installed on the EX systems. The earliest gcc on them
is 10.2.0. As a result, Chapel --llvm compiles get a link-time error
because they can’t find certain gcc-related files, notably crtbegin.o
and crtend.o. This dependence between target and host configurations
seems like a problem, but it’s not clear what it will take to fix it.
So here, work around the issue for now by bumping the host gcc version
to 10.2.0, which does exist on the target. (Note that this version bump
would have been needed if we started building the EX module natively on
EX systems anyway, because again, 10.2.0 is the earliest gcc there.)

Modified Files:
M util/build_configs/cray-internal/setenv-hpe-cray-ex-x86_64.bash

Compare: Comparing 9a80b8b9b35b...429466504e05 · chapel-lang/chapel · GitHub