SERVER-136923ClosedDone

Use target architecture in cross-compiled server buildInfo

h2. Problem s390x release binaries built on ARM64 embed the execution host architecture in buildInfo: distarch and target_arch are "aarch64". This causes jstests/sharding/query/pipeline_length_limit.js to expect 1000 stages while the correctly compiled s390x server returns 700. Confirmed on v8.3-staging at 2a59d93a96806679bb14301d968498441771a294 and v9.0-staging at 78e4e61309ddf75f9596bfcca5bf969e67d812f2; tracked by [BF-46763|https://jira.mongodb.org/browse/BF-46763]. The affected cross-compi

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix
8.3.169.0.78.0.37
Components
Server components related to this issue

No components specified.

Labels
Tags and classification

No labels assigned.