The lib64 subst was copy pasted from the first one, but only
partially modified. And libpthread.so is a real shared library,
or a symlink to one, so it should not be modified.
Fortunately, according to my builds, nothing in libpthread.so was
ever matched, so there was no harm done. And the existing lib64
match already did the trick for that particular case, but fix
it anyway, for consistency.
This does not result in any difference in the binary build, but
it does fix the correctness.
--enable-vtable-verify causes ICEs on ppc64, so disable that,
also add arch specific bits everywhere else
the new patch is a backport from current gcc9/8.x tree, fixing
errors about "__float128 is not supported on this target" when
c++ math library on ppc64 and possibly other platforms (manifests
for example when building the bullet physics library)
we also need a patch for ppc64 musl, otherwise it will fail in
decimal float stuff, that one is taken from alpine linux
also serial-configure is broken for some cross targets, so
disable it
[ci skip]
This adds the build profiles for ppc64 targets as well as
modifications in other parts of the infra.
These targets are supported:
- ppc64le (glibc little endian elfv2)
- ppc64le-musl (musl little endian)
- ppc64-musl (musl big endian)
ELFv1 targets are explicitly not supported at this point.
Big endian musl supports ppc 970 or newer, while little endian
targets are set to a generic powerpc64le which effectively means
POWER8 and newer. Tuning is always set for POWER9, which is the
most likely target hardware. We also make sure AltiVec is always
on, because it is supported on all hardware we target.
[ci skip]