Switching to the PPA ppa:ubuntu-toolchain-r/ppa fixes this for Bionic, since there is no gcc-10 there and this issue does not occur. That repo does however not contain GCC-9 for Xenial, and most of Travis-CI jobs still run on Xenial (their default distro at the moment), so recommending everybody to switch to the ppa:ubuntu-toolchain-r/ppa is not a full solution.
I think this bug report should however be kept open as a note for gcc-10 packagers, who might want to study this conflict on s390x.
Switching to the PPA ppa:ubuntu- toolchain- r/ppa fixes this for Bionic, since there is no gcc-10 there and this issue does not occur. That repo does however not contain GCC-9 for Xenial, and most of Travis-CI jobs still run on Xenial (their default distro at the moment), so recommending everybody to switch to the ppa:ubuntu- toolchain- r/ppa is not a full solution.
I think this bug report should however be kept open as a note for gcc-10 packagers, who might want to study this conflict on s390x.